Show / Hide Table of Contents

Class ShortcutBuilder

A shortcut builder.

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

Constructors

ShortcutBuilder(RouterDb, Profile, String, Coordinate[], IAttributeCollection[], Single, Single, Single)

Creates a new shortcut builder.

Declaration
public ShortcutBuilder(RouterDb routerDb, Profile profile, string name, Coordinate[] locations, IAttributeCollection[] locationsMeta, float switchPenalty, float minShortcutSize, float maxShortcutDuration)
Parameters
RouterDb routerDb

Profile profile

System.String name

Coordinate[] locations

IAttributeCollection[] locationsMeta

System.Single switchPenalty

System.Single minShortcutSize

System.Single maxShortcutDuration

Properties

ShortcutIds

Gets the shortcut ids.

Declaration
public uint[][] ShortcutIds { get; }
Property Value
System.UInt32[][]

ShortcutsDb

Gets the shortcuts db.

Declaration
public ShortcutsDb ShortcutsDb { get; }
Property Value
ShortcutsDb

Methods

DoRun(CancellationToken)

Executes the actual run.

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

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