/** * Evaluate() method * @param solutionList * @return */ @Override public Double evaluate(List<S> solutionList) { return generalizedSpread(new ArrayFront(solutionList), referenceParetoFront); }
/** * Creates a list with the available indicators (but setCoverage) * @param referenceFront * @return * @throws FileNotFoundException */ private static List<QualityIndicator<List<PointSolution>, Double>> getAvailableIndicators( Front referenceFront) throws FileNotFoundException { List<QualityIndicator<List<PointSolution>, Double>> list = new ArrayList<>() ; list.add(new Epsilon<PointSolution>(referenceFront)) ; list.add(new PISAHypervolume<PointSolution>(referenceFront)) ; list.add(new GenerationalDistance<PointSolution>(referenceFront)) ; list.add(new InvertedGenerationalDistance<PointSolution>(referenceFront)) ; list.add(new InvertedGenerationalDistancePlus<PointSolution>(referenceFront)) ; list.add(new Spread<PointSolution>(referenceFront)) ; list.add(new GeneralizedSpread<PointSolution>(referenceFront)) ; //list.add(new R2<List<DoubleSolution>>(referenceFront)) ; list.add(new ErrorRatio<List<PointSolution>>(referenceFront)) ; return list ; }