public static < S extends Solution < ? > > void chebyshev ( List < S > solutionsList , double [ ] idealValues ) { for ( S solution : solutionsList ) { double max = solution . getObjective ( 0 ) - idealValues [ 0 ] ; for ( int i = 1 ; i < solution . getNumberOfObjectives ( ) ; i ++ ) { max = Math . max ( max , solution . getObjective ( i ) - idealValues [ i ] ) ; } setScalarizationValue ( solution , max ) ; } }
Scalarization values based on the Chebyshev function .