Show / Hide Table of Contents

Class FlowModelExtensions

Flow model extension methods

Inheritance
System.Object
FlowModelExtensions
Namespace: DNVGL.One.Compute.Scheduling.Extensions
Assembly: DNVGL.One.Compute.Scheduling.dll
Syntax
public static class FlowModelExtensions : object

Methods

View Source

GetTopologicalSorting(FlowGraph)

Gets the topological sorting.

Declaration
public static IEnumerable<WorkUnit> GetTopologicalSorting(this FlowGraph graph)
Parameters
Type Name Description
FlowGraph graph

The graph.

Returns
Type Description
IEnumerable<WorkUnit>

The work units of the graph sorted topologically

Remarks

Implements Kahn's algorithm,

  • View Source
Back to top Copyright © DNV GL AS. All rights reserved.