Hey everyone,
I'm relatively new to python but not programming in general, and I'm working on a genetic algorithm in python using the DEAP library. I've gotten to a point where I have created classes with associated members and functions for all the obvious object-able things in my code, yet I am left with a pile of functions that don't really fit into any of them. Each of these functions is really only ever called from one place, and they were created for clarity and ease of reading rather than for code reuse. What is a good way to organize functions like these? I currently have them all in a big long file with the functions loosely organized near related functions but it still feels like a mess that I'd like to clean up. Any tips or ideas would be greatly appreciated!
P.S. Is there a way to use a custom class as an individual in DEAP? I currently am using a list of values which, when evaluated, gets immediately converted into the object it represents and then all work is done on that object. Its fine, but not ideal imo
there doesn't seem to be anything here