Dakota  Version 7.0
Explore and Predict with Confidence
Public Member Functions | Private Attributes | List of all members
Study::MethodFactory Class Reference

Constructs methods using an owning Study's runtime services. More...

Public Member Functions

 MethodFactory (const Study &study)
 Construct a factory borrowing study; study must outlive the factory and its products.
 
std::shared_ptr< StudyServices > services () const
 Runtime services for additional DI iterator factories.
 
std::shared_ptr< NonDLHSSampling > sampling (const IRStore &method_store, std::shared_ptr< Model > model) const
 Construct sampling from materialized configuration and a non-null model.
 
std::shared_ptr< NonDLHSSampling > sampling (const nlohmann::json &method_json, std::shared_ptr< Model > model) const
 Validate a method-sampling fragment and construct sampling on model.
 
std::shared_ptr< ParamStudy > vector_parameter_study (const IRStore &method_store, std::shared_ptr< Model > model) const
 Construct a vector parameter study from materialized configuration and model.
 
std::shared_ptr< ParamStudy > vector_parameter_study (const nlohmann::json &method_json, std::shared_ptr< Model > model) const
 Validate a method-vector_parameter_study fragment and construct the method.
 
std::shared_ptr< ParamStudy > list_parameter_study (const IRStore &method_store, std::shared_ptr< Model > model) const
 Construct a list parameter study from materialized configuration and model.
 
std::shared_ptr< ParamStudy > list_parameter_study (const nlohmann::json &method_json, std::shared_ptr< Model > model) const
 Validate a method-list_parameter_study fragment and construct the method.
 
std::shared_ptr< ParamStudy > centered_parameter_study (const IRStore &method_store, std::shared_ptr< Model > model) const
 Construct a centered parameter study from materialized configuration and model.
 
std::shared_ptr< ParamStudy > centered_parameter_study (const nlohmann::json &method_json, std::shared_ptr< Model > model) const
 Validate a method-centered_parameter_study fragment and construct the method.
 
std::shared_ptr< ParamStudy > multidim_parameter_study (const IRStore &method_store, std::shared_ptr< Model > model) const
 Construct a multidimensional parameter study from materialized configuration and model.
 
std::shared_ptr< ParamStudy > multidim_parameter_study (const nlohmann::json &method_json, std::shared_ptr< Model > model) const
 Validate a method-multidim_parameter_study fragment and construct the method.
 
std::shared_ptr< RichExtrapVerification > richardson_extrap (const IRStore &method_store, std::shared_ptr< Model > model) const
 Construct Richardson extrapolation from materialized configuration and model.
 
std::shared_ptr< RichExtrapVerification > richardson_extrap (const nlohmann::json &method_json, std::shared_ptr< Model > model) const
 Validate a method-richardson_extrap fragment and construct the method.
 
std::shared_ptr< NonDLocalSingleInterval > local_interval_est (const IRStore &method_store, std::shared_ptr< Model > model) const
 Construct local interval estimation from materialized configuration and model.
 
std::shared_ptr< NonDLocalSingleInterval > local_interval_est (const nlohmann::json &method_json, std::shared_ptr< Model > model) const
 Validate a method-local_interval_est fragment and construct the method.
 
std::shared_ptr< Iterator > global_interval_est (const IRStore &method_store, std::shared_ptr< Model > model) const
 Construct global interval estimation from materialized configuration and model.
 
std::shared_ptr< Iterator > global_interval_est (const nlohmann::json &method_json, std::shared_ptr< Model > model) const
 Validate a method-global_interval_est fragment and construct the method.
 
std::shared_ptr< EffGlobalMinimizer > efficient_global (const IRStore &method_store, std::shared_ptr< Model > model) const
 Construct efficient global optimization from materialized configuration and model.
 
std::shared_ptr< EffGlobalMinimizer > efficient_global (const nlohmann::json &method_json, std::shared_ptr< Model > model) const
 Validate a method-efficient_global fragment and construct the method.
 
std::shared_ptr< NPSOLOptimizer > npsol_sqp (const IRStore &method_store, std::shared_ptr< Model > model) const
 Construct NPSOL SQP; the build must provide NPSOL.
 
std::shared_ptr< NPSOLOptimizer > npsol_sqp (const nlohmann::json &method_json, std::shared_ptr< Model > model) const
 Validate an npsol_sqp fragment and construct NPSOL SQP; the build must provide NPSOL.
 
std::shared_ptr< NL2SOLLeastSq > nl2sol (const IRStore &method_store, std::shared_ptr< Model > model) const
 Construct NL2SOL; the build must provide NL2SOL.
 
std::shared_ptr< NL2SOLLeastSq > nl2sol (const nlohmann::json &method_json, std::shared_ptr< Model > model) const
 Validate an nl2sol fragment and construct NL2SOL; the build must provide NL2SOL.
 
std::shared_ptr< DOTOptimizer > dot_bfgs (const IRStore &method_store, std::shared_ptr< Model > model) const
 Construct DOT BFGS; throws if Dakota was built without DOT.
 
std::shared_ptr< DOTOptimizer > dot_bfgs (const nlohmann::json &method_json, std::shared_ptr< Model > model) const
 Validate a dot_bfgs fragment and construct it; throws if DOT is unavailable.
 
std::shared_ptr< ConcurrentMetaIterator > multi_start (const IRStore &method_store, std::shared_ptr< Iterator > sub_iterator) const
 Construct multi-start around a non-null injected sub-iterator.
 
std::shared_ptr< ConcurrentMetaIterator > multi_start (const nlohmann::json &method_json, std::shared_ptr< Iterator > sub_iterator) const
 Validate a multi_start fragment and construct it around sub_iterator.
 
std::shared_ptr< ConcurrentMetaIterator > multi_start (const IRStore &method_store, std::shared_ptr< Model > model) const
 Construct multi-start using sub_method_name from the IR (name form).
 
std::shared_ptr< ConcurrentMetaIterator > multi_start (const nlohmann::json &method_json, std::shared_ptr< Model > model) const
 Validate a multi_start fragment and construct it using sub_method_name (name form).
 
std::shared_ptr< ConcurrentMetaIterator > pareto_set (const IRStore &method_store, std::shared_ptr< Iterator > sub_iterator) const
 Construct pareto_set around a non-null injected sub-iterator.
 
std::shared_ptr< ConcurrentMetaIterator > pareto_set (const nlohmann::json &method_json, std::shared_ptr< Iterator > sub_iterator) const
 Validate a pareto_set fragment and construct it around sub_iterator.
 
std::shared_ptr< ConcurrentMetaIterator > pareto_set (const IRStore &method_store, std::shared_ptr< Model > model) const
 Construct pareto_set using sub_method_name from the IR (name form).
 
std::shared_ptr< ConcurrentMetaIterator > pareto_set (const nlohmann::json &method_json, std::shared_ptr< Model > model) const
 Validate a pareto_set fragment and construct it using sub_method_name (name form).
 
std::shared_ptr< SeqHybridMetaIterator > hybrid_sequential (const IRStore &method_store, std::vector< std::shared_ptr< Iterator >> methods) const
 Construct a sequential hybrid around non-null injected sub-iterators.
 
std::shared_ptr< SeqHybridMetaIterator > hybrid_sequential (const nlohmann::json &method_json, std::vector< std::shared_ptr< Iterator >> methods) const
 Validate a hybrid_sequential fragment and construct it.
 
std::shared_ptr< SeqHybridMetaIterator > hybrid_sequential (const IRStore &method_store, std::vector< std::shared_ptr< Model >> models) const
 Construct a sequential hybrid using method_name_list from the IR (name form).
 
std::shared_ptr< SeqHybridMetaIterator > hybrid_sequential (const nlohmann::json &method_json, std::vector< std::shared_ptr< Model >> models) const
 Validate a hybrid_sequential fragment and construct it using method_name_list (name form).
 

Private Attributes

const Study & study
 

Detailed Description

Constructs methods using an owning Study's runtime services.

JSON arguments contain the children of the selected method keyword, without a method array or selector wrapper. IRStore overloads are intended for callers that already have validated, materialized configuration.


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