Click or drag to resize

DijkstraPredecessorSource Property

Predecessor source index, for each vertex it specifies the predecessor source, i.e. which source this vertex has the shortest path from. This is only relevant if more than one source is specified.

Enable by setting the UsePredecessorSource flag. If the flag is not enabled, this array will be null.

The value -1 indicates that the vertex can not be reached from the source vertices, or that the algorithm has been manually stopped before reaching the vertix.

Namespace:  DHI.Mike1D.Generic.Graph
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public int[] PredecessorSource { get; }

Property Value

Type: Int32
See Also