All Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
void |
addEdge(DirectedEdge<A,B> edge) |
void |
addToCost(double cost) |
void |
clear() |
java.util.ArrayList<DirectedEdge<A,B>> |
getBackwardEdges() |
double |
getCost() |
A |
getData() |
java.util.ArrayList<DirectedEdge<A,B>> |
getForwardEdges() |
DirectedEdge<A,B> |
getLastTravelled() |
int |
numBackwardEdges() |
int |
numForwardEdges() |
void |
removeEdge(DirectedEdge<A,B> edge) |
void |
setCost(double cost) |
void |
setCostIfSmaller(double cost) |
void |
setData(A value) |
Vertex<A,B> |
travel(DirectedEdge<A,B> edge) |
Vertex<A,B> |
travel(Vertex<A,B> vtx) |
Vertex<A,B> |
travelBackward(DirectedEdge<A,B> edge) |
Vertex<A,B> |
travelBackward(Vertex<A,B> vtx) |
Vertex<A,B> |
travelForward(Vertex<A,B> vtx) |