Test for a ssga added.
This commit is contained in:
parent
4388faec2e
commit
a27aa7112a
3 changed files with 122 additions and 7 deletions
|
|
@ -132,10 +132,8 @@ class two2oneOp : public eoGenOp<EOT> // :-)
|
|||
void apply(eoPopulator<EOT>& _plop)
|
||||
{
|
||||
EOT& eo = *_plop; // select the guy
|
||||
++_plop; // advance
|
||||
EOT& eo2 = *_plop;
|
||||
const EOT& eo2 = _plop.select();
|
||||
eo.s = "221(" + eo.s + ", " + eo2.s + ")";
|
||||
_plop.erase();
|
||||
// oh right, and invalidate fitnesses
|
||||
}
|
||||
virtual string className() {return "two2oneOp";}
|
||||
|
|
|
|||
Reference in a new issue