All Methods Static Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
boolean |
addEdge(DirectedEdge<A,B> edge) |
void |
clear() |
<C,D> DirectedGraph<C,D> |
cloneStructure() |
static <A,B,C,D> DirectedGraph<C,D> |
cloneStructure(DirectedGraph<A,B> orig) |
DirectedEdge<A,B> |
connect(A object1,
A object2,
B objEdge,
double cost) |
DirectedEdge<A,B> |
connect(Vertex<A,B> vtx1,
Vertex<A,B> vtx2,
B objEdge,
double cost) |
int |
disconnect(Vertex<A,B> vtx1,
Vertex<A,B> vtx2) |
static <A,B,C,D> DirectedGraph<C,D> |
exchangeData(DirectedGraph<A,B> graph,
java.util.HashMap<A,C> vtxMap,
java.util.HashMap<B,D> edgeMap) |
<C,D> DirectedGraph<C,D> |
exchangeData(java.util.HashMap<A,C> vtxMap,
java.util.HashMap<B,D> edgeMap) |
static <A,B,D> DirectedGraph<A,D> |
exchangeEdgeData(DirectedGraph<A,B> graph,
java.util.HashMap<A,D> edgeMap) |
<D> DirectedGraph<A,D> |
exchangeEdgeData(java.util.HashMap<A,D> edgeMap) |
static <A,B,C> DirectedGraph<C,B> |
exchangeVertexData(DirectedGraph<A,B> graph,
java.util.HashMap<A,C> vtxMap) |
<C> DirectedGraph<C,B> |
exchangeVertexData(java.util.HashMap<A,C> vtxMap) |
DirectedEdge<A,B> |
findEdge(A obj1,
A obj2) |
DirectedEdge<A,B> |
findEdge(Vertex<A,B> vtx1,
Vertex<A,B> vtx2) |
java.util.ArrayList<Vertex<A,B>> |
findEndNodes() |
java.util.ArrayList<Vertex<A,B>> |
findStartNodes() |
Vertex<A,B> |
findVertex(A obj) |
DirectedEdge<A,B> |
getDirectedEdge(int idx) |
int |
getDirectedEdgeIndex(DirectedEdge<A,B> edge) |
java.util.ArrayList<DirectedEdge<A,B>> |
getEdges() |
Vertex<A,B> |
getVertex(int idx) |
int |
getVertexIndex(Vertex<A,B> vtx) |
java.util.ArrayList<Vertex<A,B>> |
getVertices() |
int |
numDirectedEdges() |
int |
numVertices() |
boolean |
removeEdge(DirectedEdge<A,B> edge) |
boolean |
removeVertex(Vertex<A,B> vtx) |
Path<A,B> |
shortestPath(A start,
A end) |
Path<A,B> |
shortestPath(A start,
java.util.List<A> endList) |
Path<A,B> |
shortestPath(Vertex<A,B> vtxStart,
java.util.ArrayList<Vertex<A,B>> vtxEnd) |
Path<A,B> |
shortestPath(Vertex<A,B> vtxStart,
Vertex<A,B> vtxEnd) |
Vertex<A,B> |
traverseEdgesBackward(Vertex<A,B> start,
B[] edgeData) |
Vertex<A,B> |
traverseEdgesForward(Vertex<A,B> start,
B[] edgeData) |
Vertex<A,B> |
traverseVerticesBackward(Vertex<A,B> start,
A[] vtxData) |
Vertex<A,B> |
traverseVerticesForward(Vertex<A,B> start,
A[] vtxData) |