Interface Problem<S>

Type Parameters:
S - Encoding
All Superinterfaces:
Serializable
All Known Subinterfaces:
BinaryProblem, DoubleProblem, DynamicProblem<S,D>, IntegerProblem, PermutationProblem<S>, SequenceProblem<S>
All Known Implementing Classes:
AbstractBinaryProblem, AbstractDoubleProblem, AbstractIntegerPermutationProblem, AbstractIntegerProblem, CharSequenceProblem, ComposableDoubleProblem, FakeBinaryProblem, FakeDoubleProblem, FakeIntegerPermutationProblem, FakeIntegerProblem

public interface Problem<S> extends Serializable
Interface representing a multi-objective optimization problem. A single-objective problem is a multi-objective one with an objective.
Author:
Antonio J. Nebro invalid input: '<'antonio@lcc.uma.es>
  • Method Details

    • numberOfVariables

      int numberOfVariables()
    • numberOfObjectives

      int numberOfObjectives()
    • numberOfConstraints

      int numberOfConstraints()
    • name

      String name()
    • evaluate

      S evaluate(S solution)
      This method receives a solution, evaluates it, and returns the evaluated solution.
      Parameters:
      solution -
      Returns:
    • createSolution

      S createSolution()