Interface CrossoverOperator<T>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void cross​(T c1, T c2)
      Performs a crossover for an evolutionary algorithm, such that crossover forms two children from two parents.
      • Methods inherited from interface org.cicirello.search.concurrent.Splittable

        split
    • Method Detail

      • cross

        void cross​(T c1,
                   T c2)
        Performs a crossover for an evolutionary algorithm, such that crossover forms two children from two parents. Implementations of this method modify the parameters, transforming the parents into the children.
        Parameters:
        c1 - A candidate solution subject to the crossover. This method changes the state of c1.
        c2 - A candidate solution subject to the crossover. This method changes the state of c2.