22 #ifndef OPAL_SAMPLE_WEIGHTED_SEQUENCE_H
23 #define OPAL_SAMPLE_WEIGHTED_SEQUENCE_H
34 :
unif_m(0, size_t((upper - lower) / step))
40 :
unif_m(0, size_t((upper - lower) / step),
seed)
45 void create(boost::shared_ptr<SampleIndividual>& ind,
size_t i) {
boost::shared_ptr< CmdArguments > CmdArguments_t
int seed
The current random seed.
void create(boost::shared_ptr< SampleIndividual > &ind, size_t i)
SampleRandomizedSequence(T lower, T upper, double step)
SampleRandomizedSequence(T lower, T upper, double step, size_t seed)
std::vector< T > points_m
void allocate(const CmdArguments_t &args, const Comm::Bundle_t &comm)
void allocate(const CmdArguments_t &, const Comm::Bundle_t &comm)
bundles all communicators for a specific role/pid