The program implements a genetic algorithm for finding the maximum of a function.
The problem, as I understand it, is that when declaring a class, Python does not see other classes.
Error: NameError: name [NameClass] is not defined.
I would be grateful for tips and advice, in which direction to dig.
The code is presented by reference.