Show / Hide Table of Contents

Class DirectionLocalSearchOperator

A local search operator trying to improve the solution by switching directions.

Inheritance
System.Object
DirectionLocalSearchOperator
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public class DirectionLocalSearchOperator : IOperator<float, SequenceDirectedProblem, SequenceDirectedObjective, Tour, float>

Properties

Name

Gets the name of this operator.

Declaration
public string Name { get; }
Property Value
System.String

Methods

Apply(SequenceDirectedProblem, SequenceDirectedObjective, Tour, out Single)

Applies this operator.

Declaration
public bool Apply(SequenceDirectedProblem problem, SequenceDirectedObjective objective, Tour solution, out float delta)
Parameters
SequenceDirectedProblem problem

SequenceDirectedObjective objective

Tour solution

System.Single delta

Returns
System.Boolean

Supports(SequenceDirectedObjective)

Returns true if the given objective is supported.

Declaration
public bool Supports(SequenceDirectedObjective objective)
Parameters
SequenceDirectedObjective objective

Returns
System.Boolean

Back to top Built by Itinero, MIT licensed.