hal-cgp
hal-cgp copied to clipboard
Cache decorator consistency check can break when objective functions modify individuals
If a decorated objective function changes individuals, for example by setting new member variables which influence the fitness in subsequent objective function calls, the consistency check can fail. This should be fixed either by storing individuals before they are modified or by not allowing modifying individuals in decorated functions.