Show / Hide Table of Contents

Class ResolveMultipleAlgorithm

An algorithm to search for a good location on a routing network to start routing for a given location.

Inheritance
System.Object
AlgorithmBase
ResolveMultipleAlgorithm
Inherited Members
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 class ResolveMultipleAlgorithm : AlgorithmBase, IAlgorithm

Constructors

ResolveMultipleAlgorithm(GeometricGraph, Single, Single, Single, Single, Func<GeometricEdge, Boolean>)

Creates a new resolve algorithm.

Declaration
public ResolveMultipleAlgorithm(GeometricGraph graph, float latitude, float longitude, float maxOffset, float maxDistance, Func<GeometricEdge, bool> isAcceptable)
Parameters
GeometricGraph graph

System.Single latitude

System.Single longitude

System.Single maxOffset

System.Single maxDistance

Func<GeometricEdge, System.Boolean> isAcceptable

Properties

Results

Gets the resulting router points.

Declaration
public List<RouterPoint> Results { get; }
Property Value
List<RouterPoint>

Methods

DoRun(CancellationToken)

Executes the actual algorithm.

Declaration
protected override void DoRun(CancellationToken cancellationToken)
Parameters
CancellationToken cancellationToken

Overrides
AlgorithmBase.DoRun(CancellationToken)
Back to top Built by Itinero, MIT licensed.