Class BinomialCrossover

java.lang.Object
dealib.components.crossovers.BinomialCrossover
All Implemented Interfaces:
Crossover

public class BinomialCrossover extends Object implements Crossover
BinomialCrossover is a class implementing a binomial scheme for crossover step over the interface Crossover.
Since:
1.0
Version:
1.0
Author:
Alicia Vazquez Ramos
  • Constructor Details

    • BinomialCrossover

      public BinomialCrossover(Execution exe)
      Constructor.
      Parameters:
      exe - Configurarion of the current execution.
  • Method Details

    • crossIndividuals

      public Individual crossIndividuals(Population p, Individual X, Individual V, Individual... individuals)
      Executes bin crossover scheme over the target/current individual, X and the mutant individual V.
      Specified by:
      crossIndividuals in interface Crossover
      Parameters:
      p - current population.
      X - the target/current individual.
      V - the mutant individual.
      individuals - some possible auxiliary individuals, not used in this scheme.
      Returns:
      the trial individual, U.
    • toString

      public String toString()
      Gets a string representing the visualization by console of the Crossover.
      Overrides:
      toString in class Object
      Returns:
      the name of the Crossover.