~ruther/ctu-fee-eoa

ref: 296be2ccb34ce7187b3b1a202f65467595fc5e03 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.