Show / Hide Table of Contents

Class SequenceDirectedRouter

An algorithm to calculate u-turn aware sequences solutions.

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

Constructors

SequenceDirectedRouter(IDirectedWeightMatrixAlgorithm<Single>, Single, Tour, SolverBase<Single, SequenceDirectedProblem, SequenceDirectedObjective, Tour, Single>)

Creates a new router.

Declaration
public SequenceDirectedRouter(IDirectedWeightMatrixAlgorithm<float> weightMatrixAlgorithm, float turnPenalty, Tour sequence, SolverBase<float, SequenceDirectedProblem, SequenceDirectedObjective, Tour, float> solver = null)
Parameters
IDirectedWeightMatrixAlgorithm<System.Single> weightMatrixAlgorithm

System.Single turnPenalty

Tour sequence

SolverBase<System.Single, SequenceDirectedProblem, SequenceDirectedObjective, Tour, System.Single> solver

Properties

Tour

Gets the tour.

Declaration
public Tour Tour { get; }
Property Value
Tour

WeightMatrix

Gets the weight matrix.

Declaration
public IDirectedWeightMatrixAlgorithm<float> WeightMatrix { get; }
Property Value
IDirectedWeightMatrixAlgorithm<System.Single>

Methods

DoRun()

Executes the actual algorithm.

Declaration
protected override void DoRun()
Back to top Built by Itinero, MIT licensed.