V - vertex typeE - edge typepublic interface Path<V extends Vertex,E extends Edge<V>> extends Edge<V>
| Modifier and Type | Method and Description |
|---|---|
double |
cost()
Returns the total cost of the path as a unit-less number.
|
List<E> |
edges()
Returns the list of edges comprising the path.
|
List<E> edges()
double cost()