Searched refs:chosen_weight (Results 1 – 1 of 1) sorted by relevance
228 let chosen_weight = self.weight_distribution.sample(rng); in sample() localVariable232 if *w <= chosen_weight { in sample()