Package org.graphwalker.core.generator
Class RandomPath
java.lang.Object
org.graphwalker.core.generator.PathGeneratorBase<StopCondition>
org.graphwalker.core.generator.RandomPath
- All Implemented Interfaces:
PathGenerator<StopCondition>
RandomPath
The RandomPath generator will generate a random path through a model. RandomPath is used when a random, unpredictable path is to be generated.- Author:
- Nils Olsson
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.graphwalker.core.generator.PathGeneratorBase
getContext, getStopCondition, setContext, setStopCondition, toString, toString
-
Constructor Details
-
RandomPath
-
-
Method Details
-
getNextStep
- Specified by:
getNextStepin interfacePathGenerator<StopCondition>- Overrides:
getNextStepin classPathGeneratorBase<StopCondition>
-
hasNextStep
public boolean hasNextStep()
-