Class ModifiedPenalizedShubertFunction
java.lang.Object
planner.utils.evaluators.testfunctions.TestFunction
planner.utils.evaluators.testfunctions.PenalizedShubertFunction
planner.utils.evaluators.testfunctions.ModifiedPenalizedShubertFunction
- All Implemented Interfaces:
Evaluator
ModifiedPenalizedShubertFunction is a class implementing the Modified
Penalized Shubert's function over the TestFunction abstract base class.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Alicia Vazquez Ramos
-
Field Summary
Fields inherited from class planner.utils.evaluators.testfunctions.TestFunction
exe
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class planner.utils.evaluators.testfunctions.PenalizedShubertFunction
g, u
-
Constructor Details
-
ModifiedPenalizedShubertFunction
Constructor.- Parameters:
exe
- configuration of the current execution.
-
-
Method Details
-
evaluate
Computes the Modified Penalized Shubert's function given a candidate solution.- Specified by:
evaluate
in interfaceEvaluator
- Overrides:
evaluate
in classPenalizedShubertFunction
- Parameters:
genotype
- candidate solution.- Returns:
- fitness of the candidate solution.
- Throws:
IncompatibleConfigurationException
- when the dimension of the problem does not fit with the dimensionality of the function used as evaluator. Thrown if the problem is not 2-Dimensional.
-
toString
Gets a string representing the visualization by console of the Test Function.- Overrides:
toString
in classPenalizedShubertFunction
- Returns:
- the name of the Test Function.
-