Table of Contents

Class TopologicalWithQueue

Namespace
AlgorithmsSW.Digraph
Assembly
AlgorithmsSW.dll
public class TopologicalWithQueue : ITopological
Inheritance
TopologicalWithQueue
Implements
Inherited Members
Extension Methods

Constructors

TopologicalWithQueue(IReadOnlyDigraph)

Initializes a new instance of the TopologicalWithQueue class.

public TopologicalWithQueue(IReadOnlyDigraph digraph)

Parameters

digraph IReadOnlyDigraph

Properties

IsDirectedAcyclic

Gets a value indicating whether the digraph is a directed acyclic graph.

public bool IsDirectedAcyclic { get; }

Property Value

bool

Order

Gets the vertices in topologically sorted order, if such an order is possible. Otherwise, null.

public IEnumerable<int> Order { get; }

Property Value

IEnumerable<int>
See Also