File uniform_rdhr_walk.hpp

struct RDHRWalk

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

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

Private Functions

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

Private Members

Point _p
NT _lambda
Point::Coeff _lamdas
Point::Coeff _Av