File multithread_walks.hpp

struct BCDHRWalk_multithread
template<typename NT, typename Point>
struct thread_parameters

Public Functions

inline thread_parameters(unsigned int d, unsigned int m)

Public Members

Point p
Point p1
Point p2
Point p_prev
unsigned int rand_coord_prev
unsigned int rand_coord
Point::Coeff lambdas
template<typename Polytope, typename RandomNumberGenerator>
struct Walk

Public Types

typedef Polytope::PointType Point
typedef Point::FT NT
typedef thread_parameters<NT, Point> thread_parameters_

Public Functions

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

Private Functions

template<typename GenericBody>
inline void initialize(GenericBody const &P, thread_parameters_ &params, RandomNumberGenerator &rng)
struct BRDHRWalk_multithread
template<typename NT, typename Point>
struct thread_parameters

Public Functions

inline thread_parameters(unsigned int d, unsigned int m)

Public Members

Point p
Point p1
Point p2
Point v
NT lambda_prev
Point::Coeff lambdas
Point::Coeff Av
template<typename Polytope, typename RandomNumberGenerator>
struct Walk

Public Types

typedef Polytope::PointType Point
typedef Point::FT NT
typedef thread_parameters<NT, Point> thread_parameters_

Public Functions

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

Private Functions

template<typename GenericBody>
inline void initialize(GenericBody const &P, thread_parameters_ &params, RandomNumberGenerator &rng)
struct GaussianCDHRWalk_multithread
template<typename NT, typename Point>
struct thread_parameters

Public Functions

inline thread_parameters(unsigned int d, unsigned int m)

Public Members

Point p
Point p_prev
unsigned int rand_coord_prev
unsigned int rand_coord
Point::Coeff lambdas
template<typename Polytope, typename RandomNumberGenerator>
struct Walk

Public Types

typedef Polytope::PointType Point
typedef Point::FT NT
typedef thread_parameters<NT, Point> thread_parameters_

Public Functions

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

Private Functions

template<typename BallPolytope>
inline void initialize(BallPolytope const &P, thread_parameters_ &params, NT const &a_i, RandomNumberGenerator &rng)
struct GaussianRDHRWalk_multithread
template<typename NT, typename Point>
struct thread_parameters

Public Functions

inline thread_parameters(unsigned int d, unsigned int m)

Public Members

Point p
Point v
template<typename Polytope, typename RandomNumberGenerator>
struct Walk

Public Types

typedef Polytope::PointType Point
typedef Point::FT NT
typedef thread_parameters<NT, Point> thread_parameters_

Public Functions

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

Public Functions

inline BilliardWalk_multithread(double L)
inline BilliardWalk_multithread()

Public Members

parameters param
struct parameters

Public Functions

inline parameters(double L, bool set)

Public Members

double m_L
bool set_L
template<typename NT, typename Point>
struct thread_parameters

Public Functions

inline thread_parameters(unsigned int d, unsigned int m)

Public Members

Point p
Point p0
Point v
NT lambda_prev
Point::Coeff lambdas
Point::Coeff Av
template<typename Polytope, typename RandomNumberGenerator>
struct Walk

Public Types

typedef Polytope::PointType Point
typedef Point::FT NT
typedef thread_parameters<NT, Point> thread_parameters_

Public Functions

template<typename GenericPolytope>
inline Walk(GenericPolytope &P, thread_parameters_ &parameters, RandomNumberGenerator &rng)
template<typename GenericPolytope, typename parameters_>
inline Walk(GenericPolytope &P, thread_parameters_ &parameters, RandomNumberGenerator &rng, parameters_ const &params)
template<typename GenericPolytope>
inline void apply(GenericPolytope &P, thread_parameters_ &parameters, unsigned int const &walk_length, RandomNumberGenerator &rng)
inline void update_delta(NT L)

Private Functions

template<typename GenericPolytope>
inline void initialize(GenericPolytope &P, thread_parameters_ &parameters, RandomNumberGenerator &rng)

Private Members

NT _Len
struct CDHRWalk_multithread
template<typename NT, typename Point>
struct thread_parameters

Public Functions

inline thread_parameters(unsigned int d, unsigned int m)

Public Members

Point p
Point p_prev
unsigned int rand_coord_prev
unsigned int rand_coord
Point::Coeff lambdas
template<typename Polytope, typename RandomNumberGenerator>
struct Walk

Public Types

typedef Polytope::PointType Point
typedef Point::FT NT
typedef thread_parameters<NT, Point> thread_parameters_

Public Functions

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

Private Functions

template<typename BallPolytope>
inline void initialize(BallPolytope const &P, thread_parameters_ &params, RandomNumberGenerator &rng)
struct RDHRWalk_multithread
template<typename NT, typename Point>
struct thread_parameters

Public Functions

inline thread_parameters(unsigned int d, unsigned int m)

Public Members

Point p
Point v
NT lambda_prev
Point::Coeff lambdas
Point::Coeff Av
template<typename Polytope, typename RandomNumberGenerator>
struct Walk

Public Types

typedef Polytope::PointType Point
typedef Point::FT NT
typedef thread_parameters<NT, Point> thread_parameters_

Public Functions

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

Private Functions

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