Function generate_bags::constant_ratio
source · pub fn constant_ratio(existential_weight: VoteWeight, n_bags: usize) -> f64
Expand description
Compute the constant ratio for the thresholds.
This ratio ensures that each bag, with the possible exceptions of certain small ones and the
final one, is a constant multiple of the previous, while fully occupying the VoteWeight
space.