public abstract class Cycles extends Object
| Constructor and Description | 
|---|
Cycles()  | 
| Modifier and Type | Method and Description | 
|---|---|
static <V,E> GraphPath<V,E> | 
simpleCycleToGraphPath(Graph<V,E> graph,
                      List<E> cycle)
Transform a simple cycle from an edge set representation to a graph path. 
 | 
public static <V,E> GraphPath<V,E> simpleCycleToGraphPath(Graph<V,E> graph, List<E> cycle)
V - graph vertex typeE - graph edge typegraph - the graphcycle - the simple cycleIllegalArgumentException - if the provided edge set is not a simple cycle (circuit)Copyright © 2018. All rights reserved.