org.mitre.sim.api3.exec
Class State

java.lang.Object
  extended byorg.mitre.sim.api3.exec.State

public class State
extends java.lang.Object

Enumeration used to charaterize the state of all entities. Entities are represented as finte state machines. The entity state transition diagram is here.


Copyright © 2003-2004 The MITRE Corporation


Field Summary
static State active
          State of the entity whose agenda() is currently being run by the simulation executive.
static State complete
          The agenda() invocation has returned and the entity has no more proactive or reactive behaviour.
static State dormant
          An entity has been created but the agenda() method invocation has not occured.
static State ready
          State of an entity that is ready to run but has yet to be selected by the simulation executive.
static State waitingForEvent
          The entity agenda() is waiting for a trigger to occur or the invocation of an action method.
static State waitingForTime
          The entity agenda() is waiting for time to pass.
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

active

public static State active
State of the entity whose agenda() is currently being run by the simulation executive. Only one entity is in this state at a given time.


ready

public static State ready
State of an entity that is ready to run but has yet to be selected by the simulation executive. At a given time zero or more entities can be in this state.


waitingForTime

public static State waitingForTime
The entity agenda() is waiting for time to pass. At a given time zero or more entities can be in this state.


waitingForEvent

public static State waitingForEvent
The entity agenda() is waiting for a trigger to occur or the invocation of an action method. At a given time zero or more entities can be in this state.


dormant

public static State dormant
An entity has been created but the agenda() method invocation has not occured.


complete

public static State complete
The agenda() invocation has returned and the entity has no more proactive or reactive behaviour.

Method Detail

toString

public java.lang.String toString()