|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.wala.util.graph.impl.InvertingNumberedEdgeManager<T>
public class InvertingNumberedEdgeManager<T>
An edge manager that reverses the edges in a graph
| Constructor Summary | |
|---|---|
InvertingNumberedEdgeManager(NumberedEdgeManager<T> original)
|
|
| Method Summary | |
|---|---|
void |
addEdge(T src,
T dst)
|
int |
getPredNodeCount(T N)
Return the number of immediate predecessor
nodes of this Node
in the Graph. |
IntSet |
getPredNodeNumbers(T node)
|
java.util.Iterator<? extends T> |
getPredNodes(T N)
Return an Iterator over the immediate predecessor nodes of this Node
in the Graph. |
int |
getSuccNodeCount(T N)
Return the number of immediate successor
nodes of this Node
in the Graph |
IntSet |
getSuccNodeNumbers(T node)
|
java.util.Iterator<? extends T> |
getSuccNodes(T N)
Return an Iterator over the immediate successor nodes of this Node in
the Graph |
boolean |
hasEdge(T src,
T dst)
|
void |
removeAllIncidentEdges(T node)
|
void |
removeEdge(T src,
T dst)
|
void |
removeIncomingEdges(T node)
|
void |
removeOutgoingEdges(T node)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InvertingNumberedEdgeManager(NumberedEdgeManager<T> original)
| Method Detail |
|---|
public java.util.Iterator<? extends T> getPredNodes(T N)
throws java.lang.IllegalArgumentException
EdgeManagernodes of this Node
in the Graph.
This method never returns null.
getPredNodes in interface EdgeManager<T>java.lang.IllegalArgumentException
public int getPredNodeCount(T N)
throws java.lang.IllegalArgumentException
EdgeManagerimmediate predecessor
nodes of this Node
in the Graph.
getPredNodeCount in interface EdgeManager<T>java.lang.IllegalArgumentException
public java.util.Iterator<? extends T> getSuccNodes(T N)
throws java.lang.IllegalArgumentException
EdgeManagernodes of this Node in
the Graph
This method never returns null.
getSuccNodes in interface EdgeManager<T>java.lang.IllegalArgumentException
public int getSuccNodeCount(T N)
throws java.lang.IllegalArgumentException
EdgeManagerimmediate successor
nodes of this Node
in the Graph
getSuccNodeCount in interface EdgeManager<T>java.lang.IllegalArgumentException
public void addEdge(T src,
T dst)
throws java.lang.IllegalArgumentException
addEdge in interface EdgeManager<T>java.lang.IllegalArgumentException
public void removeEdge(T src,
T dst)
throws java.lang.IllegalArgumentException
removeEdge in interface EdgeManager<T>java.lang.IllegalArgumentException
public boolean hasEdge(T src,
T dst)
hasEdge in interface EdgeManager<T>
public void removeAllIncidentEdges(T node)
throws java.lang.IllegalArgumentException
removeAllIncidentEdges in interface EdgeManager<T>java.lang.IllegalArgumentException
public void removeIncomingEdges(T node)
throws java.lang.IllegalArgumentException
removeIncomingEdges in interface EdgeManager<T>java.lang.IllegalArgumentException
public void removeOutgoingEdges(T node)
throws java.lang.IllegalArgumentException
removeOutgoingEdges in interface EdgeManager<T>java.lang.IllegalArgumentException
public IntSet getSuccNodeNumbers(T node)
throws java.lang.IllegalArgumentException
getSuccNodeNumbers in interface NumberedEdgeManager<T>java.lang.IllegalArgumentException
public IntSet getPredNodeNumbers(T node)
throws java.lang.IllegalArgumentException
getPredNodeNumbers in interface NumberedEdgeManager<T>java.lang.IllegalArgumentException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||