nojhan / paradiseo

An evolutionary computation framework to (automatically) build fast parallel stochastic optimization solvers
https://nojhan.github.io/paradiseo/
Other
92 stars 33 forks source link

Add filtered operators and initializer #33

Open lehnerpat opened 10 years ago

lehnerpat commented 10 years ago

These three classes are variants of the standard initializer (eoInit) and the main operators (eoMonOp and eoQuadOp) which filter the output individuals by a simple mechanism:

Some points to consider and discuss:

nojhan commented 4 years ago

Thanks for this feature.

To answer your questions: 1) yes, tests should be added in the /test/ directory. It's just a matter of adding a t-<class>.cpp binary that use assert to check the results. Then adding the name in the cmake configuration in the same directory. Just look at the existing tests. 2) Yes, please, you can start by using the above message as a comment. 3) I prefer to name from more general to more specific, so I would favor eoInitFilter. 4) It would be nice to have, yes. 5) The license of the EO module should be LGPLv2, or I will not merge it because mixing license is a problem (yes we should clean the whole repository indeed).