Dakota  Version 6.20
Explore and Predict with Confidence
Public Member Functions | Private Attributes | List of all members
JEGAOptimizer::EvaluatorCreator Class Reference

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

Inherits EvaluatorCreator.

Public Member Functions

virtual GeneticAlgorithmEvaluator * CreateEvaluator (GeneticAlgorithm &alg)
 Overriden to return a newly created Evaluator. More...
 
 EvaluatorCreator (Model &theModel)
 Constructs an EvaluatorCreator using the supplied model. More...
 

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()

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

◆ 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
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: