Rosetta
Classes | Namespaces | Functions
WeightedSampler.hh File Reference

a class to generate random positive integers using a given set of weights More...

#include <numeric/random/WeightedSampler.fwd.hh>
#include <numeric/random/random.fwd.hh>
#include <numeric/types.hh>
#include <utility/vector1.hh>

Classes

class  numeric::random::WeightedSampler
 

Namespaces

 numeric
 Unit headers.
 
 numeric::random
 

Functions

std::ostream & numeric::random::operator<< (std::ostream &out, WeightedSampler const &sampler)
 

Detailed Description

a class to generate random positive integers using a given set of weights

Author
Colin A. Smith