|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfaa.tg.scenario.importer.routeparser.fsmparser.Simulate
public final class Simulate
Simulation for a finite state machine, given a particular input.
| Field Summary | |
|---|---|
(package private) FsmReport |
fsmReport
Deprecated. |
(package private) RouteToken |
lastRouteToken
Deprecated. |
(package private) Logical |
m
Deprecated. |
(package private) RouteToken |
routeToken
Deprecated. |
| Constructor Summary | |
|---|---|
Simulate()
Deprecated. Prepare for simulation by setting mesage label. |
|
| Method Summary | |
|---|---|
FsmReport |
getFsmReport()
Deprecated. |
void |
msg(java.lang.String txt)
Deprecated. |
void |
run()
Deprecated. |
void |
runSim(java.lang.String inp,
Logical mc)
Deprecated. Start the simulation thread. |
boolean |
validMachine(Logical m)
Deprecated. Validates a given machine, by checking for absent starting state. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
Logical m
RouteToken routeToken
RouteToken lastRouteToken
FsmReport fsmReport
| Constructor Detail |
|---|
public Simulate()
msg - a label component for messages| Method Detail |
|---|
public void msg(java.lang.String txt)
public boolean validMachine(Logical m)
m - the machine of interest
public void runSim(java.lang.String inp,
Logical mc)
inp - the input stringgr - the graphics context, for drawing operationsmw - the mainwidgetsc - the world classmc - the machine to be simulatedsb - a button for aborting the simulationspeedbutt - a choice component for changing the simulation speedpublic void run()
public FsmReport getFsmReport()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||