DijkstraStop Property

User defined stopping criteria. When node i has been visited (distance has been calculated for node), return true to stop.

If not set, distances to all vertices are calculated.

Definition

Namespace: DHI.Mike1D.Generic.Graph
Assembly: DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public Func<int, bool> Stop { get; set; }

Property Value

FuncInt32, Boolean

See Also