Class State
java.lang.Object
|
+--State
- public class State
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
State
public State()
State
public State(State s)
getDomain
public static java.util.Vector getDomain(int i)
printProcess
public java.lang.String[] printProcess(java.lang.String processIndex)
toString
public java.lang.String toString()
- Overrides:
- toString in class java.lang.Object
getValue
public int getValue(int i)
setValue
public void setValue(int i,
int v)
getStateno
public int getStateno()
setStateno
public void setStateno(int n)
addOutProgramTransition
public void addOutProgramTransition(ProgramTransition pt)
addInProgramTransition
public void addInProgramTransition(ProgramTransition pt)
addOutFaultTransition
public void addOutFaultTransition(FaultTransition ft)
addInFaultTransition
public void addInFaultTransition(FaultTransition ft)
removeOutProgramTransition
public void removeOutProgramTransition(ProgramTransition pt)
removeInProgramTransition
public void removeInProgramTransition(ProgramTransition pt)
resetInProgramTransitions
public void resetInProgramTransitions()
resetInFaultTransitions
public void resetInFaultTransitions()
markInvariant
public void markInvariant()
isInvariant
public boolean isInvariant()
is_ms
public boolean is_ms()
set_ms
public void set_ms()
getInFaultTransitions
public java.util.LinkedList getInFaultTransitions()
getOutFaultTransitions
public java.util.LinkedList getOutFaultTransitions()
getInProgramTransitions
public java.util.LinkedList getInProgramTransitions()
getOutProgramTransitions
public java.util.LinkedList getOutProgramTransitions()
hasOutProgramTransition
public boolean hasOutProgramTransition(ProgramTransition pt)
isDeadlocked
public boolean isDeadlocked()
getEquivalentStates
public java.util.LinkedList getEquivalentStates(java.util.Vector varnos)
equals
public boolean equals(State s)
print
public void print(java.lang.String processIndex,
java.lang.String actionName,
java.util.Vector vList)