add problem to readme

This commit is contained in:
Rowan Torbitzky-Lane 2025-01-27 15:59:20 -06:00
parent ef5ce0aaf0
commit 035a7a2f10

View File

@ -6,6 +6,15 @@ the functions in the pyshgp list.
https://erp12.github.io/pyshgp/html/core_instructions.html https://erp12.github.io/pyshgp/html/core_instructions.html
# Big Problem
There is no easy way to determine equality of two functions in Haskell. No comparing names, no nothing.
We coult compare applying two functions to an example state, but that would get tedious and costly quickly.
The only idea floating in my head at the moment is to attach a string to the `StateFunc` Gene to
track what the functions are. This would require a painful redefinition of the tests, but I think would be
worth it in the grand scheme. Would mean we could also track the functions when outputting them after training.
## Tasks ## Tasks
* [ ] Post minimal core of exec to haskell discourse for advice about speed optimization. * [ ] Post minimal core of exec to haskell discourse for advice about speed optimization.
* [x] Do test-driven development on this one. * [x] Do test-driven development on this one.