Class Controller


public class Controller
extends java.lang.Object

This class sets up the simulation from the properties file and then runs it based on the configuration classes. The main method of this class executes the steps of the simulation. The main method of this class is defined as the executable in the manifest file. The main steps to running a simulation are as follows:

  1. Write the source for a sub-class of PhysicalObject i.e. develop a class that sub-classes CartesianObject if you are working in the Cartesian coordinate system.
  2. Write the source classes that implement the PhysicalConfiguration, PhysicalAlgorithm, PhysicalMeasurement interfaces.
  3. Setup the correct classpath to include the feynman.jar and the jakarta-regexp-xxx.jar files.
  4. Compile the source files you created in steps 1 and 2.
  5. Place the generated class files in the same directory as the feynman.jar file or in a lib or classes sub-directory of the directory containing this file.
  6. Run the simulation from the command prompt using the usage below.

Usage: java -jar feynman.jar [propfile]

For a more detailed description see the documentation included with the sample application.

$Revision: $ $Date: 2002/11/12 02:25:41 $
Wes Bailey

Constructor Summary
Method Summary
static void main(java.lang.String[] args)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public Controller()
Method Detail


public static void main(java.lang.String[] args)
                 throws ControllerException