Class FakeIntegerProblem

java.lang.Object
org.uma.jmetal.problem.integerproblem.impl.AbstractIntegerProblem
org.uma.jmetal.problem.integerproblem.impl.FakeIntegerProblem
All Implemented Interfaces:
Serializable, IntegerProblem, Problem<IntegerSolution>

public class FakeIntegerProblem extends AbstractIntegerProblem
Fake implementation of IntegerProblem. Intended to be used in unit tests.
See Also:
  • Constructor Details

    • FakeIntegerProblem

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

      public FakeIntegerProblem()
  • Method Details

    • evaluate

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