|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.combean.graph.alg.AbstractGraphAlg net.sourceforge.combean.graph.alg.partition.AbstractSCCImpl net.sourceforge.combean.graph.alg.partition.SCCByDFSImpl
public final class SCCByDFSImpl
Find strongly connected components by DFS (Tarjan's algorithm for SCCs).
Constructor Summary | |
---|---|
SCCByDFSImpl()
constructor |
Method Summary | |
---|---|
DepthFirstSearch |
getDfs()
|
NodeNumbering |
getDfsNumbering()
|
NodeNumbering |
getLowNumbering()
|
void |
run()
Execute the algorithm. |
void |
setDfs(DepthFirstSearch dfs)
Set the DFS helper algorithm. |
void |
setDfsNumbering(NodeNumbering dfsNum)
Set the dfs numbering. |
void |
setLowNumbering(NodeNumbering lowNum)
Set the low numbering. |
Methods inherited from class net.sourceforge.combean.graph.alg.partition.AbstractSCCImpl |
---|
getVisitor, setNodeNumberingAsVisitor, setVisitor |
Methods inherited from class net.sourceforge.combean.graph.alg.AbstractGraphAlg |
---|
getGraph, setGraph |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sourceforge.combean.interfaces.graph.alg.GraphAlgorithm |
---|
getGraph, setGraph |
Constructor Detail |
---|
public SCCByDFSImpl()
Method Detail |
---|
public final NodeNumbering getDfsNumbering()
public final void setDfsNumbering(NodeNumbering dfsNum)
dfsNum
- The dfs numbering to set.public final NodeNumbering getLowNumbering()
public final void setLowNumbering(NodeNumbering lowNum)
lowNum
- The low numbering to set.public final DepthFirstSearch getDfs()
public final void setDfs(DepthFirstSearch dfs)
dfs
- The dfs algorithm to set.RecursiveDFSImpl
public void run()
GraphAlgorithm
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |