|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjpaul.Graphs.LDiGraph.LForwardNavigator<Vertex,Label>
jpaul.Graphs.LDiGraph.LNavigator<Vertex,Label>
public abstract static class LDiGraph.LNavigator<Vertex,Label>
Bidirectional iterator into a labeled graph. Each labeled navigator is also a normal navigator: we just strip the labels off the arcs.
Constructor Summary | |
---|---|
LDiGraph.LNavigator()
|
Method Summary | |
---|---|
abstract java.util.List<Pair<Vertex,Label>> |
lprev(Vertex v)
Returns the list of the arcs that enter into the vertex v . |
java.util.List<Vertex> |
prev(Vertex v)
Returns the predecessors of vertex . |
Methods inherited from class jpaul.Graphs.LDiGraph.LForwardNavigator |
---|
lnext, next |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface jpaul.Graphs.ForwardNavigator |
---|
next |
Constructor Detail |
---|
public LDiGraph.LNavigator()
Method Detail |
---|
public abstract java.util.List<Pair<Vertex,Label>> lprev(Vertex v)
v
. Each arc is modeled as a pair of the
source vertex and the arc label.
public java.util.List<Vertex> prev(Vertex v)
Navigator
vertex
.
prev
in interface Navigator<Vertex>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |