File boundary_cdhr_walk.hpp

struct BCDHRWalk
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 BallPolytope>
inline void apply(BallPolytope const &P, Point &p1, Point &p2, unsigned int const &walk_length, RandomNumberGenerator &rng)

Private Functions

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

Private Members

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