Table of Contents

Class EdgeWeightedCycle<T>

Namespace
AlgorithmsSW.EdgeWeightedGraph
Assembly
AlgorithmsSW.dll
public class EdgeWeightedCycle<T>

Type Parameters

T
Inheritance
EdgeWeightedCycle<T>
Inherited Members
Extension Methods

Constructors

EdgeWeightedCycle(IEdgeWeightedGraph<T>)

public EdgeWeightedCycle(IEdgeWeightedGraph<T> edgeWeightedGraph)

Parameters

edgeWeightedGraph IEdgeWeightedGraph<T>

EdgeWeightedCycle(IEdgeWeightedGraph<T>, HashSet<int>)

public EdgeWeightedCycle(IEdgeWeightedGraph<T> edgeWeightedGraph, HashSet<int> vertices)

Parameters

edgeWeightedGraph IEdgeWeightedGraph<T>
vertices HashSet<int>

Methods

Cycle()

public Stack<Edge<T>> Cycle()

Returns

Stack<Edge<T>>

HasCycle()

public bool HasCycle()

Returns

bool