Basic Demos
The demos provide simple examples of how to develop applications using Cougaar. They illustrate different aspects of the Cougaar infrastructure and how applications can use them.
There are some slide presentations that include discussions of the demos. The Cougaar Overview from 2007 discusses the “Hello, World” and “Ping” demos. A Training Course
for an older (11.4) version of Cougaar is the most thorough Cougaar training material and includes an in-depth discussion of the tutorial demo.
As of release 12.7, there are two ways to run each of the demos (see Running Cougaar for more details on the two different modes of execution):
- inside of Eclipse using one or more Eclipse launchers
- from a command line or equivalent (shortcut, etc.)
While there is documentation of how to run some of the demos on this site, this is not guaranteed to be up-to-date. Each demo includes a docs folder that has instructions on how to run it.
As of release 12.7, the supported demos are:
- A set of “Hello, World!” applications: Starting with the most simple that just logs “Hello world”, there are a variety of others that add one new aspect of Cougaar to illustrate. (See HelloWorldDemo)
- A two-agent “Ping” application using Cougaar Blackboard Relays (See PingDemo)
- A multi-agent “Mesh” benchmark application that illustrates performance and scalability (See MeshDemo)
- A Community Ping demo, able to run in either a single-node or two-node configuration, illustrates how to define communities. In the two-node configuration, it can also demonstrate agent mobility. (See CommunityDemo)
- Three Mandelbrot demos show the graphical and interactive nature of servlets (See MandelbrotDemo)
Currently unsupported demos include:
- The “Pizza Party” application demonstrates some of the more advanced Task/Allocation and service provider discovery capabilities of the Cougaar planning domain. See the PizzaApplication for notes on running and using the Pizza application. Pizza was developed under Cougaar 11.4, was tested with Cougaar 12.4 and 12.6, but was moved to the examples repository in Cougaar 12.7 since it depends upon features no longer supported in Cougaar 12.7.
- A sequence of tutorial exercises illustrates various aspects of Cougaar including the task/allocation paradigm of the planning module.
