#include <Samplers.h>
Definition at line 84 of file Samplers.h.
◆ ~DisjointUniformSampler()
DisjointUniformSampler::~DisjointUniformSampler |
( |
| ) |
|
|
inline |
◆ DisjointUniformSampler() [1/2]
DisjointUniformSampler::DisjointUniformSampler |
( |
const std::vector< float > & |
ranges | ) |
|
|
inline |
◆ DisjointUniformSampler() [2/2]
DisjointUniformSampler::DisjointUniformSampler |
( |
const std::vector< std::pair< float, float > > & |
ranges | ) |
|
|
inline |
◆ _getRanges()
const std::vector< std::pair<float,float> >& DisjointUniformSampler::_getRanges |
( |
| ) |
|
|
inline |
◆ _map_unit_to_val()
float DisjointUniformSampler::_map_unit_to_val |
( |
float |
x | ) |
|
|
inline |
Definition at line 127 of file Samplers.h.
128 assert(
x >= 0 &&
x <= 1);
129 unsigned int idx = -1, rem = 0;
◆ _setRanges()
void DisjointUniformSampler::_setRanges |
( |
| ) |
|
|
inline |
Definition at line 111 of file Samplers.h.
115 float runningwidth = 0.0;
◆ shoot()
float DisjointUniformSampler::shoot |
( |
| ) |
|
|
inlinevirtual |
◆ m_divisions
std::vector<float> DisjointUniformSampler::m_divisions |
|
private |
◆ m_high
float UniformSampler::m_high {1.0} |
|
inherited |
◆ m_low
float UniformSampler::m_low {} |
|
inherited |
◆ m_random
TRandom Sampler::m_random |
|
inherited |
◆ m_ranges
std::vector< std::pair<float,float> > DisjointUniformSampler::m_ranges |
|
private |
◆ m_totalwidth
float DisjointUniformSampler::m_totalwidth {} |
|
private |
◆ m_val
The documentation for this class was generated from the following file: