5 #ifndef DIGNEA_SELECTION_H
6 #define DIGNEA_SELECTION_H
8 #include <dignea/core/Solution.h>
35 virtual S
select(
const vector<S> &population) = 0;
47 virtual void select(
const vector<S> &population,
int &parent) = 0;
49 virtual std::string getName()
const = 0;
Abstract Selection interface.
Definition: Selection.h:21
virtual S select(const vector< S > &population)=0
Method to perform the selection operation. This is a virtual method that must be implemented in the s...
virtual void select(const vector< S > &population, int &parent)=0
Method to perform the selection operation. This is a virtual method that must be implemented in the s...