|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--drasys.or.graph.Graph
An abstract class that contains convenience methods for derived classes.
PointGraph
,
DenseGraph
,
SparseGraph
, Serialized FormField Summary | |
protected java.lang.Boolean |
_symmetric
|
Method Summary | |
java.util.Enumeration |
edges()
Creates an enumeration on the edges of the graph. |
boolean |
equals(java.lang.Object o)
Two graphs are equal if they have exacty the same elements. |
EdgeI |
getEdge(EdgeI edge)
Get the edge that matches edge. |
EdgeI |
getEdge(java.lang.Object fromKey,
java.lang.Object toKey,
java.lang.Object key)
Get the edge between the from and to vertices whose key matches 'edgeKey'. |
boolean |
isSubsetOf(GraphI graph)
A graph is a subset of another if all its elements are contained in the other. |
java.util.Enumeration |
mutableEdges()
Creates an enumeration on the edges of the graph. |
void |
setSymmetric(java.lang.Boolean symmetric)
Forces algorithms to treat the graph as either symmetric or assymetric. |
java.lang.String |
toString(java.lang.String cls)
|
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected java.lang.Boolean _symmetric
Method Detail |
public void setSymmetric(java.lang.Boolean symmetric)
public EdgeI getEdge(EdgeI edge)
public EdgeI getEdge(java.lang.Object fromKey, java.lang.Object toKey, java.lang.Object key)
public java.util.Enumeration edges()
public java.util.Enumeration mutableEdges()
public java.lang.String toString(java.lang.String cls)
public boolean isSubsetOf(GraphI graph)
public boolean equals(java.lang.Object o)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |