Sage Modeling and Simulation Library

CriticalPathAnalyst<(Of <(<'T>)>)> Constructor

Initializes a new instance of the CriticalPathAnalyst<(Of <(<'T>)>)> class.

Namespace:  Highpoint.Sage.Graphs
Assembly:  Sage4 (in Sage4.dll)

Syntax


public CriticalPathAnalyst(
	T startNode,
	T finishNode,
	Func<T, DateTime> startTime,
	Func<T, TimeSpan> duration,
	Func<T, bool> isFixed,
	Func<T, IEnumerable<T>> successors,
	Func<T, IEnumerable<T>> predecessors
)

Parameters

startNode
Type: T
The start node of the directed acyclic graph (DAG).
finishNode
Type: T
The finish node of the DAG.
startTime
Type: Func<(Of <(<'T, DateTime>)>)>
A function that, given a task element, returns its start time.
duration
Type: Func<(Of <(<'T, TimeSpan>)>)>
A function that, given a task element, returns its duration.
isFixed
Type: Func<(Of <(<'T, Boolean>)>)>
A function that, given a task element, returns whether its start time and duration are fixed.
successors
Type: Func<(Of <(<'T, IEnumerable<(Of <(<'T>)>)>>)>)>
A function that, given a task element, returns its successors.
predecessors
Type: Func<(Of <(<'T, IEnumerable<(Of <(<'T>)>)>>)>)>
A function that, given a task element, returns its predecessors.