faa.tg.scenario.importer.routeparser.fsmparser
Class Simulate

java.lang.Object
  extended by faa.tg.scenario.importer.routeparser.fsmparser.Simulate

Deprecated. folded into Parser

public final class Simulate
extends java.lang.Object

Simulation for a finite state machine, given a particular input.

Version:
9 Feb 1996
Author:
Matt Chapman

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

m

Logical m
Deprecated. 

routeToken

RouteToken routeToken
Deprecated. 

lastRouteToken

RouteToken lastRouteToken
Deprecated. 

fsmReport

FsmReport fsmReport
Deprecated. 
Constructor Detail

Simulate

public Simulate()
Deprecated. 
Prepare for simulation by setting mesage label.

Parameters:
msg - a label component for messages
Method Detail

msg

public void msg(java.lang.String txt)
Deprecated. 

validMachine

public boolean validMachine(Logical m)
Deprecated. 
Validates a given machine, by checking for absent starting state.

Parameters:
m - the machine of interest
Returns:
true if valid, else false

runSim

public void runSim(java.lang.String inp,
                   Logical mc)
Deprecated. 
Start the simulation thread.

Parameters:
inp - the input string
gr - the graphics context, for drawing operations
mw - the mainwidget
sc - the world class
mc - the machine to be simulated
sb - a button for aborting the simulation
speedbutt - a choice component for changing the simulation speed

run

public void run()
Deprecated. 

getFsmReport

public FsmReport getFsmReport()
Deprecated.