SevgiAkten / pycellga

Cellular Genetic Algorithms in Python.
https://sevgiakten.github.io/pycellga/
MIT License
2 stars 1 forks source link

Why Individuals holds the problem info #44

Closed jbytecode closed 3 months ago

jbytecode commented 3 months ago

I have been investigating the problem field in the individual class, but I think an Individual is responsible for holding genes, nothing else, so I tried to remove it.

The commit removes the problem information from the Individual class.

Tests are passed.

https://github.com/SevgiAkten/pycellga/commit/cfe5f3cf5ffcf9fd797eb082cd962945a243f6b0

jbytecode commented 3 months ago

please feel free to close this issue if you are agreed with the change.

SevgiAkten commented 3 months ago

Thank you! I’ve reviewed the changes and agree with them. I'll close the issue now.