var searchIndex = {}; searchIndex["random_choice"] = {"doc":"# Rust Random Choice\nThis is an implementation of the stochastic universal sampling algorithm:\nhttps://en.wikipedia.org/wiki/Stochastic_universal_sampling","items":[[3,"RandomChoice","random_choice","",null,null],[11,"random_choice_f64","","Chooses n samples by their weights. The greater their weights the more likely they get chosen.",0,null],[11,"random_choice_in_place_f64","","Chooses n samples by their weights. The greater their weights the more likely they get chosen.\nThe result gets saved directly in the samples argument.\n@invariant sum of weights must not overflow.\n@param samples The to be selected samples\n@param weights Weights that get chosen by their weight/probability. One weight can be greater 1.",0,null],[11,"random_choice_f32","","",0,null],[11,"random_choice_in_place_f32","","",0,null]],"paths":[[3,"RandomChoice"]]}; initSearch(searchIndex);