Метод | Описание | |
---|---|---|
Evaluate ( IChromosome chromosome ) : double |
Evaluates chromosome. The method calculates fitness value of the specified chromosome. |
|
OptimizationFunction ( double x, double y ) : double |
Function to optimize. The method should be overloaded by inherited class to specify the optimization function. |
|
OptimizationFunction2D ( |
Initializes a new instance of the OptimizationFunction2D class.
|
|
Translate ( IChromosome chromosome ) : double[] |
Translates genotype to phenotype The method returns array of two double values, which represent function's input point (X and Y) encoded by the specified chromosome. |
public Evaluate ( IChromosome chromosome ) : double | ||
chromosome | IChromosome | Chromosome to evaluate. |
Результат | double |
public abstract OptimizationFunction ( double x, double y ) : double | ||
x | double | Function X input value. |
y | double | Function Y input value. |
Результат | double |
public OptimizationFunction2D ( |
||
rangeX | Specifies X variable's range. | |
rangeY | Specifies Y variable's range. | |
Результат | System |
public Translate ( IChromosome chromosome ) : double[] | ||
chromosome | IChromosome | Chromosome, which genoteype should be /// translated to phenotype |
Результат | double[] |