|
dignea
1.0.0
Diverse Instance Generator with Novelty Search and Evolutionary Algorithms
|
Abstract Crossover interface. More...
#include <Crossover.h>
Public Member Functions | |
| virtual void | run (S &firstInd, S &secondInd)=0 |
| Method to perform the crossover operation. This is a virtual method that must be implemented in the subclasses. It receives two individuals and performs the corresponding crossover between them. More... | |
| virtual std::string | getName () const =0 |
Abstract Crossover interface.
| S | Type of individual in the population |
|
pure virtual |
Method to perform the crossover operation. This is a virtual method that must be implemented in the subclasses. It receives two individuals and performs the corresponding crossover between them.
| firstInd | |
| secondInd |
Implemented in UniformCrossover< S >.