java.lang.Object
dev.civl.gmc.seq.StateManager<State,Transition>
dev.civl.mc.kripke.IF.CIVLStateManager
StateManager extends
StateManager for CIVL models.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Map<dev.civl.sarl.IF.expr.BooleanExpression, Set<Pair<State, dev.civl.sarl.IF.expr.SymbolicExpression[]>>> Outputs collected for the model during the search.abstract longReturns the number of objects of type State that have been instantiated since this JVM started.abstract intmaxProcs()abstract intabstract String[]The names of output variables of the model.abstract voidPrint an update message at your earliest possible convenience.abstract voidsetUpdater(Printable updater) Set the field savedStates.Methods inherited from class dev.civl.gmc.seq.StateManager
debug, getEnabledProcesses, getId, getLiveProcesses, getPid, getTransitions, nextState, normalize, printAllStatesLong, printAllStatesShort, printStateLong, printStateShort, printTraceStep, printTraceStepFinalState, printTransitionLong, printTransitionShort, setGetIdFunction, tryNextState
-
Constructor Details
-
CIVLStateManager
public CIVLStateManager()
-
-
Method Details
-
getNumStateInstances
public abstract long getNumStateInstances()Returns the number of objects of type State that have been instantiated since this JVM started.- Returns:
- the number of states instantiated
-
maxProcs
public abstract int maxProcs()- Returns:
- The maximum number of processes in any state encountered by this state manager.
-
printUpdate
public abstract void printUpdate()Print an update message at your earliest possible convenience. -
setUpdater
Set the field savedStates.- Parameters:
updater- The value to be used.
-
numStatesExplored
public abstract int numStatesExplored()- Returns:
- the number of saved states explored by the state manager
-
collectedOutputs
public abstract Map<dev.civl.sarl.IF.expr.BooleanExpression,Set<Pair<State, collectedOutputs()dev.civl.sarl.IF.expr.SymbolicExpression[]>>> Outputs collected for the model during the search.- Returns:
- all possible outputs
-
outptutNames
The names of output variables of the model.- Returns:
- the names of output variables
-