#ifndef COLLAPSED_GIBBS_SAMPLER_HPP #define COLLAPSED_GIBBS_SAMPLER_HPP #include #include #include "tbb/atomic.h" #include "tbb/task_scheduler_init.h" #include "SalmonOpts.hpp" #include "Eigen/Dense" #include "cuckoohash_map.hh" class BootstrapWriter; class CollapsedGibbsSampler { public: using VecType = std::vector; CollapsedGibbsSampler(); template bool sample(ExpT& readExp, SalmonOpts& sopt, std::function&)>& writeBootstrap, uint32_t numSamples = 500); /* template bool sampleMultipleChains(ExpT& readExp, SalmonOpts& sopt, std::function&)>& writeBootstrap, uint32_t numSamples = 500); */ }; #endif // COLLAPSED_EM_OPTIMIZER_HPP