public class StatefulLogicalModelImpl extends LogicalModelImpl implements StatefulLogicalModel
| Modifier and Type | Field and Description |
|---|---|
protected List<byte[]> |
initialStates |
protected String |
name |
protected List<List<byte[]>> |
oracles |
| Constructor and Description |
|---|
StatefulLogicalModelImpl(List<NodeInfo> nodeOrder,
org.colomoto.mddlib.MDDManager ddmanager,
int[] functions,
List<byte[]> states,
String _name)
Creates a stateful logical model based on a MDD
|
StatefulLogicalModelImpl(LogicalModel model,
List<byte[]> states)
Creates a stateful logical model based on an existing logical model
|
StatefulLogicalModelImpl(org.colomoto.mddlib.MDDManager ddmanager,
List<NodeInfo> coreNodes,
int[] coreFunctions,
List<NodeInfo> extraNodes,
int[] extraFunctions,
List<byte[]> states,
String _name)
Creates a stateful logical model based on a MDD
|
| Modifier and Type | Method and Description |
|---|---|
List<byte[]> |
getInitialStates()
Gets the set of initial states defining a portion of the state-space
|
String |
getName()
Returns the model's name (by default the associated filename)
|
List<List<byte[]>> |
getOracles()
Gets the stored oracles
|
void |
setInitialStates(List<byte[]> states)
Changes the set of initial states
|
void |
setOracles(List<List<byte[]>> oracle)
Stores a set of oracles within the model
|
String |
toString() |
clone, getBooleanizedMap, getComponent, getComponents, getExtraComponents, getExtraLogicalFunctions, getExtraValue, getLogicalFunctions, getMDDManager, getNodeOrder, getTargetValue, getView, isBooleanequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclone, getBooleanizedMap, getComponent, getComponents, getExtraComponents, getExtraLogicalFunctions, getExtraValue, getLogicalFunctions, getMDDManager, getNodeOrder, getTargetValue, getView, isBooleanpublic StatefulLogicalModelImpl(org.colomoto.mddlib.MDDManager ddmanager,
List<NodeInfo> coreNodes,
int[] coreFunctions,
List<NodeInfo> extraNodes,
int[] extraFunctions,
List<byte[]> states,
String _name)
ddmanager - the MDD managercoreNodes - the MDD core componentscoreFunctions - the MDD core nodesextraNodes - the MDD extra componentsextraFunctions - the MDD extra nodesstates - the set of initial states_name - the name of the logical modelpublic StatefulLogicalModelImpl(List<NodeInfo> nodeOrder, org.colomoto.mddlib.MDDManager ddmanager, int[] functions, List<byte[]> states, String _name)
nodeOrder - the MDD componentsddmanager - the MDD managerfunctions - the MDD nodesstates - the set of initial states_name - the name of the logical modelpublic StatefulLogicalModelImpl(LogicalModel model, List<byte[]> states)
model - the logical model to clonestates - the set of initial states to be addedpublic String getName()
StatefulLogicalModelgetName in interface StatefulLogicalModelpublic List<byte[]> getInitialStates()
StatefulLogicalModelgetInitialStates in interface StatefulLogicalModelpublic List<List<byte[]>> getOracles()
StatefulLogicalModelgetOracles in interface StatefulLogicalModelpublic void setInitialStates(List<byte[]> states)
StatefulLogicalModelsetInitialStates in interface StatefulLogicalModelstates - list of initial statespublic void setOracles(List<List<byte[]>> oracle)
StatefulLogicalModelsetOracles in interface StatefulLogicalModeloracle - list of oracles, where each oracle is defined as a set of state-patternsCopyright © 2012-2017. All Rights Reserved.