Show / Hide Table of Contents

Class PresolvedMassResolvingAlgorithm

A dummy mass-resolve implementation which returns presolved results

Inheritance
System.Object
AlgorithmBase
PresolvedMassResolvingAlgorithm
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 PresolvedMassResolvingAlgorithm : AlgorithmBase, IMassResolvingAlgorithm, IAlgorithm

Constructors

PresolvedMassResolvingAlgorithm(RouterBase, IProfileInstance[], List<RouterPoint>)

Creates a new presolved mass resolve algorithm

Declaration
public PresolvedMassResolvingAlgorithm(RouterBase router, IProfileInstance[] profiles, List<RouterPoint> routerPoints)
Parameters
RouterBase router

IProfileInstance[] profiles

List<RouterPoint> routerPoints

Properties

Errors

Returns the errors indexed per location idx.

Declaration
public Dictionary<int, LocationError> Errors { get; }
Property Value
Dictionary<System.Int32, LocationError>

Implements
IMassResolvingAlgorithm.Errors

Locations

Gets the original locations.

Declaration
public Coordinate[] Locations { get; }
Property Value
Coordinate[]

Implements
IMassResolvingAlgorithm.Locations

Profiles

Gets the profiles.

Declaration
public IProfileInstance[] Profiles { get; }
Property Value
IProfileInstance[]

Implements
IMassResolvingAlgorithm.Profiles

Router

Gets the router.

Declaration
public RouterBase Router { get; }
Property Value
RouterBase

Implements
IMassResolvingAlgorithm.Router

RouterPoints

Gets the valid router points.

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

Implements
IMassResolvingAlgorithm.RouterPoints

Methods

DoRun(CancellationToken)

Nothing to be done

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

Overrides
AlgorithmBase.DoRun(CancellationToken)

LocationIndexOf(Int32)

Returns the index of the location in the original locations array, given the resolved point index..

Declaration
public int LocationIndexOf(int resolvedIdx)
Parameters
System.Int32 resolvedIdx

Returns
System.Int32

Implements
IMassResolvingAlgorithm.LocationIndexOf(Int32)

ResolvedIndexOf(Int32)

Returns the index of the resolved point, given the original index of in the locations array.

Declaration
public int ResolvedIndexOf(int locationIdx)
Parameters
System.Int32 locationIdx

Returns
System.Int32

Implements
IMassResolvingAlgorithm.ResolvedIndexOf(Int32)
Back to top Built by Itinero, MIT licensed.