Class AbstractState
java.lang.Object
|
+--AbstractState
- public abstract class AbstractState
- extends java.lang.Object
This class models the reachability graph of a program. The reachability graph is a
directed graph that contains all the states of the fault-span of a program.
This class is the root of the abstract class hierarchy in the Bridge design pattern.
- Since:
-
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
AbstractState
public AbstractState()
printProcess
public abstract java.lang.String[] printProcess(java.lang.String processIndex)
toString
public abstract java.lang.String toString()
- Overrides:
- toString in class java.lang.Object
addOutProgramTransition
public abstract void addOutProgramTransition(ProgramTransition pt)
addInProgramTransition
public abstract void addInProgramTransition(ProgramTransition pt)
addOutFaultTransition
public abstract void addOutFaultTransition(FaultTransition ft)
addInFaultTransition
public abstract void addInFaultTransition(FaultTransition ft)
removeOutProgramTransition
public abstract void removeOutProgramTransition(ProgramTransition pt)
removeInProgramTransition
public abstract void removeInProgramTransition(ProgramTransition pt)
resetInProgramTransitions
public abstract void resetInProgramTransitions()
resetInFaultTransitions
public abstract void resetInFaultTransitions()
hasOutProgramTransition
public abstract boolean hasOutProgramTransition(ProgramTransition pt)
isDeadlocked
public abstract boolean isDeadlocked()
print
public abstract void print(java.lang.String processIndex,
java.lang.String actionName,
java.util.Vector vList)
getValue
public int getValue(int i)
setValue
public void setValue(int i,
int v)
getStateno
public int getStateno()
setStateno
public void setStateno(int n)
markInvariant
public void markInvariant()
isInvariant
public boolean isInvariant()
is_ms
public boolean is_ms()
set_ms
public void set_ms()
equals
public boolean equals(State s)