|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.walend.digraph.AbstractMatrixCEDigraph | +--net.walend.digraph.AbstractLMCEDigraph | +--net.walend.digraph.LMCEDigraph
This class implements the CEDigraph interface using a Matrix and an array to speed up some indexed operations.
Nested Class Summary |
Nested classes inherited from class net.walend.digraph.AbstractLMCEDigraph |
AbstractLMCEDigraph.LMEdgeIterator |
Nested classes inherited from class net.walend.digraph.AbstractMatrixCEDigraph |
AbstractMatrixCEDigraph.MatrixEdgeIterator, AbstractMatrixCEDigraph.NodeIterator |
Field Summary |
Fields inherited from class net.walend.digraph.AbstractLMCEDigraph |
|
Fields inherited from class net.walend.digraph.AbstractMatrixCEDigraph |
|
Fields inherited from interface net.walend.digraph.CEDigraph |
EMPTY |
Constructor Summary | |
LMCEDigraph(CEDigraph digraph)
|
|
LMCEDigraph(GEDigraph digraph,
java.lang.Object edge)
|
|
LMCEDigraph(UEDigraph digraph)
|
Method Summary | |
EdgeIterator |
edgeIterator()
|
java.util.Iterator |
nodeIterator()
Implementations should explicitly state how they interpret nodeIterator()'s remove method. |
Methods inherited from class net.walend.digraph.AbstractLMCEDigraph |
addEdge, clearEdges, countInboundEdges, getFromIndices, getInboundEdges, growMatrix, indexedEdgeIterator, removeEdge, removeNode |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public LMCEDigraph(CEDigraph digraph)
public LMCEDigraph(UEDigraph digraph)
public LMCEDigraph(GEDigraph digraph, java.lang.Object edge)
Method Detail |
public EdgeIterator edgeIterator()
edgeIterator
in interface CEDigraph
edgeIterator
in class AbstractLMCEDigraph
public java.util.Iterator nodeIterator()
Digraph
nodeIterator
in interface Digraph
nodeIterator
in class AbstractMatrixCEDigraph
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |