Public Member Functions | Private Attributes
SingleMethodStrategy Class Reference

Simple fall-through strategy for running a single iterator on a single model. More...

Inheritance diagram for SingleMethodStrategy:
Strategy

List of all members.

Public Member Functions

 SingleMethodStrategy (ProblemDescDB &problem_db)
 constructor
 ~SingleMethodStrategy ()
 destructor
void run_strategy ()
 Perform the strategy by executing selectedIterator on userDefinedModel.
const Variablesvariables_results () const
 return the final solution from selectedIterator (variables)
const Responseresponse_results () const
 return the final solution from selectedIterator (response)

Private Attributes

Model userDefinedModel
 the model to be iterated
Iterator selectedIterator
 the iterator

Detailed Description

Simple fall-through strategy for running a single iterator on a single model.

This strategy executes a single iterator on a single model. Since it does not provide coordination for multiple iterators and models, it can considered to be a "fall-through" strategy in that it allows control to fall through immediately to the iterator.


The documentation for this class was generated from the following files: