Function revonet::ea::get_best_individual [] [src]

pub fn get_best_individual<T: Individual + Clone>(popul: &Vec<T>) -> T

Get copy of the individual having the best fitness value.

Arguments:

  • popul - vector of individuals to select from.