File sampling.hpp
Functions
-
template<typename WalkTypePolicy, typename PointList, typename Polytope, typename RandomNumberGenerator, typename Point>
void uniform_sampling(PointList &randPoints, Polytope &P, RandomNumberGenerator &rng, const unsigned int &walk_len, const unsigned int &rnum, const Point &starting_point, unsigned int const &nburns)
-
template<typename PointList, typename Polytope, typename RandomNumberGenerator, typename WalkTypePolicy, typename Point>
void uniform_sampling(PointList &randPoints, Polytope &P, RandomNumberGenerator &rng, WalkTypePolicy &WalkType, const unsigned int &walk_len, const unsigned int &rnum, const Point &starting_point, unsigned int const &nburns)
-
template<typename WalkTypePolicy, typename PointList, typename Polytope, typename RandomNumberGenerator, typename Point>
void uniform_sampling_boundary(PointList &randPoints, Polytope &P, RandomNumberGenerator &rng, const unsigned int &walk_len, const unsigned int &rnum, const Point &starting_point, unsigned int const &nburns)
-
template<typename WalkTypePolicy, typename PointList, typename Polytope, typename RandomNumberGenerator, typename NT, typename Point>
void gaussian_sampling(PointList &randPoints, Polytope &P, RandomNumberGenerator &rng, const unsigned int &walk_len, const unsigned int &rnum, const NT &a, const Point &starting_point, unsigned int const &nburns)
-
template<typename PointList, typename Polytope, typename RandomNumberGenerator, typename WalkTypePolicy, typename NT, typename Point>
void gaussian_sampling(PointList &randPoints, Polytope &P, RandomNumberGenerator &rng, WalkTypePolicy &WalkType, const unsigned int &walk_len, const unsigned int &rnum, const NT &a, const Point &starting_point, unsigned int const &nburns)
-
template<typename WalkTypePolicy, typename PointList, typename Polytope, typename RandomNumberGenerator, typename Point>
void shakeandbake_sampling(PointList &randPoints, Polytope &P, RandomNumberGenerator &rng, const unsigned int walk_len, const unsigned int rnum, const Point &starting_point, unsigned int const &nburns = 0, int facet_idx = -1)
-
template<typename PointList, typename Polytope, typename RandomNumberGenerator, typename WalkTypePolicy, typename NT, typename Point, typename NegativeGradientFunctor, typename NegativeLogprobFunctor, typename Solver>
void logconcave_sampling(PointList &randPoints, Polytope &P, RandomNumberGenerator &rng, const unsigned int &walk_len, const unsigned int &rnum, const Point &starting_point, unsigned int const &nburns, NegativeGradientFunctor &F, NegativeLogprobFunctor &f)
-
template<typename WalkTypePolicy, typename PointList, typename Polytope, typename RandomNumberGenerator, typename Point>
void billiard_shakeandbake_sampling(PointList &randPoints, Polytope &P, RandomNumberGenerator &rng, const unsigned int walk_len, int nr, const unsigned int rnum, const Point &starting_point, unsigned int const &nburns = 0, int facet_idx = -1)
-
template<typename PointList, typename Polytope, typename RandomNumberGenerator, typename WalkTypePolicy, typename NT, typename Point, typename NegativeGradientFunctor, typename NegativeLogprobFunctor, typename HessianFunctor, typename Solver>
void crhmc_sampling(PointList &randPoints, Polytope &P, RandomNumberGenerator &rng, const int walk_len, const unsigned int rnum, const unsigned int nburns, NegativeGradientFunctor &F, NegativeLogprobFunctor &f, HessianFunctor &h, int simdLen = 1, bool raw_output = false)
-
template<typename Polytope, typename RNGType, typename PointList, typename NegativeGradientFunctor, typename NegativeLogprobFunctor, typename HessianFunctor, typename CRHMCWalk, int simdLen = 1>
void execute_crhmc(Polytope &P, RNGType &rng, PointList &randPoints, unsigned int const &walkL, unsigned int const &numpoints, unsigned int const &nburns, NegativeGradientFunctor *F = NULL, NegativeLogprobFunctor *f = NULL, HessianFunctor *h = NULL, bool raw_output = false)
-
template<typename WalkTypePolicy, typename PointList, typename Polytope, typename RandomNumberGenerator, typename NT, typename Point>
void exponential_sampling(PointList &randPoints, Polytope &P, RandomNumberGenerator &rng, const unsigned int &walk_len, const unsigned int &rnum, const Point &c, const NT &a, const Point &starting_point, unsigned int const &nburns)
-
template<typename PointList, typename Polytope, typename RandomNumberGenerator, typename WalkTypePolicy, typename NT, typename Point>
void exponential_sampling(PointList &randPoints, Polytope &P, RandomNumberGenerator &rng, WalkTypePolicy &WalkType, const unsigned int &walk_len, const unsigned int &rnum, const Point &c, const NT &a, const Point &starting_point, unsigned int const &nburns)
-
template<typename WalkTypePolicy, typename PointList, typename Polytope, typename RandomNumberGenerator, typename NT, typename Point>
void exponential_sampling(PointList &randPoints, Polytope &P, RandomNumberGenerator &rng, const unsigned int &walk_len, const unsigned int &rnum, const Point &c, const NT &a, const NT &eta, const Point &starting_point, unsigned int const &nburns)
-
template<typename PointList, typename Polytope, typename RandomNumberGenerator, typename WalkTypePolicy, typename NT, typename Point>
void exponential_sampling(PointList &randPoints, Polytope &P, RandomNumberGenerator &rng, WalkTypePolicy &WalkType, const unsigned int &walk_len, const unsigned int &rnum, const Point &c, const NT &a, const NT &eta, const Point &starting_point, unsigned int const &nburns)