Monte Carlo transition kernel. More...
#include <MCKernel.h>
Monte Carlo transition kernel.
Samples from the target distirbution directly and returns that state.
Definition at line 12 of file MCKernel.h.
Public Member Functions | |
| MCKernel (boost::property_tree::ptree const &pt, std::shared_ptr< SamplingProblem > problem) | |
| virtual | ~MCKernel ()=default |
| virtual std::vector< std::shared_ptr< SamplingState > > | Step (std::shared_ptr< SamplingState > prevState) override |
Public Member Functions inherited from muq::SamplingAlgorithms::TransitionKernel | |
| TransitionKernel (boost::property_tree::ptree const &pt, std::shared_ptr< AbstractSamplingProblem > problem) | |
| virtual | ~TransitionKernel ()=default |
| virtual void | SetCommunicator (std::shared_ptr< parcer::Communicator > newcomm) |
| virtual void | PreStep (unsigned int const t, std::shared_ptr< SamplingState > state) |
| Allow the kernel to preprocess the current step. More... | |
| virtual void | PostStep (unsigned int const t, std::vector< std::shared_ptr< SamplingState >> const &state) |
| Allow the kernel to adapt given a new state. More... | |
| virtual std::vector< std::shared_ptr< SamplingState > > | Step (unsigned int const t, std::shared_ptr< SamplingState > prevState)=0 |
| virtual void | PrintStatus () const |
| virtual void | PrintStatus (std::string prefix) const |
| virtual void | SetBlockInd (int newBlockInd) |
| virtual int | GetBlockInd () const |
| virtual std::shared_ptr< AbstractSamplingProblem > const & | Problem () const |
Additional Inherited Members | |
Public Types inherited from muq::SamplingAlgorithms::TransitionKernel | |
| typedef boost::function< std::shared_ptr< TransitionKernel >boost::property_tree::ptree, std::shared_ptr< AbstractSamplingProblem >)> | TransitionKernelConstructor |
| typedef std::map< std::string, TransitionKernelConstructor > | TransitionKernelMap |
Static Public Member Functions inherited from muq::SamplingAlgorithms::TransitionKernel | |
| static std::shared_ptr< TransitionKernel > | Construct (boost::property_tree::ptree const &pt, std::shared_ptr< AbstractSamplingProblem > problem) |
| Static constructor for the transition kernel. More... | |
| static std::shared_ptr< TransitionKernelMap > | GetTransitionKernelMap () |
| muq::SamplingAlgorithms::MCKernel::MCKernel | ( | boost::property_tree::ptree const & | pt, |
| std::shared_ptr< SamplingProblem > | problem | ||
| ) |
|
virtualdefault |
|
overridevirtual |
Definition at line 11 of file MCKernel.cpp.
References muq::SamplingAlgorithms::TransitionKernel::problem.