private void accept ( final EvolutionDurations durations ) { final double selection = toSeconds ( durations . getOffspringSelectionDuration ( ) ) + toSeconds ( durations . getSurvivorsSelectionDuration ( ) ) ; final double alter = toSeconds ( durations . getOffspringAlterDuration ( ) ) + toSeconds ( durations . getOffspringFilterDuration ( ) ) ; _selectionDuration . accept ( selection ) ; _alterDuration . accept ( alter ) ; _evaluationDuration . accept ( toSeconds ( durations . getEvaluationDuration ( ) ) ) ; _evolveDuration . accept ( toSeconds ( durations . getEvolveDuration ( ) ) ) ; }
Calculate duration statistics