choose a constructor
This commit is contained in:
parent
38838f753a
commit
1316949216
1 changed files with 0 additions and 13 deletions
|
|
@ -48,19 +48,6 @@ template <class EOT>
|
||||||
class eoSGA : public eoAlgo<EOT>
|
class eoSGA : public eoAlgo<EOT>
|
||||||
{
|
{
|
||||||
public :
|
public :
|
||||||
eoSGA(
|
|
||||||
eoContinue<EOT>& _cont,
|
|
||||||
eoMonOp<EOT>& _mutate, float _mrate,
|
|
||||||
eoQuadraticOp<EOT>& _cross, float _crate,
|
|
||||||
eoSelectOne<EOT>& _select,
|
|
||||||
eoEvalFunc<EOT>& _eval)
|
|
||||||
: cont(_cont),
|
|
||||||
mutate(_mutate),
|
|
||||||
mutationRate(_mrate),
|
|
||||||
cross(_cross),
|
|
||||||
crossoverRate(_crate),
|
|
||||||
select(_select),
|
|
||||||
eval(_eval) {}
|
|
||||||
|
|
||||||
// added this second ctor as I didn't like the ordering of the parameters
|
// added this second ctor as I didn't like the ordering of the parameters
|
||||||
// in the one above. Any objection :-) MS
|
// in the one above. Any objection :-) MS
|
||||||
|
|
|
||||||
Reference in a new issue