Public Member Functions | Private Attributes
JEGAOptimizer::EvaluatorCreator Class Reference

A specialization of the JEGA::FrontEnd::EvaluatorCreator that creates a new instance of a Evaluator. More...

List of all members.

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.

Detailed Description

A specialization of the JEGA::FrontEnd::EvaluatorCreator that creates a new instance of a Evaluator.


Constructor & Destructor Documentation

EvaluatorCreator ( Model theModel) [inline]

Constructs an EvaluatorCreator using the supplied model.

Parameters:
theModelThe Dakota::Model this creator will pass to the created evaluator.

Member Function Documentation

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.

Parameters:
algThe 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: