22#include <boost/archive/binary_iarchive.hpp>
23#include <boost/archive/binary_oarchive.hpp>
24#include <boost/iostreams/device/array.hpp>
25#include <boost/iostreams/stream.hpp>
26#include <boost/serialization/shared_ptr.hpp>
27#include <boost/serialization/string.hpp>
28#include <boost/serialization/vector.hpp>
36 if (comm.rank() == 0) {
37 m_acc(m_obs->operator()(comm));
39 m_obs->operator()(comm);
55 boost::archive::binary_oarchive oa(ss);
63 namespace iostreams = boost::iostreams;
64 iostreams::array_source src(state.data(), state.size());
65 iostreams::stream<iostreams::array_source> ss(src);
66 boost::archive::binary_iarchive ia(ss);
void const * m_system
for bookkeeping purposes
void set_internal_state(std::string const &) final
std::vector< double > mean()
std::vector< double > variance()
std::string get_internal_state() const final
std::vector< double > std_error()
void update(boost::mpi::communicator const &comm) override
std::vector< double > std_error() const
Returns the standard error of the mean assuming uncorrelated samples.
std::vector< double > variance() const
std::vector< double > mean() const