Package org.graphwalker.core.generator
Class PathGeneratorBase<T extends StopCondition>
java.lang.Object
org.graphwalker.core.generator.PathGeneratorBase<T>
- All Implemented Interfaces:
PathGenerator<T>
- Direct Known Subclasses:
AStarPath,CombinedPath,PredefinedPath,QuickRandomPath,RandomPath,ShortestAllPaths,WeightedRandomPath
public abstract class PathGeneratorBase<T extends StopCondition>
extends Object
implements PathGenerator<T>
- Author:
- Nils Olsson
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetContext(Context context) voidsetStopCondition(T stopCondition) toString()toString(StringBuilder builder) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.graphwalker.core.generator.PathGenerator
hasNextStep
-
Constructor Details
-
PathGeneratorBase
public PathGeneratorBase()
-
-
Method Details
-
getContext
- Specified by:
getContextin interfacePathGenerator<T extends StopCondition>
-
setContext
- Specified by:
setContextin interfacePathGenerator<T extends StopCondition>
-
getStopCondition
- Specified by:
getStopConditionin interfacePathGenerator<T extends StopCondition>
-
setStopCondition
- Specified by:
setStopConditionin interfacePathGenerator<T extends StopCondition>
-
getNextStep
- Specified by:
getNextStepin interfacePathGenerator<T extends StopCondition>
-
toString
-
toString
- Specified by:
toStringin interfacePathGenerator<T extends StopCondition>
-