Class Tschebyscheff
java.lang.Object
org.uma.jmetal.util.aggregationfunction.impl.Tschebyscheff
- All Implemented Interfaces:
AggregationFunction
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublecompute(double[] vector, double[] weightVector, IdealPoint idealPoint, NadirPoint nadirPoint) Computes the Tschebyscheff aggregation function using the formula: max(|vector[n] - idealPoint.value(n)| * weightVector[n]).voidepsilon(double epsilon) boolean
-
Constructor Details
-
Tschebyscheff
public Tschebyscheff(boolean normalizeObjectives)
-
-
Method Details
-
compute
public double compute(double[] vector, double[] weightVector, IdealPoint idealPoint, NadirPoint nadirPoint) Computes the Tschebyscheff aggregation function using the formula: max(|vector[n] - idealPoint.value(n)| * weightVector[n]). If weightVector[n] is equal to 0, feval is set to 0.000001 * diff.- Specified by:
computein interfaceAggregationFunction- Parameters:
vector- The input vector to be aggregated.weightVector- The weight vector to be used in the aggregation.- Returns:
- The result of the Tschebyscheff aggregation function.
-
epsilon
public void epsilon(double epsilon) - Specified by:
epsilonin interfaceAggregationFunction
-
normalizeObjectives
public boolean normalizeObjectives()- Specified by:
normalizeObjectivesin interfaceAggregationFunction
-