public static < S extends Solution < ? > > void productOfObjectives ( List < S > solutionsList ) { for ( S solution : solutionsList ) { double product = solution . getObjective ( 0 ) ; for ( int i = 1 ; i < solution . getNumberOfObjectives ( ) ; i ++ ) { product *= solution . getObjective ( i ) ; } setScalarizationValue ( solution , product ) ; } }
Objective values are multiplied .