Interface CrossoverRate

All Known Implementing Classes:
ConstantCrossoverRate

public interface CrossoverRate
The CrossoverRate is an interface for the crossover rate which is the probability of two individuals undergoing crossover.
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    get()
    Returns the crossover rate as a double value.
    void
    set(double value)
    Sets the crossover rate to a double value.
  • Method Details

    • get

      double get()
      Returns the crossover rate as a double value.
      Returns:
      the crossover rate
    • set

      void set(double value)
      Sets the crossover rate to a double value.
      Parameters:
      value - the new crossover rate