made stuff virtual
This commit is contained in:
parent
a5261fec51
commit
1d4cfb0da8
3 changed files with 3 additions and 3 deletions
|
|
@ -14,7 +14,7 @@ public :
|
|||
eoNSGA_I_Eval(double nicheWidth, eoEvalFunc<EOT>& eval) : eoMOEval<EOT>(eval), nicheSize(nicheWidth) {}
|
||||
eoNSGA_I_Eval(double nicheWidth, eoPopEvalFunc<EOT>& eval) : eoMOEval<EOT>(eval), nicheSize(nicheWidth) {}
|
||||
|
||||
void operator()(eoPop<EOT>& parents, eoPop<EOT>& offspring) {
|
||||
virutal void operator()(eoPop<EOT>& parents, eoPop<EOT>& offspring) {
|
||||
eval(parents, offspring);
|
||||
|
||||
std::vector<EOT*> pop;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue