Show / Hide Table of Contents

Delegate DirectedDykstra<T>.WasFoundDelegate

A signature of the was found callback function.

Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public delegate bool WasFoundDelegate(uint pointer, DirectedEdgeId edge, T weight);
Parameters
System.UInt32 pointer

The pointer in the path three, can be used to retrieve the complete path.

DirectedEdgeId edge

The edge found.

T weight

The weight at the vertex.

Returns
System.Boolean

When true is returned, the listener signals it knows what it wants to know and the search stops.

Remarks

Yes, we can use Func but this is less confusing and contains meaning about the parameters.

Back to top Built by Itinero, MIT licensed.