DDACEDesignCompExp Class Reference

Wrapper class for the DDACE design of experiments library. More...

Inheritance diagram for DDACEDesignCompExp:

PStudyDACE Analyzer Iterator List of all members.

Public Member Functions

 DDACEDesignCompExp (Model &model)
 primary constructor for building a standard DACE iterator
 DDACEDesignCompExp (Model &model, int samples, int symbols, int seed, const String &sampling_method)
 alternate constructor used for building approximations
 ~DDACEDesignCompExp ()
 destructor
void extract_trends ()
 Redefines the run_iterator virtual function for the PStudy/DACE branch.
void sampling_reset (int min_samples, int rec_samples, bool all_data_flag, bool stats_flag)
 reset sampling iterator
const Stringsampling_scheme () const
 return sampling name
void vary_pattern (bool pattern_flag)
 sets varyPattern in derived classes that support it
void get_parameter_sets (const Model &model)
 Returns one block of samples (ndim * num_samples).

Private Member Functions

void compute_main_effects ()
 builds a DDaceMainEffects::OneWayANOVA if mainEffectsFlag is set
void resolve_samples_symbols ()
 number of symbols from input.

Private Attributes

String daceMethod
 oas, lhs, oa_lhs, random, box_behnken, central_composite, or grid
int samplesSpec
 initial specification of number of samples
int symbolsSpec
 initial specification of number of symbols
int numSamples
 current number of samples to be evaluated
int numSymbols
 (inversely related to number of replications)
const int originalSeed
 (allows repeatable results)
int randomSeed
 current seed for the random number generator
bool allDataFlag
 Iterator::all_variables() and Iterator::all_responses().
size_t numDACERuns
 counter for number of run() executions for this object
bool varyPattern
 multiple executions are repeatable but not correlated.
bool volQualityFlag
 flag which specifies evaluating the volumetric quality measures
bool varBasedDecompFlag
 flag which specifies variance based decomposition
bool mainEffectsFlag
 flag which specifies main effects
std::vector< std::vector<
int > > 
symbolMapping
 mapping of symbols for main effects calculations

Detailed Description

Wrapper class for the DDACE design of experiments library.

The DDACEDesignCompExp class provides a wrapper for DDACE, a C++ design of experiments library from the Computational Sciences and Mathematics Research (CSMR) department at Sandia's Livermore CA site. This class uses design and analysis of computer experiments (DACE) methods to sample the design space spanned by the bounds of a Model. It returns all generated samples and their corresponding responses as well as the best sample found.


Constructor & Destructor Documentation

DDACEDesignCompExp ( Model model  ) 

primary constructor for building a standard DACE iterator

This constructor is called for a standard iterator built with data from probDescDB.

DDACEDesignCompExp ( Model model,
int  samples,
int  symbols,
int  seed,
const String sampling_method 
)

alternate constructor used for building approximations

This alternate constructor is used for instantiations on-the-fly, using only the incoming data. No problem description database queries are used.


Member Function Documentation

void resolve_samples_symbols (  )  [private]

number of symbols from input.

This function must define a combination of samples and symbols that is acceptable for a particular sampling algorithm. Users provide requests for these quantities, but this function must enforce any restrictions imposed by the sampling algorithms.


The documentation for this class was generated from the following files:
Generated on Wed Nov 5 19:54:06 2008 for DAKOTA by  doxygen 1.5.1