fun postEvaluationStatistics(state: EvolutionState) { super.postEvaluationStatistics(state) state.output.println( ""” Generation: ${state.generation) """.trimIndent(), Output.V_NO_GENERAL, statisticslog ) for (x in 0 until state.population.subpops.length) for (y in 1 until state.population.subpops.get( x ).individuals.length) state.population.subpops.get(x).individuals.get(y).printIndividualForHumans(state, statisticslog, Output.V_NO_GENERAL) }
Logs the best individual of the generation .