public class StatefulLogicalModelImpl extends org.colomoto.biolqm.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<org.colomoto.biolqm.NodeInfo> nodeOrder,
org.colomoto.mddlib.MDDManager ddmanager,
int[] functions,
List<byte[]> states,
String _name)
Creates a stateful logical model based on a MDD
|
StatefulLogicalModelImpl(org.colomoto.biolqm.LogicalModel model,
List<byte[]> states,
String name)
Creates a stateful logical model based on an existing logical model
|
StatefulLogicalModelImpl(org.colomoto.mddlib.MDDManager ddmanager,
List<org.colomoto.biolqm.NodeInfo> coreNodes,
int[] coreFunctions,
List<org.colomoto.biolqm.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, clone, fillExtraValues, getBooleanizedMap, getComponent, getComponentIndex, getComponents, getExtraComponents, getExtraLogicalFunctions, getExtraValue, getLayout, getLogicalFunctions, getMDDManager, getTargetValue, getView, hasExtraComponents, hasLayout, isBoolean
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clone, clone, fillExtraValues, getBooleanizedMap, getComponent, getComponentIndex, getComponents, getExtraComponents, getExtraLogicalFunctions, getExtraValue, getLayout, getLogicalFunctions, getMDDManager, getTargetValue, getView, hasExtraComponents, hasLayout, isBoolean
public StatefulLogicalModelImpl(org.colomoto.mddlib.MDDManager ddmanager, List<org.colomoto.biolqm.NodeInfo> coreNodes, int[] coreFunctions, List<org.colomoto.biolqm.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<org.colomoto.biolqm.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(org.colomoto.biolqm.LogicalModel model, List<byte[]> states, String name)
model
- the logical model to clonestates
- the set of initial states to be addedname
- the name of the logical modelpublic String getName()
StatefulLogicalModel
getName
in interface StatefulLogicalModel
public List<byte[]> getInitialStates()
StatefulLogicalModel
getInitialStates
in interface StatefulLogicalModel
public List<List<byte[]>> getOracles()
StatefulLogicalModel
getOracles
in interface StatefulLogicalModel
public void setInitialStates(List<byte[]> states)
StatefulLogicalModel
setInitialStates
in interface StatefulLogicalModel
states
- list of initial statespublic void setOracles(List<List<byte[]>> oracle)
StatefulLogicalModel
setOracles
in interface StatefulLogicalModel
oracle
- list of oracles, where each oracle is defined as a set of state-patternsCopyright © 2005–2020. All rights reserved.