public double invertedGenerationalDistancePlus ( Front front , Front referenceFront ) { double sum = 0.0 ; for ( int i = 0 ; i < referenceFront . getNumberOfPoints ( ) ; i ++ ) { sum += FrontUtils . distanceToClosestPoint ( referenceFront . getPoint ( i ) , front , new DominanceDistance ( ) ) ; } // STEP 4. Divide the sum by the maximum number of points of the reference Pareto front return sum / referenceFront . getNumberOfPoints ( ) ; }
Returns the inverted generational distance plus value for a given front