public class Graph<A,B> extends DirectedGraph<A,B>
Constructor and Description |
---|
Graph() |
Modifier and Type | Method and Description |
---|---|
DirectedEdge<A,B> |
connect(Vertex<A,B> vtx1,
Vertex<A,B> vtx2,
B objEdge,
double cost) |
int |
numEdges() |
addEdge, clear, cloneStructure, cloneStructure, connect, disconnect, exchangeData, exchangeData, exchangeEdgeData, exchangeEdgeData, exchangeVertexData, exchangeVertexData, findEdge, findEdge, findEndNodes, findStartNodes, findVertex, getDirectedEdge, getDirectedEdgeIndex, getEdges, getVertex, getVertexIndex, getVertices, numDirectedEdges, numVertices, removeEdge, removeVertex, shortestPath, shortestPath, shortestPath, shortestPath, traverseEdgesBackward, traverseEdgesForward, traverseVerticesBackward, traverseVerticesForward