Method | Description | |
---|---|---|
BeginOptimizationRun ( ) : void |
At beginning of new optimization run create a random mangling.
|
|
Fitness ( double parameters, double fitnessLimit, bool oldFeasible, bool newFeasible ) : double |
Compute fitness of wrapped problem and print the result.
|
|
Gradient ( double x, double &v ) : int |
Compute the gradient of the fitness-function. This is not defined for mangled search-spaces.
|
|
Mangler ( Problem problem, double diffusion, double displacement, double spillover, double fitnessNoise ) : System |
Constructs a new object.
|
public Fitness ( double parameters, double fitnessLimit, bool oldFeasible, bool newFeasible ) : double | ||
parameters | double | |
fitnessLimit | double | |
oldFeasible | bool | |
newFeasible | bool | |
return | double |
public Gradient ( double x, double &v ) : int | ||
x | double | Candidate solution. |
v | double | Array for holding the gradient. |
return | int |
public Mangler ( Problem problem, double diffusion, double displacement, double spillover, double fitnessNoise ) : System | ||
problem | Problem | The problem being wrapped. |
diffusion | double | Diffusion factor, larger than 0, e.g. 0.01 |
displacement | double | Displacement factor, larger than 0, e.g. 0.1 |
spillover | double | Spillover factor, larger than 0, e.g. 0.05 |
fitnessNoise | double | FitnessNoise factor, lager than 0, e.g. 0.01 |
return | System |