|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectchord.util.graph.SCCFindingVisitor<Node>
public class SCCFindingVisitor<Node>
A visitor over the Strongly Connected Components (SCCs) of a directed graph.
| Constructor Summary | |
|---|---|
SCCFindingVisitor()
|
|
| Method Summary | |
|---|---|
void |
epilogue()
Method called just after finishing visiting all nodes of an entity. |
java.util.List<java.util.Set<Node>> |
getSCCs()
Provides all SCCs of the directed graph. |
void |
prologue()
Method called just before starting to visit any node of an entity. |
void |
visit(Node node)
Method called while visiting each node of an entity. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SCCFindingVisitor()
| Method Detail |
|---|
public void prologue()
IGraphEntityVisitor
prologue in interface IGraphEntityVisitor<Node>public void visit(Node node)
IGraphEntityVisitor
visit in interface IGraphEntityVisitor<Node>node - The visited node.public void epilogue()
IGraphEntityVisitor
epilogue in interface IGraphEntityVisitor<Node>public java.util.List<java.util.Set<Node>> getSCCs()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||