7 namespace SamplingAlgorithms{
41 virtual Eigen::VectorXd
ESS(std::string
const& method=
"Batch")
const override{
return ESS(-1,method);};
42 virtual Eigen::VectorXd
ESS(
int blockDim)
const override{
return ESS(blockDim,
"");};
43 virtual Eigen::VectorXd
ESS(
int blockDim, std::string
const& method)
const override;
61 virtual Eigen::VectorXd
StandardError(
int blockDim, std::string
const& method)
const override;
68 Eigen::VectorXd
WolffESS(
int blockDim)
const;
75 Eigen::VectorXd
WolffError(
int blockDim)
const;
80 virtual std::shared_ptr<SampleCollection>
segment(
unsigned int startInd,
unsigned int length,
unsigned int skipBy=1)
const override;
85 std::vector<std::unordered_map<std::string, boost::any> >
meta;
A class for storing and working with the results of Markov chain Monte Carlo algorithms.
virtual Eigen::VectorXd StandardError(std::string const &method="Batch") const override
Eigen::VectorXd WolffError(int blockDim) const
static double SingleComponentWolffESS(Eigen::Ref< const Eigen::VectorXd > const &trace)
Eigen::VectorXd WolffESS(int blockDim) const
virtual ~MarkovChain()=default
virtual Eigen::VectorXd ESS(int blockDim) const override
virtual std::shared_ptr< SampleCollection > segment(unsigned int startInd, unsigned int length, unsigned int skipBy=1) const override
std::vector< std::unordered_map< std::string, boost::any > > meta
virtual Eigen::VectorXd StandardError(int blockDim) const override
virtual Eigen::VectorXd ESS(std::string const &method="Batch") const override
A class to hold and analyze a collection of SamplingState objects.