Class DirectionLocalSearch
A local search operator trying to improve the solution by switching directions.
Inheritance
System.Object
DirectionLocalSearch
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public class DirectionLocalSearch : IOperator<float, TSProblem, TSPObjective, Tour, float>
Properties
Name
Gets the name of this operator.
Declaration
public string Name { get; }
Property Value
|
System.String
|
Methods
Apply(TSProblem, TSPObjective, Tour, out Single)
Applies this operator.
Declaration
public bool Apply(TSProblem problem, TSPObjective objective, Tour solution, out float delta)
Parameters
|
TSProblem
problem
|
|
TSPObjective
objective
|
|
Tour
solution
|
|
System.Single
delta
|
Returns
|
System.Boolean
|
Supports(TSPObjective)
Returns true if the given objective is supported.
Declaration
public bool Supports(TSPObjective objective)
Parameters
|
TSPObjective
objective
|
Returns
|
System.Boolean
|