A specialization of the JEGA::FrontEnd::EvaluatorCreator that creates a new instance of a Evaluator.
More...
Inherits EvaluatorCreator.
A specialization of the JEGA::FrontEnd::EvaluatorCreator that creates a new instance of a Evaluator.
◆ EvaluatorCreator()
◆ CreateEvaluator()
virtual GeneticAlgorithmEvaluator* CreateEvaluator |
( |
GeneticAlgorithm & |
alg | ) |
|
|
inlinevirtual |
Overriden to return a newly created Evaluator.
The GA will assume ownership of the evaluator so we needn't worry about keeping track of it for destruction. The additional parameters needed by the Evaluator are stored as members of this class at construction time.
- Parameters
-
alg | The GA for which the evaluator is to be created. |
- Returns
- A pointer to a newly created Evaluator.
The documentation for this class was generated from the following file: