dignea
1.0.0
Diverse Instance Generator with Novelty Search and Evolutionary Algorithms
|
Class which defines the Order Crossover Operator from Eiben's book. Works for permutation representations. More...
#include <OrderCrossover.h>
Public Member Functions | |
void | run (S &firstInd, S &secondInd) override |
Performs the Order Crossover Operator This operator is used in permutation based problems like TSP. It fixes the first and the last genes to zero (TSP constraint). More... | |
std::string | getName () const override |
Public Member Functions inherited from Crossover< IntFloatSolution > | |
virtual void | run (IntFloatSolution &firstInd, IntFloatSolution &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... | |
Class which defines the Order Crossover Operator from Eiben's book. Works for permutation representations.
S |
|
inlineoverride |