Searched refs:rand_trial (Results 1 – 2 of 2) sorted by relevance
1759 std::bernoulli_distribution rand_trial(1./8.); in neighbourhoodMaintenance() local1761 if (std::next(q) != list.end() && (q->nodes.empty() || rand_trial(rd))) in neighbourhoodMaintenance()1763 if (b != list.begin() && (q->nodes.empty() || rand_trial(rd))) { in neighbourhoodMaintenance()1784 std::bernoulli_distribution rand_trial(1./8.); in bucketMaintenance() local1798 if (std::next(b) != list.end() && (q->nodes.empty() || rand_trial(rd))) in bucketMaintenance()1800 if (b != list.begin() && (q->nodes.empty() || rand_trial(rd))) { in bucketMaintenance()