#include <DakotaParametersFile.hpp>
DakotaParametersFile is an interface to the files that DAKOTA drops on the filesystem to indicate that we should create and run a new DataPoint.
template<typename T >
T openstudio::analysis::DakotaParametersFile::cast |
( |
| ) |
const |
|
inline |
Cast to type T.
Throws std::bad_cast if object is not a T.
std::vector<double> openstudio::analysis::DakotaParametersFile::continuousDesignVariableValues |
( |
| ) |
const |
std::vector<int> openstudio::analysis::DakotaParametersFile::discreteDesignIntegerVariableValues |
( |
| ) |
const |
DakotaFunctionType openstudio::analysis::DakotaParametersFile::getFunctionType |
( |
int |
i | ) |
const |
Return the string description of function i, index starting at 0.
bool openstudio::analysis::DakotaParametersFile::getFunctionValueRequired |
( |
int |
i | ) |
const |
Returns true if Dakota expects to receive the value of function i, index starting at 0.
static boost::optional<DakotaParametersFile> openstudio::analysis::DakotaParametersFile::load |
( |
const openstudio::path & |
p | ) |
|
|
static |
Loads the DAKOTA parameters input file at p, if possible.
Otherwise, return value evaluates to false.
int openstudio::analysis::DakotaParametersFile::numContinuousDesignVariables |
( |
| ) |
const |
int openstudio::analysis::DakotaParametersFile::numDiscreteDesignIntegerVariables |
( |
| ) |
const |
int openstudio::analysis::DakotaParametersFile::numFunctions |
( |
| ) |
const |
int openstudio::analysis::DakotaParametersFile::numVariables |
( |
| ) |
const |
template<typename T >
boost::optional<T> openstudio::analysis::DakotaParametersFile::optionalCast |
( |
| ) |
const |
|
inline |
Cast to boost::optional<T>.
Return value is boost::none (evaluates to false) if object is not a T.
std::vector<double> openstudio::analysis::DakotaParametersFile::uncertainBetaVariableValues |
( |
| ) |
const |
std::vector<int> openstudio::analysis::DakotaParametersFile::uncertainBinomialVariableValues |
( |
| ) |
const |
std::vector<double> openstudio::analysis::DakotaParametersFile::uncertainExponentialVariableValues |
( |
| ) |
const |
std::vector<double> openstudio::analysis::DakotaParametersFile::uncertainFrechetVariableValues |
( |
| ) |
const |
std::vector<double> openstudio::analysis::DakotaParametersFile::uncertainGammaVariableValues |
( |
| ) |
const |
std::vector<int> openstudio::analysis::DakotaParametersFile::uncertainGeometricVariableValues |
( |
| ) |
const |
std::vector<double> openstudio::analysis::DakotaParametersFile::uncertainGumbelVariableValues |
( |
| ) |
const |
std::vector<double> openstudio::analysis::DakotaParametersFile::uncertainHistogramBinVariableValues |
( |
| ) |
const |
std::vector<int> openstudio::analysis::DakotaParametersFile::uncertainHistogramPointVariableValues |
( |
| ) |
const |
std::vector<int> openstudio::analysis::DakotaParametersFile::uncertainHypergeometricVariableValues |
( |
| ) |
const |
std::vector<double> openstudio::analysis::DakotaParametersFile::uncertainLognormalVariableValues |
( |
| ) |
const |
std::vector<double> openstudio::analysis::DakotaParametersFile::uncertainLoguniformVariableValues |
( |
| ) |
const |
std::vector<int> openstudio::analysis::DakotaParametersFile::uncertainNegativeBinomialVariableValues |
( |
| ) |
const |
std::vector<double> openstudio::analysis::DakotaParametersFile::uncertainNormalVariableValues |
( |
| ) |
const |
std::vector<int> openstudio::analysis::DakotaParametersFile::uncertainPoissonVariableValues |
( |
| ) |
const |
std::vector<double> openstudio::analysis::DakotaParametersFile::uncertainTriangularVariableValues |
( |
| ) |
const |
std::vector<double> openstudio::analysis::DakotaParametersFile::uncertainUniformVariableValues |
( |
| ) |
const |
std::vector<double> openstudio::analysis::DakotaParametersFile::uncertainWeibullVariableValues |
( |
| ) |
const |
Returns the variable values for those variables with uncertainty of type.
Throws if type is not applicable to continuous variables.
Returns the variable values for those variables with uncertainty of type.
Throws if type is not applicable to discrete variables.
Returns the variable values for those variables with uncertainty of type.