~ruther/ctu-fee-eoa

ref: ef07dac05f823f189763ad0e33c1d64cb1a1ca49 ctu-fee-eoa/env/src/fitness/real.rs -rw-r--r-- 6.9 KiB
79c83af9 — Rutherther 2 months ago
feat: add real fitness functions

Add linear, step, rastrigin, griewank and schwefel fitness functions
along with the tests for them.

Try using static vector where appropriate, but use OVector for those
where filling with zeros won't work. This is mostly a constrain for
the tests... rather than a real constrain. In the end the dimensions
will be given for each problem.