Class TransformObjectivePenalize

All Implemented Interfaces:
AutoCloseable, Problem

public class TransformObjectivePenalize extends BBOBTransformation
Transformation that penalizes the objectives if the decision variables fall outside the region of interest. This transformation currently has no impact on the MOEA Framework since all real-valued decision variables enforce the lower and upper bounds.
  • Constructor Details

    • TransformObjectivePenalize

      public TransformObjectivePenalize(BBOBFunction function, double factor)
      Constructs a new instance of the penalty transformation.
      Parameters:
      function - the inner function
      factor - the penalty factor
  • Method Details

    • evaluate

      public void evaluate(Solution solution)
      Description copied from interface: Problem
      Evaluates the solution, updating the solution's objectives in place. Algorithms must explicitly call this method when appropriate to evaluate new solutions or reevaluate modified solutions.
      Parameters:
      solution - the solution to be evaluated