public class TarjanSimulation extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
depth
The current depth in the dfs.
|
protected int |
index
The index of the next state found during the dfs.
|
protected Map<org.ginsim.service.tool.reg2dyn.htg.SimpleState,HTGSimulationQueueState> |
inQueue |
protected long |
lastDraw |
protected int |
max_depth_reached
The current maximal depth of the dfs of the current initial state.
|
protected int |
nbinitialstates |
protected LinkedList<HTGSimulationQueueState> |
queue |
protected int |
step |
Constructor and Description |
---|
TarjanSimulation(HTGSimulation htgSimulation,
ProgressListener<Graph> frame) |
Modifier and Type | Method and Description |
---|---|
protected void |
runSimulationOnInitialStates()
The main entrance for the algorithm.
|
protected LinkedList<HTGSimulationQueueState> queue
protected int index
protected int depth
protected int max_depth_reached
protected long lastDraw
protected int nbinitialstates
protected int step
protected Map<org.ginsim.service.tool.reg2dyn.htg.SimpleState,HTGSimulationQueueState> inQueue
public TarjanSimulation(HTGSimulation htgSimulation, ProgressListener<Graph> frame)
protected void runSimulationOnInitialStates() throws Exception
index = 0 For each initial state __state__ If __state__ is not in __nodeSet__, that is is not already processed If __state__ has no successors It is a stable state; continue Else Explore({__state__, index, index})
Exception
Copyright © 2005–2020. All rights reserved.