Interface ParameterFactory<S extends org.uma.jmetal.solution.Solution<?>>

Type Parameters:
S - The type of solution this factory creates parameters for
All Known Implementing Classes:
BinaryParameterFactory, DoubleParameterFactory, MOPSOParameterFactory, PermutationParameterFactory
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ParameterFactory<S extends org.uma.jmetal.solution.Solution<?>>
A factory interface for creating CategoricalParameter instances specific to different types of solutions.

This interface serves as the base for creating type-safe parameter factories for various solution representations (e.g., binary, permutation, real-valued) in evolutionary algorithms. Implementations of this interface provide concrete parameter creation logic tailored to specific solution types.

Key features:

  • Type-safe parameter creation through generics
  • Centralized parameter instantiation
  • Support for different solution representations
  • Flexible configuration through string-based parameter names

Implementations should handle the creation of all necessary parameters for configuring evolutionary algorithm components such as variation operators, selection mechanisms, and archiving strategies.

Since:
1.0
Author:
Antonio J. Nebro