public class HTGSimulation extends Simulation
Modifier and Type | Field and Description |
---|---|
protected byte[] |
childsCount
An array indicating for each node in the nodeOrder their count of childs.
|
protected int |
depth
The current depth in the dfs.
|
protected HierarchicalTransitionGraph |
htg
The HierarchicalTransitionGraph in construction
|
protected int |
index
The index of the next state found during the dfs.
|
protected long |
lastDraw |
protected int |
max_depth_reached
The current maximal depth of the dfs of the current initial state.
|
protected int |
nbinitialstates |
protected HierarchicalNodeSet |
nodeSet
A HashSet<HierarchicalNode> containg all the masters nodes.
|
protected long |
queueSearchCount |
protected HierarchicalSigmaSetFactory |
sigmaFactory
The simulation parameters
|
protected int |
step |
protected NodeAttributesReader |
vreader |
breadthFirst, frame, helper, initStatesIterator, maxdepth, maxnodes, nbnode, queue, ready, updater
Constructor and Description |
---|
HTGSimulation(org.colomoto.biolqm.LogicalModel model,
ProgressListener<Graph> plist,
SimulationParameters params) |
Modifier and Type | Method and Description |
---|---|
Graph |
do_simulation()
Run the simulation, handle exception and build the graph.
|
int |
getMaxDepth() |
int |
getMaxNodes() |
boolean |
getReady() |
void |
setMaxDepth(int max_depth_reached2) |
void |
setQueueSearchCount(long queueSearchCount) |
getInitStatesIterator, getUpdaterForState, interrupt, run, set_initialStates, setInitStatesIterator
protected HierarchicalTransitionGraph htg
protected byte[] childsCount
protected HierarchicalNodeSet nodeSet
protected int index
protected int depth
protected int max_depth_reached
protected long lastDraw
protected int nbinitialstates
protected int step
protected long queueSearchCount
protected HierarchicalSigmaSetFactory sigmaFactory
protected NodeAttributesReader vreader
public HTGSimulation(org.colomoto.biolqm.LogicalModel model, ProgressListener<Graph> plist, SimulationParameters params)
public Graph do_simulation() throws GsException
do_simulation
in class Simulation
GsException
public int getMaxNodes()
public int getMaxDepth()
public boolean getReady()
public void setMaxDepth(int max_depth_reached2)
public void setQueueSearchCount(long queueSearchCount)
Copyright © 2005–2020. All rights reserved.