private static boolean checkAboutNormalization ( String args [ ] ) { boolean normalize = false ; if ( args . length == 4 ) { if ( args [ 3 ] . equals ( "TRUE" ) ) { normalize = true ; } else if ( args [ 3 ] . equals ( "FALSE" ) ) { normalize = false ; } else { throw new JMetalException ( "The value for normalizing must be TRUE or FALSE" ) ; } } return normalize ; }
Checks if normalization is set