File gaussian_cdhr_walk.hpp

Functions

template<typename NT, typename RandomNumberGenerator>
NT chord_random_point_generator_exp_coord(const NT &l, const NT &u, const NT &a_i, RandomNumberGenerator &rng)
struct GaussianCDHRWalk

Public Members

parameters param
struct parameters
template<typename Polytope, typename RandomNumberGenerator>
struct Walk

Public Types

typedef Polytope::PointType Point
typedef Point::FT NT

Public Functions

inline Walk(Polytope &P, Point const &p, NT const &a_i, RandomNumberGenerator &rng)
inline Walk(Polytope &P, Point const &p, NT const &a_i, RandomNumberGenerator &rng, parameters&)
template<typename BallPolytope>
inline void apply(BallPolytope const &P, Point &p, NT const &a_i, unsigned int const &walk_length, RandomNumberGenerator &rng)

Private Functions

template<typename BallPolytope>
inline void initialize(BallPolytope const &P, Point const &p, NT const &a_i, RandomNumberGenerator &rng)

Private Members

unsigned int _rand_coord
Point _p
Point _p_prev
Point::Coeff _lamdas