1 #ifndef __JSUPPORT__JRANDOMSAMPLER__
2 #define __JSUPPORT__JRANDOMSAMPLER__
17 namespace JPP {
using namespace JSUPPORT; }
53 const unsigned int off) :
const JRandomSampler & getRandomSampler() const
Get random sampler.
unsigned int skip_type
Type definition for number of objects to skip.
friend std::istream & operator>>(std::istream &in, JRandomSampler &sampler)
Read random sampler from input.
JRandomSampler()
Default constructor.
skip_type operator()(const T &object) const
Acceptance test operator.
friend std::ostream & operator<<(std::ostream &out, const JRandomSampler &sampler)
Write random sampler to output.
Template class for randomly sampling from a JLANG::JRewindableObjectIterator using a JLANG::JObjectSa...
do set_variable OUTPUT_DIRECTORY $WORKDIR T
then fatal The output file must have the wildcard in the e g root fi eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in
JRandomSampler & getRandomSampler()
Get random sampler.
JRandomSampler(const unsigned int on, const unsigned int off)
Constructor.