MS-RCPSP
Public Member Functions | List of all members
EvolutionaryAlgorithm::UniformCrossover< T > Class Template Reference

Implementation of uniform crossover. More...

#include <UniformCrossover.h>

Inheritance diagram for EvolutionaryAlgorithm::UniformCrossover< T >:
Inheritance graph
[legend]
Collaboration diagram for EvolutionaryAlgorithm::UniformCrossover< T >:
Collaboration graph
[legend]

Public Member Functions

 UniformCrossover (double _p_cross)
 
T * cross (T *a, T *b) const override
 
template<>
PrioSchedulecross (PrioSchedule *a, PrioSchedule *b) const
 
template<>
SimpleSchedulecross (SimpleSchedule *a, SimpleSchedule *b) const
 
- Public Member Functions inherited from EvolutionaryAlgorithm::Crossover< T >
bool should_cross () const
 

Additional Inherited Members

- Protected Member Functions inherited from EvolutionaryAlgorithm::Crossover< T >
 Crossover (double _p_cross)
 

Detailed Description

template<class T>
class EvolutionaryAlgorithm::UniformCrossover< T >

Implementation of uniform crossover.

Definition at line 10 of file UniformCrossover.h.

Member Function Documentation

template<class T >
T* EvolutionaryAlgorithm::UniformCrossover< T >::cross ( T *  a,
T *  b 
) const
overridevirtual

Takes two specimen and performs crossover on them. Results in a new object.

Implements EvolutionaryAlgorithm::Crossover< T >.


The documentation for this class was generated from the following file: