Skip to main content

one_max

Function one_max 

Source
pub fn one_max(bits: &[bool]) -> f64
Expand description

OneMax as a cost: the number of zero bits; optimum 0 (all ones).