|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsbrt.kernel.math.graph_theory.proc.CycleIdExp<N>
N
- the node type.public class CycleIdExp<N>
This class is used to identify all the simple cycles in a directed graph.
Constructor Summary | |
---|---|
CycleIdExp()
Constructs a new cycle-identification experiment. |
Method Summary | |
---|---|
ProgressMonitor |
getProgress()
Returns a progress monitor for this experiment. |
void |
run(ResultsManager<Path<N>> resultsManager)
Adds to the provided results manager each identified cycle in the current graph. |
void |
setGraph(DirectedGraph<N> graph)
Sets the graph for which all cycles will be identified. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CycleIdExp()
Method Detail |
---|
public void setGraph(DirectedGraph<N> graph)
graph
- the graph for which all paths will be identified.public ProgressMonitor getProgress()
getProgress
in interface MonitoredProcess<Path<N>>
public void run(ResultsManager<Path<N>> resultsManager)
run
in interface KernelProcess<Path<N>>
resultsManager
- the results manager to which the cycles are added.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |