public class Path<A,B>
extends java.lang.Object
| Modifier and Type | Method and Description | 
|---|---|
| boolean | addToRoute(DirectedEdge<A,B> edge,
          Vertex<A,B> dest) | 
| void | clearPath() | 
| double | getCost() | 
| java.util.ArrayList<DirectedEdge<A,B>> | getEdges() | 
| Vertex<A,B> | getEnd() | 
| Vertex<A,B> | getStart() | 
| java.util.ArrayList<Vertex<A,B>> | getVertices() | 
| boolean | prependToRoute(DirectedEdge<A,B> edge,
              Vertex<A,B> start) | 
| java.lang.String | toString() | 
public double getCost()
public void clearPath()
public java.util.ArrayList<DirectedEdge<A,B>> getEdges()
public java.lang.String toString()
toString in class java.lang.Object