pub fn fittest(&self) -> usize {
        assert!(self.len() > 0);
        let mut fittest = 0;

        for i in 1..self.rated_population.len() {
            if self.rated_population[i].1 < self.rated_population[fittest].1 {
                fittest = i;
            }
        }

        return fittest;
    }
/// Return index of individual with best fitness.
Return index of individual with best fitness.
Return index of individual with best fitness .
pub fn fittest(&self) -> usize {
        assert!(self.len() > 0);
        let mut fittest = 0;
        for i in 1..self.rated_population.len() {
            if self.rated_population[i].1 < self.rated_population[fittest].1 {
                fittest = i;
            }
        }
        return fittest;
    }
pub fn fittest ( & self ) -> usize { assert ! ( self len ( ) 0 ) ; let mut fittest = 0 ; for i in 1 .. self . rated_population . len ( ) { if self . rated_population [ i ] . 1 < self . rated_population [ fittest ] . 1 { fittest = i ; } } return fittest ; }
Return index of individual with best fitness.
Return index of individual with best fitness .
&self