public class TransitionTable
extends java.lang.Object
implements java.lang.Cloneable
Constructor and Description |
---|
TransitionTable(java.lang.String filename,
java.lang.String actions_file,
boolean useMatrixThinkTime,
boolean identifyByOrigin)
Create a transition table with specifics files and give information about
how to handle think time.
|
Modifier and Type | Method and Description |
---|---|
TransitionTable |
createNewTransitionTable()
Create a new transition table, which have the same table than it table
|
java.lang.String |
getCurrentStateName()
Return the name of the current state
|
long |
getCurrentWaitingTime()
Return the time to wait for the current state
|
Transition |
getNextTransition() |
void |
resetPreviousState()
This method is used to reset all the previous states
|
public TransitionTable(java.lang.String filename, java.lang.String actions_file, boolean useMatrixThinkTime, boolean identifyByOrigin)
filename
- The transition file to load data from.actions_file
- The file containing the actions.useMatrixThinkTime
- true means that think time in the matrix are used.identifyByOrigin
- true means that the actions depends on the previous state.public TransitionTable createNewTransitionTable()
public void resetPreviousState()
public java.lang.String getCurrentStateName()
public long getCurrentWaitingTime()
public Transition getNextTransition()