V - the vertex type.E - the edge type.public class JohnsonSimpleCycles<V,E> extends java.lang.Object implements DirectedSimpleCycles<V,E>
See:
D.B.Johnson, Finding all the elementary circuits of a directed graph, SIAM J. Comput., 4 (1975),
pp. 77-84.
| Constructor and Description |
|---|
JohnsonSimpleCycles(Graph<V,E> graph)
Create a simple cycle finder for the specified graph.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.util.List<V>> |
findSimpleCycles()
Find the simple cycles of the graph.
|
public java.util.List<java.util.List<V>> findSimpleCycles()
findSimpleCycles in interface DirectedSimpleCycles<V,E>null.Copyright © 2019. All Rights Reserved.