Show / Hide Table of Contents

Class TSPTWRouter

An algorithm to calculate TSP-TW solutions.

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

Constructors

TSPTWRouter(IWeightMatrixAlgorithm<Single>, TimeWindow[], Int32, Nullable<Int32>, SolverBase<Single, TSPTWProblem, TSPTWObjective, Tour, Single>)

Creates a new TSP router.

Declaration
public TSPTWRouter(IWeightMatrixAlgorithm<float> weightMatrixAlgorithm, TimeWindow[] windows, int first = 0, int ? last = default (int ? ), SolverBase<float, TSPTWProblem, TSPTWObjective, Tour, float> solver = null)
Parameters
IWeightMatrixAlgorithm<System.Single> weightMatrixAlgorithm

TimeWindow[] windows

System.Int32 first

System.Nullable<System.Int32> last

SolverBase<System.Single, TSPTWProblem, TSPTWObjective, Tour, System.Single> solver

Properties

Tour

Gets the tour.

Declaration
public Tour Tour { get; }
Property Value
Tour

WeightMatrix

Gets the weight matrix.

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

Methods

DoRun()

Excutes the actual algorithm.

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