Package org.graphwalker.core.generator
Class QuickRandomPath
java.lang.Object
org.graphwalker.core.generator.PathGeneratorBase<StopCondition>
org.graphwalker.core.generator.QuickRandomPath
- All Implemented Interfaces:
PathGenerator<StopCondition>
QuickRandomPath
The QuickRandomPath generator will generate a random path through a model, but will try to cover the unvisited elements first. QuickRandomPath generates a random path, but tries to reach unvisited elements first. This is quite effective for FSM, but for a EFSM this may not work since edges can be inaccessible.- Author:
- Kristian Karl
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.graphwalker.core.generator.PathGeneratorBase
getContext, getStopCondition, setContext, setStopCondition, toString, toString
-
Constructor Details
-
QuickRandomPath
-
-
Method Details
-
getNextStep
- Specified by:
getNextStepin interfacePathGenerator<StopCondition>- Overrides:
getNextStepin classPathGeneratorBase<StopCondition>
-
hasNextStep
public boolean hasNextStep()
-