private double calculateBest(){
  double best=0.0;
  for (int i=0; i < metrics.length; i++) {
    best=Math.max(metrics[i][metric],best);
  }
  return best;
}

private double calculateBest ( ) { double best = 0.0 ; for ( int i = 0 ; i < metrics . length ; i ++ ) { best = Math . max ( metrics [ i ] [ metric ] , best ) ; } return best ; }
returns the best achieved metric value .
