#include <SamplingAlgorithm.h>
Definition at line 20 of file SamplingAlgorithm.h.
Public Member Functions | |
SamplingAlgorithm (std::shared_ptr< SampleCollection > const &samples) | |
SamplingAlgorithm (std::shared_ptr< SampleCollection > const &samplesIn, std::shared_ptr< SampleCollection > const &QOIsIn) | |
SamplingAlgorithm (std::shared_ptr< SampleCollection > const &samplesIn, std::shared_ptr< parcer::Communicator > const &comm) | |
virtual | ~SamplingAlgorithm ()=default |
virtual std::shared_ptr< SampleCollection > | GetSamples () const |
virtual std::shared_ptr< SampleCollection > | GetQOIs () const |
virtual void | SetState (std::vector< Eigen::VectorXd > const &x0) |
virtual std::shared_ptr< SampleCollection > | Run (std::vector< Eigen::VectorXd > const &x0=std::vector< Eigen::VectorXd >()) |
template<typename... Args> | |
std::shared_ptr< SampleCollection > | Run (Args const &... args) |
std::shared_ptr< parcer::Communicator > | GetCommunicator () const |
SamplingAlgorithm::SamplingAlgorithm | ( | std::shared_ptr< SampleCollection > const & | samples | ) |
Definition at line 7 of file SamplingAlgorithm.cpp.
SamplingAlgorithm::SamplingAlgorithm | ( | std::shared_ptr< SampleCollection > const & | samplesIn, |
std::shared_ptr< SampleCollection > const & | QOIsIn | ||
) |
Definition at line 5 of file SamplingAlgorithm.cpp.
SamplingAlgorithm::SamplingAlgorithm | ( | std::shared_ptr< SampleCollection > const & | samplesIn, |
std::shared_ptr< parcer::Communicator > const & | comm | ||
) |
Definition at line 10 of file SamplingAlgorithm.cpp.
|
virtualdefault |
std::shared_ptr< parcer::Communicator > SamplingAlgorithm::GetCommunicator | ( | ) | const |
Definition at line 22 of file SamplingAlgorithm.cpp.
References comm.
|
virtual |
Reimplemented in muq::SamplingAlgorithms::StaticLoadBalancingMIMCMC.
Definition at line 15 of file SamplingAlgorithm.cpp.
References QOIs.
|
virtual |
Reimplemented in muq::SamplingAlgorithms::StaticLoadBalancingMIMCMC.
Definition at line 13 of file SamplingAlgorithm.cpp.
References samples.
|
inline |
Definition at line 42 of file SamplingAlgorithm.h.
References RunRecurse().
|
virtual |
Definition at line 19 of file SamplingAlgorithm.cpp.
References RunImpl().
Referenced by main(), and RunRecurse().
|
protectedpure virtual |
Implemented in muq::SamplingAlgorithms::ImportanceSampling, and muq::SamplingAlgorithms::StaticLoadBalancingMIMCMC.
Referenced by Run().
|
inlineprivate |
Definition at line 76 of file SamplingAlgorithm.h.
Referenced by Run().
|
inlineprivate |
Definition at line 81 of file SamplingAlgorithm.h.
References nlohmann::detail::last, and Run().
|
virtual |
Definition at line 17 of file SamplingAlgorithm.cpp.
|
protected |
Definition at line 70 of file SamplingAlgorithm.h.
Referenced by GetCommunicator().
|
protected |
Definition at line 67 of file SamplingAlgorithm.h.
Referenced by GetQOIs().
|
protected |
Inputs:
[in] | inputs | Inputs to the algorithm |
Definition at line 65 of file SamplingAlgorithm.h.
Referenced by GetSamples(), and muq::SamplingAlgorithms::ImportanceSampling::RunImpl().