public class DynamicNode extends Object
Modifier and Type | Field and Description |
---|---|
int |
EPSILON |
int |
MINUS |
int |
PLUS
pattern constants
|
byte[] |
state
each int is the state of the corresponding gene in the regulatory graph (according to nodeOrder).
|
Constructor and Description |
---|
DynamicNode(byte[] state) |
DynamicNode(String value)
create a dynamicNode from it's id: the first character is ignored (must be a letter to be a valid id)
each following character is parsed as int
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getId() |
int[] |
getPattern(Graph<DynamicNode,Edge<DynamicNode>> graph) |
String |
getPatternString(Graph<DynamicNode,Edge<DynamicNode>> graph) |
int |
hashCode() |
boolean |
isStable()
is this a stable state ?
|
void |
setStable(boolean s,
NodeAttributesReader vreader)
set if this state is stable.
|
String |
toString() |
public final byte[] state
public final int PLUS
public final int MINUS
public final int EPSILON
public DynamicNode(byte[] state)
state
- public DynamicNode(String value)
value
- public boolean isStable()
public void setStable(boolean s, NodeAttributesReader vreader)
s
- vreader
- public String getId()
public int[] getPattern(Graph<DynamicNode,Edge<DynamicNode>> graph)
public String getPatternString(Graph<DynamicNode,Edge<DynamicNode>> graph)
Copyright © 2005–2020. All rights reserved.