65 boost::mt19937 engine(0);
66 boost::uniform_int<> distribution;
67 boost::variate_generator<boost::mt19937, boost::uniform_int<> > rng(engine, distribution);
69 for (
size_t i=0; i < pl->size(); ++i)
74 if (
os_) *
os_ << target->id <<
" " << target->sequence() << endl;
75 if (
os_) *
os_ << decoy->id <<
" " << decoy->sequence() << endl;
79 string sequence = target->sequence();
80 random_shuffle(sequence.begin(), sequence.end(), rng);