feynman.framework.controller
Class Controller
java.lang.Object
|
+--feynman.framework.controller.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:
- 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.
- Write the source classes that implement the PhysicalConfiguration,
PhysicalAlgorithm, PhysicalMeasurement interfaces.
- Setup the correct classpath to include the feynman.jar and the
jakarta-regexp-xxx.jar files.
- Compile the source files you created in steps 1 and 2.
- 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.
- 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.
- Version:
- $Revision: 1.1.1.1 $ $Date: 2002/11/12 02:25:41 $
- Author:
- Wes Bailey
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 |
Controller
public Controller()
main
public static void main(java.lang.String[] args)
throws ControllerException