public final class SimulationUtils extends Object
Constructor and Description |
---|
SimulationUtils() |
Modifier and Type | Method and Description |
---|---|
static DynamicGraph |
getGraphFromAttractor(DynamicGraph graph,
AbstractStateSet attractor,
org.colomoto.biolqm.LogicalModel model)
Generates a drawable dynamic graph from a complex attractor
|
static ReducedGraph |
getGraphFromAttractor(ReducedGraph graph,
StateSet attractor,
org.colomoto.biolqm.LogicalModel model)
Generates a drawable reduced graph from a complex attractor
|
static State |
getRandomState(org.colomoto.biolqm.LogicalModel model,
List<byte[]> states,
boolean hasSuccessors)
Selects an initial state from a given pattern or state-set
|
static boolean |
isSingleState(byte[] vec) |
public static State getRandomState(org.colomoto.biolqm.LogicalModel model, List<byte[]> states, boolean hasSuccessors)
model
- the logical model to possibly check whether the selected state has successorsstates
- the set of possible stateshasSuccessors
- true to impose that the selected initial state has successorspublic static DynamicGraph getGraphFromAttractor(DynamicGraph graph, AbstractStateSet attractor, org.colomoto.biolqm.LogicalModel model)
graph
- the type of graph to be generatedattractor
- the complex attractormodel
- the logical model to provide contextual informationpublic static ReducedGraph getGraphFromAttractor(ReducedGraph graph, StateSet attractor, org.colomoto.biolqm.LogicalModel model)
graph
- the type of graph to be generatedattractor
- the complex attractormodel
- the logical model to provide contextual informationpublic static boolean isSingleState(byte[] vec)
Copyright © 2005–2020. All rights reserved.