Package dsa.lab10.base
Class Path<Vertex,Distance> 
java.lang.Object
dsa.lab10.base.Path<Vertex,Distance> 
- Type Parameters:
- Vertex- the vertex type
- Distance- the distance measure type
Information about a path (of zero or more edges) from some source to some
 target vertex.
 
Contains the previous vertex visited in the path from source to target, and some measure of the total distance from the source to the target.
 The idea is that there will be other such Path objects giving
 information about any previous steps in the path (e.g. how to get to the
 previous vertex).
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
PathConstruct a path step with the given information.- Parameters:
- previous- the previous vertex in the path
- distance- the distance from the source
 
 
- 
- 
Method Details