public sealed class Cycles
Maintain a cached collection of cycles found in a graph.

Constructors

Cycles

#
public Cycles(
graph
)

Properties

Graph

#
Gets the graph this cycles cache is associated with.
public Graph Graph { get; }

Methods

FindCycleRoute

#
Find the cyclical route a given edge is a part of.
public Route FindCycleRoute(
edge
Edge index.
)
Route. Does not necessarily start at the given edge.

IsCircuitEdge

#
Gets whether the given edge is part of a circuit.
public bool IsCircuitEdge(
edge
)

IsLoopEdge

#
Gets whether the given edge is part of a circuit.
public bool IsLoopEdge(
edge
)
obsoleteUse IsCircuitEdge instead.

IsSpurEdge

#
Gets whether the given edge is a spur edge, i.e. not part of any circuit.
public bool IsSpurEdge(
edge
)

IsTreeEdge

#
Gets whether the given edge is a spur edge.
public bool IsTreeEdge(
edge
)
obsoleteUse IsSpurEdge instead.