Interface MutationRate

All Known Implementing Classes:
AdaptiveMutationRate, ConstantMutationRate

public interface MutationRate
Interface for the MutationRate.
  • Method Summary

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

    • get

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

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