MS-RCPSP
|
Implementation of uniform crossover. More...
#include <UniformCrossover.h>
Public Member Functions | |
UniformCrossover (double _p_cross) | |
T * | cross (T *a, T *b) const override |
template<> | |
PrioSchedule * | cross (PrioSchedule *a, PrioSchedule *b) const |
template<> | |
SimpleSchedule * | cross (SimpleSchedule *a, SimpleSchedule *b) const |
![]() | |
bool | should_cross () const |
Additional Inherited Members | |
![]() | |
Crossover (double _p_cross) | |
Implementation of uniform crossover.
Definition at line 10 of file UniformCrossover.h.
|
overridevirtual |
Takes two specimen and performs crossover on them. Results in a new object.
Implements EvolutionaryAlgorithm::Crossover< T >.