Module org.cicirello.chips_n_salsa
Package org.cicirello.search.operators
Interface CrossoverOperator<T>
- Type Parameters:
T
- The type of object used to represent candidate solutions to the problem.
- All Superinterfaces:
Splittable<CrossoverOperator<T>>
- All Known Implementing Classes:
HybridCrossover
,KPointCrossover
,KPointCrossover
,KPointCrossover
,SinglePointCrossover
,SinglePointCrossover
,SinglePointCrossover
,TwoPointCrossover
,TwoPointCrossover
,TwoPointCrossover
,UniformCrossover
,UniformCrossover
,UniformCrossover
,WeightedHybridCrossover
Implement the CrossoverOperator interface to implement a crossover operator for use in evolutionary algorithms.
-
Method Summary
Methods inherited from interface org.cicirello.search.concurrent.Splittable
split
-
Method Details
-
cross
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.
-