$extrastylesheet
Dakota
Version 6.2
|
A specialization of the JEGA::FrontEnd::EvaluatorCreator that creates a new instance of a Evaluator. More...
Public Member Functions | |
virtual GeneticAlgorithmEvaluator * | CreateEvaluator (GeneticAlgorithm &alg) |
Overriden to return a newly created Evaluator. | |
EvaluatorCreator (Model &theModel) | |
Constructs an EvaluatorCreator using the supplied model. | |
Private Attributes | |
Model & | _theModel |
The user defined model to be passed to the constructor of the Evaluator. |
A specialization of the JEGA::FrontEnd::EvaluatorCreator that creates a new instance of a Evaluator.
EvaluatorCreator | ( | Model & | theModel | ) | [inline] |
Constructs an EvaluatorCreator using the supplied model.
theModel | The Dakota::Model this creator will pass to the created evaluator. |
virtual GeneticAlgorithmEvaluator* CreateEvaluator | ( | GeneticAlgorithm & | alg | ) | [inline, virtual] |
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.
alg | The GA for which the evaluator is to be created. |