#include <MaxIntProblem.h>
Inheritance diagram for gal::MaxIntProblem:
Public Member Functions | |
| Chromosome< int > *const | constructChromosome (int chromoLength) |
| Constructs a new Chromosome<int> suitable for representing integers. | |
| Chromosome< int > *const | copyChromosome (Chromosome< int > *chromo) |
| Constructs a new IntChromosome, which is a copy of the specified chromosome. | |
| void const | deleteChromosome (Chromosome< int > *chromo) |
| Deletes a Chromosome<T>* Usually this will be an instance of *a subclass of* Chromosome<T>. | |
| double const | evaluateObjective (Chromosome< int > *chromo) |
| Evaluates the objective function for an input value. | |
|
|
Constructs a new Chromosome<int> suitable for representing integers.
Implements gal::Problem< int >. |
|
|
Constructs a new IntChromosome, which is a copy of the specified chromosome. (necessary, because static typing makes a copy constructor impossible) Implements gal::Problem< int >. |
|
|
Deletes a Chromosome<T>* Usually this will be an instance of *a subclass of* Chromosome<T>. (necessary, because static typing would otherwise default to the superclass's destructor, and would then result in a memory leak.) Implements gal::Problem< int >. |
|
|
Evaluates the objective function for an input value.
Implements gal::Problem< int >. |
1.3.9.1