Crate mendel[][src]

The mendel crate provides a non-sophisticated way to predict probabilities of population selections, such as the odds of selecting a green ball out of a bag of many different colored balls or the odds of selecting 2 boys and 1 girl from a classroom. mendel accomplishes not through (arguably trivial) mathematical probability formulas, but rather via running many simulations on the population selections and recording the results.



The Bag struct. The main collection type for holding populations of things.