Skip to main content

enumerate_bits

Function enumerate_bits 

Source
pub fn enumerate_bits<M: MultiObjective<Vec<bool>>>(
    problem: &mut M,
    n: usize,
) -> Vec<(Vec<bool>, Vec<f64>, f64)>
Expand description

Every objective vector (and violation) of the 2^n bit strings of length n, for brute-force reference fronts.

ยงPanics

Panics if n > 20 (a million genomes).