Show / Hide Table of Contents

Interface IPerturber<TWeight, TProblem, TObjective, TSolution, TFitness>

Abstract representation of an operator on the current solution that 'scrables' or changes the solution in some random way depending on a given 'level'.

Inherited Members
IOperator<TWeight, TProblem, TObjective, TSolution, TFitness>.Name
IOperator<TWeight, TProblem, TObjective, TSolution, TFitness>.Supports(TObjective)
IOperator<TWeight, TProblem, TObjective, TSolution, TFitness>.Apply(TProblem, TObjective, TSolution, TFitness)
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public interface IPerturber<TWeight, TProblem, TObjective, TSolution, TFitness> : IOperator<TWeight, TProblem, TObjective, TSolution, TFitness> where TWeight : struct
Type Parameters
TWeight

TProblem

TObjective

TSolution

TFitness

Methods

Apply(TProblem, TObjective, TSolution, Int32, out TFitness)

Returns true if there was an improvement, false otherwise.

Declaration
bool Apply(TProblem problem, TObjective objective, TSolution solution, int level, out TFitness delta)
Parameters
TProblem problem

The problem.

TObjective objective

The objective.

TSolution solution

The solution.

System.Int32 level

The level.

TFitness delta

The difference in fitness.

Returns
System.Boolean

Back to top Built by Itinero, MIT licensed.