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, STSProblem, STSPObjective, Tour, STSPFitness>

Properties

Name

Gets the name of this operator.

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

Methods

Apply(STSProblem, STSPObjective, Tour, out STSPFitness)

Applies this operator.

Declaration
public bool Apply(STSProblem problem, STSPObjective objective, Tour solution, out STSPFitness delta)
Parameters
STSProblem problem

STSPObjective objective

Tour solution

STSPFitness delta

Returns
System.Boolean

Supports(STSPObjective)

Returns true if the given objective is supported.

Declaration
public bool Supports(STSPObjective objective)
Parameters
STSPObjective objective

Returns
System.Boolean

Back to top Built by Itinero, MIT licensed.