question: protected void calculateFitness ( ) { logger . debug ( "Calculating fitness for " + population . size ( ) + " individuals" ) ; Iterator < T > iterator = population . iterator ( ) ; while ( iterator . hasNext ( ) ) { T c = iterator . next ( ) ; if ( isFinished ( ) ) { if ( c . isChanged ( ) ) iterator . remove ( ) ; } else { calculateFitness ( c ) ; } } }
target:  Calculate fitness for all individuals