Show / Hide Table of Contents

Class UnimodalInstructionGenerator

A unimodal instruction generator, assumes only one vehicle profile used for the entire route.

Inheritance
System.Object
UnimodalInstructionGenerator
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public class UnimodalInstructionGenerator : AlgorithmBase

Constructors

UnimodalInstructionGenerator(Route, UnimodalInstructionGenerator.TryGetDelegate[], ILanguageReference)

Creates a new instruction generator.

Declaration
public UnimodalInstructionGenerator(Route route, UnimodalInstructionGenerator.TryGetDelegate[] tryGetInstructions, ILanguageReference languageReference)
Parameters
Route route

UnimodalInstructionGenerator.TryGetDelegate[] tryGetInstructions

ILanguageReference languageReference

UnimodalInstructionGenerator(Route, UnimodalInstructionGenerator.TryGetDelegate[], UnimodalInstructionGenerator.MergeDelegate, ILanguageReference)

Creates a new instruction generator.

Declaration
public UnimodalInstructionGenerator(Route route, UnimodalInstructionGenerator.TryGetDelegate[] tryGetInstructions, UnimodalInstructionGenerator.MergeDelegate merge, ILanguageReference languageReference)
Parameters
Route route

UnimodalInstructionGenerator.TryGetDelegate[] tryGetInstructions

UnimodalInstructionGenerator.MergeDelegate merge

ILanguageReference languageReference

Properties

Instructions

Gets the generated list of instructions.

Declaration
public List<Instruction> Instructions { get; }
Property Value
List<Instruction>

Methods

DoRun(CancellationToken)

Executes the actual run of the algorithm.

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

Back to top Built by Itinero, MIT licensed.