Skip to main content

artificial_bee_colony

Function artificial_bee_colony 

Source
pub fn artificial_bee_colony<O>(
    objective: O,
    lower: &[f64],
    upper: &[f64],
    n_bees: usize,
    max_iter: usize,
    seed: u64,
) -> Option<(Vec<f64>, f64)>
where O: Fn(&[f64]) -> f64,
Expand description

Artificial Bee Colony (continuous): a swarm explores a box [lower, upper]^d, exploiting good food sources and scouting new ones. Minimizes objective.