Class DiversificationRandom<T extends Variable<?>>

java.lang.Object
jeco.core.operator.selection.SelectionOperator<T>
jeco.core.operator.selection.DiversificationRandom<T>
Type Parameters:
T - Type of the variables of the solutions. This operator is designed to be used in metaheuristics that require a diversification mechanism, like Scatter Search or Genetic Algorithms.

public class DiversificationRandom<T extends Variable<?>> extends SelectionOperator<T>
Random diversification operator.
  • Field Details

    • DEFAULT_DIVERSIFICATION_RATIO

      public static final Double DEFAULT_DIVERSIFICATION_RATIO
      Default diversification ratio, as a percentage of the population size.
    • diversificationSize

      protected Integer diversificationSize
      Size of the diversification set.
  • Constructor Details

    • DiversificationRandom

      public DiversificationRandom(Integer diversificationSize)
      Constructor.
      Parameters:
      diversificationSize - Size of the diversification set.
    • DiversificationRandom

      public DiversificationRandom()
      Constructor.
  • Method Details