Show / Hide Table of Contents

Class Dykstra

An implementation of the dykstra routing algorithm.

Inheritance
System.Object
AlgorithmBase
Dykstra<System.Single>
Dykstra
Inherited Members
Dykstra<Single>.DoRun(CancellationToken)
Dykstra<Single>.Initialize()
Dykstra<Single>.Step()
Dykstra<Single>.SetVisit(EdgePath<Single>)
Dykstra<Single>.TryGetVisit(Int64, EdgePath<Single>)
Dykstra<Single>.MaxReached
Dykstra<Single>.Visit
Dykstra<Single>.Backward
Dykstra<Single>.Graph
Dykstra<Single>.Current
AlgorithmBase.HasRun
AlgorithmBase.HasSucceeded
AlgorithmBase.ErrorMessage
AlgorithmBase.CheckHasRun()
AlgorithmBase.CheckHasRunAndHasSucceeded()
AlgorithmBase.Run()
AlgorithmBase.Run(CancellationToken)
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public sealed class Dykstra : Dykstra<float>, IAlgorithm, IEdgeVisitor<float>

Constructors

Dykstra(Graph, DefaultWeightHandler, Func<UInt32, IEnumerable<UInt32[]>>, IEnumerable<EdgePath<Single>>, Single, Boolean)

Creates a new one-to-all dykstra algorithm instance.

Declaration
public Dykstra(Graph graph, DefaultWeightHandler weightHandler, Func<uint, IEnumerable<uint[]>> getRestriction, IEnumerable<EdgePath<float>> sources, float sourceMax, bool backward)
Parameters
Graph graph

DefaultWeightHandler weightHandler

Func<System.UInt32, IEnumerable<System.UInt32[]>> getRestriction

IEnumerable<EdgePath<System.Single>> sources

System.Single sourceMax

System.Boolean backward

Dykstra(Graph, Func<UInt16, Factor>, Func<UInt32, IEnumerable<UInt32[]>>, IEnumerable<EdgePath<Single>>, Single, Boolean)

Creates a new one-to-all dykstra algorithm instance.

Declaration
public Dykstra(Graph graph, Func<ushort, Factor> getFactor, Func<uint, IEnumerable<uint[]>> getRestriction, IEnumerable<EdgePath<float>> sources, float sourceMax, bool backward)
Parameters
Graph graph

Func<System.UInt16, Factor> getFactor

Func<System.UInt32, IEnumerable<System.UInt32[]>> getRestriction

IEnumerable<EdgePath<System.Single>> sources

System.Single sourceMax

System.Boolean backward

Back to top Built by Itinero, MIT licensed.