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

Base abstract class for selection operators. More...

#include <Selector.h>

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

Public Member Functions

virtual T * select (const Population< T > &p) const =0
 

Detailed Description

template<class T>
class EvolutionaryAlgorithm::Selector< T >

Base abstract class for selection operators.

If you want to implement your own selection operator, create a subclass of Selector and override Selector::select function.

Definition at line 15 of file Selector.h.

Member Function Documentation

template<class T >
virtual T* EvolutionaryAlgorithm::Selector< T >::select ( const Population< T > &  p) const
pure virtual

Selects the candidate specimen from the population.

Implemented in EvolutionaryAlgorithm::TournamentSelector< T >.


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