Class EAXOperator
An edge assembly crossover.
Inheritance
System.Object
EAXOperator
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public sealed class EAXOperator : ICrossOverOperator<float, TSProblem, TSPObjective, Tour, float>
Constructors
EAXOperator()
Creates a new EAX crossover.
Declaration
public EAXOperator()
EAXOperator(Int32, EAXOperator.EdgeAssemblyCrossoverSelectionStrategyEnum, Boolean)
Creates a new EAX crossover.
Declaration
public EAXOperator(int maxOffspring, EAXOperator.EdgeAssemblyCrossoverSelectionStrategyEnum strategy, bool nn)
Parameters
|
System.Int32
maxOffspring
|
|
EAXOperator.EdgeAssemblyCrossoverSelectionStrategyEnum
strategy
|
|
System.Boolean
nn
|
Properties
Name
Returns the name of this operator.
Declaration
public string Name { get; }
Property Value
|
System.String
|
Methods
Apply(TSProblem, TSPObjective, Tour, Tour, out Single)
Applies this operator using the given solutions and produces a new solution.
Declaration
public Tour Apply(TSProblem problem, TSPObjective objective, Tour solution1, Tour solution2, out float fitness)
Parameters
|
TSProblem
problem
|
|
TSPObjective
objective
|
|
Tour
solution1
|
|
Tour
solution2
|
|
System.Single
fitness
|
Returns
|
Tour
|