Function rosomaxa::get_default_population
source · pub fn get_default_population<O, S>(
objective: Arc<O>,
environment: Arc<Environment>,
selection_size: usize
) -> Box<dyn HeuristicPopulation<Objective = O, Individual = S> + Send + Sync>where
O: HeuristicObjective<Solution = S> + Shuffled + 'static,
S: HeuristicSolution + RosomaxaWeighted + DominanceOrdered + 'static,
Expand description
Gets default population algorithm.