public interface RegulatoryGraph extends Graph<RegulatoryNode,RegulatoryMultiEdge>
Modifier and Type | Method and Description |
---|---|
RegulatoryMultiEdge |
addEdge(RegulatoryNode source,
RegulatoryNode target,
RegulatoryEdgeSign sign)
Add a signed edge
|
RegulatoryEdge |
addNewEdge(String from,
String to,
byte minvalue,
RegulatoryEdgeSign sign)
add an edge from textual parameters (for the parser).
|
RegulatoryEdge |
addNewEdge(String from,
String to,
byte minvalue,
String sign)
add an edge from textual parameters (for the parser).
|
RegulatoryNode |
addNewNode(String id,
String name,
byte max)
add a node from textual parameters (for the parser).
|
RegulatoryNode |
addNode() |
void |
canApplyNewMaxValue(RegulatoryNode node,
byte newMax,
List l_fixable,
List l_conflict) |
void |
changeNodeId(Object node,
String newId) |
org.colomoto.mddlib.MDDManager |
getMDDFactory()
Construct a MDDFactory associated to the nodes of this graph
|
int[] |
getMDDs(org.colomoto.mddlib.MDDManager factory)
Construct MDD representation of the logical functions of the nodes of this graph.
|
org.colomoto.biolqm.LogicalModel |
getModel()
Get a ready-to-be-used model (list of nodes and functions, no graph structure)
|
org.colomoto.biolqm.LogicalModel |
getModel(NodeOrderer orderer)
Get a ready-to-be-used model (list of nodes and functions, no graph structure)
|
org.colomoto.biolqm.LogicalModel |
getModel(NodeOrderer orderer,
boolean withLayout)
Get a ready-to-be-used model (list of nodes and functions, no graph structure)
|
List<org.colomoto.biolqm.NodeInfo> |
getNodeInfos() |
List<RegulatoryNode> |
getNodeOrder()
Return the node order
|
List<RegulatoryNode> |
getNodeOrderForSimulation() |
List<List<byte[]>> |
getOracles()
Accesses the oracles associated with the graph
|
List<byte[]> |
getStates()
Accesses the initial states associated with the graph
|
boolean |
hasOracles()
Checks whether the graph has oracles associated
|
boolean |
idExists(String newId) |
boolean |
isStateful()
Checks whether the graph has states associated
|
void |
setNodeOrder(List<RegulatoryNode> list)
Set a list of class dependent objects representing the order of node as defined by the model
|
void |
setOracles(List<List<byte[]>> list)
Associates a set of oracles to the graph
|
void |
setStates(List<byte[]> list)
Associates a set of initial states to the graph
|
addViewListener, copyView, fireGraphChange, getAttributes, getDimension, getDisplayName, getEdgeAttributeReader, getNodeAttributeReader, getStyleManager, save, save, setAttribute
addEdge, addNode, containsEdge, containsNode, getAnnotation, getEdge, getEdges, getExistingNode, getGraphName, getIncomingEdges, getNodeByName, getNodeCount, getNodeOrderSize, getNodes, getOutgoingEdges, getShortestPath, getStronglyConnectedComponents, getSubgraph, merge, removeEdge, removeNode, searchNodes, setGraphName
List<RegulatoryNode> getNodeOrder()
List<org.colomoto.biolqm.NodeInfo> getNodeInfos()
RegulatoryNode addNewNode(String id, String name, byte max)
id
- name
- max
- RegulatoryNode addNode()
boolean idExists(String newId)
newId
- RegulatoryEdge addNewEdge(String from, String to, byte minvalue, RegulatoryEdgeSign sign) throws GsException
from
- to
- minvalue
- sign
- GsException
RegulatoryEdge addNewEdge(String from, String to, byte minvalue, String sign) throws GsException
from
- to
- minvalue
- sign
- GsException
RegulatoryMultiEdge addEdge(RegulatoryNode source, RegulatoryNode target, RegulatoryEdgeSign sign)
source
- target
- sign
- int[] getMDDs(org.colomoto.mddlib.MDDManager factory)
factory
- a MDDFactory associated with the nodes of this graphorg.colomoto.mddlib.MDDManager getMDDFactory()
void changeNodeId(Object node, String newId) throws GsException
node
- newId
- GsException
List<RegulatoryNode> getNodeOrderForSimulation()
void setNodeOrder(List<RegulatoryNode> list)
list
- the list of objects representing the order of node as defined by the modelvoid canApplyNewMaxValue(RegulatoryNode node, byte newMax, List l_fixable, List l_conflict)
node
- newMax
- l_fixable
- l_conflict
- org.colomoto.biolqm.LogicalModel getModel()
org.colomoto.biolqm.LogicalModel getModel(NodeOrderer orderer)
orderer
- helper providing the desired node orderorg.colomoto.biolqm.LogicalModel getModel(NodeOrderer orderer, boolean withLayout)
orderer
- helper providing the desired node orderwithLayout
- flag to add layout informationboolean isStateful()
boolean hasOracles()
List<byte[]> getStates()
List<List<byte[]>> getOracles()
void setStates(List<byte[]> list)
list
- the list of statesCopyright © 2005–2020. All rights reserved.