|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmaspack.graph.DirectedGraph<A,B>
maspack.graph.Graph<A,B>
public class Graph<A,B>
Constructor Summary | |
---|---|
Graph()
|
Method Summary | |
---|---|
DirectedEdge<A,B> |
connect(Vertex<A,B> vtx1,
Vertex<A,B> vtx2,
B objEdge,
double cost)
|
int |
numEdges()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Graph()
Method Detail |
---|
public DirectedEdge<A,B> connect(Vertex<A,B> vtx1, Vertex<A,B> vtx2, B objEdge, double cost)
connect
in class DirectedGraph<A,B>
public int numEdges()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |