File simple_MC_integration.hpp

Typedefs

typedef double NT
typedef Cartesian<NT> Kernel
typedef Kernel::Point Point
typedef HPolytope<Point> Hpolytope
typedef boost::mt19937 RNGType
typedef BoostRandomNumberGenerator<RNGType, NT> RandomNumberGenerator
typedef HPolytope<Point>::MT MT
typedef HPolytope<Point>::VT VT
typedef std::vector<NT> Limit

Enums

enum volumetype

Values:

enumerator CB
enumerator CG
enumerator SOB

Functions

template<typename Point = Point, typename NT = NT>
bool valid_limits(Point LL, Point UL)
template<typename Point = Point, typename NT = NT>
Point init_limit(Limit L, int dim)
template<typename Point = Point, typename NT = NT>
void initiate_unit_limits(Point &LL, Point &UL, int dim)
template<typename WalkType = BallWalk, typename Polytope = Hpolytope, typename VolumeWalkType = BallWalk, typename RNG = RandomNumberGenerator, typename NT = NT, typename Functor>
NT simple_mc_polytope_integrate(Functor Fx, Polytope &P, RNG &rng, int N = 10000, volumetype voltype = SOB, int walk_length = 1, NT e = 0.1, Point Origin = pt)
template<typename WalkType = BallWalk, typename Polytope = Hpolytope, typename VolumeWalkType = BallWalk, typename RNG = RandomNumberGenerator, typename NT = NT, typename Functor>
NT simple_mc_polytope_integrate(Functor Fx, Polytope &P, int N = 10000, volumetype voltype = SOB, int walk_length = 1, NT e = 0.1, Point Origin = pt)
template<typename WalkType = BallWalk, typename RNG = RandomNumberGenerator, typename NT = NT, typename Functor>
NT simple_mc_integrate(Functor Fx, int dim, RNG &rng, int N = 10000, volumetype voltype = SOB, Limit LowLimit = lt, Limit UpLimit = lt, int walk_length = 10, NT e = 0.1)
template<typename WalkType = BallWalk, typename RNG = RandomNumberGenerator, typename NT = NT, typename Functor>
NT simple_mc_integrate(Functor Fx, int dim, int N = 10000, volumetype voltype = SOB, Limit LowLimit = lt, Limit UpLimit = lt, int walk_length = 10, NT e = 0.1)

Variables

const Limit lt = {0}
const Point pt = {0}