Class FakeDoubleProblem

java.lang.Object
org.uma.jmetal.problem.doubleproblem.impl.AbstractDoubleProblem
org.uma.jmetal.problem.doubleproblem.impl.FakeDoubleProblem
All Implemented Interfaces:
Serializable, DoubleProblem, Problem<DoubleSolution>

public class FakeDoubleProblem extends AbstractDoubleProblem
Fake implementation of DoubleProblem that does nothing. Intended to be used in unit tests.
See Also:
  • Constructor Details

    • FakeDoubleProblem

      public FakeDoubleProblem(int numberOfVariables, int numberOfObjectives, int numberOfConstraints)
    • FakeDoubleProblem

      public FakeDoubleProblem()
  • Method Details

    • evaluate

      public DoubleSolution evaluate(DoubleSolution solution)
      Description copied from interface: Problem
      This method receives a solution, evaluates it, and returns the evaluated solution.
      Returns: