Inheritance diagram for FSUDesignCompExp:
Public Member Functions | |
FSUDesignCompExp (Model &model) | |
primary constructor for building a standard DACE iterator | |
FSUDesignCompExp (Model &model, int samples, int seed, const String &sampling_method) | |
alternate constructor for building a DACE iterator on-the-fly | |
~FSUDesignCompExp () | |
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 String & | sampling_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 | enforce_input_rules () |
enforce sanity checks/modifications for the user input specification | |
Private Attributes | |
int | samplesSpec |
initial specification of number of samples | |
int | numSamples |
current number of samples to be evaluated | |
bool | allDataFlag |
Iterator::all_variables() and Iterator::all_responses(). | |
size_t | numDACERuns |
counter for number of run() executions for this object | |
bool | latinizeFlag |
flag which specifies latinization of QMC or CVT sample sets | |
bool | volQualityFlag |
flag which specifies evaluating the volumetric quality measures | |
bool | varBasedDecompFlag |
sensitivity analysis metrics | |
IntVector | sequenceStart |
variable sampled. Default is 0 0 0 (e.g. for three random variables). | |
IntVector | sequenceLeap |
generated. Default is 1 1 1 (e.g. for three random vars.) | |
IntVector | primeBase |
generated. Default is 2 3 5 (e.g., for three random vars.) | |
int | originalSeed |
(allows repeatable results) | |
int | randomSeed |
current seed for the random number generator | |
bool | varyPattern |
multiple executions are repeatable but not identical. | |
int | numCVTTrials |
specifies the number of sample points taken at internal CVT iteration | |
int | trialType |
halton (1), uniform (0), or random (-1). Default is random. |
The FSUDesignCompExp class provides a wrapper for FSUDace, a C++ design of experiments library from Florida State University. This class uses quasi Monte Carlo (QMC) and Centroidal Voronoi Tesselation (CVT) methods to uniformly sample the parameter space spanned by the active bounds of the current Model. It returns all generated samples and their corresponding responses as well as the best sample found.
FSUDesignCompExp | ( | Model & | model | ) |
primary constructor for building a standard DACE iterator
This constructor is called for a standard iterator built with data from probDescDB.
FSUDesignCompExp | ( | Model & | model, | |
int | samples, | |||
int | seed, | |||
const String & | sampling_method | |||
) |
alternate constructor for building a DACE iterator on-the-fly
This alternate constructor is used for instantiations on-the-fly, using only the incoming data. No problem description database queries are used.
void enforce_input_rules | ( | ) | [private] |
enforce sanity checks/modifications for the user input specification
Users may input a variety of quantities, but this function must enforce any restrictions imposed by the sampling algorithms.