Class ShortestPathData
- java.lang.Object
-
- org.insa.graphs.algorithm.AbstractInputData
-
- org.insa.graphs.algorithm.shortestpath.ShortestPathData
-
public class ShortestPathData extends AbstractInputData
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.insa.graphs.algorithm.AbstractInputData
AbstractInputData.Mode
-
-
Field Summary
-
Fields inherited from class org.insa.graphs.algorithm.AbstractInputData
arcInspector
-
-
Constructor Summary
Constructors Constructor Description ShortestPathData(Graph graph, Node origin, Node destination, ArcInspector arcInspector)
Construct a new instance of ShortestPathInputData with the given parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Node
getDestination()
Node
getOrigin()
java.lang.String
toString()
-
Methods inherited from class org.insa.graphs.algorithm.AbstractInputData
getCost, getGraph, getMaximumSpeed, getMode, isAllowed
-
-
-
-
Constructor Detail
-
ShortestPathData
public ShortestPathData(Graph graph, Node origin, Node destination, ArcInspector arcInspector)
Construct a new instance of ShortestPathInputData with the given parameters.- Parameters:
graph
- Graph in which the path should be looked for.origin
- Origin node of the path.destination
- Destination node of the path.arcInspector
- Filter for arcs (used to allow only a specific set of arcs in the graph to be used).
-
-