V
- Vertex typeE
- Edge typepublic class CycleDetector<V,E extends DefaultEdge>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private DirectedGraph<V,E> |
graph |
Constructor and Description |
---|
CycleDetector(DirectedGraph<V,E> graph) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<V> |
findCycles() |
private final DirectedGraph<V,E extends DefaultEdge> graph
public CycleDetector(DirectedGraph<V,E> graph)
public java.util.Set<V> findCycles()
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.