hal-cgp icon indicating copy to clipboard operation
hal-cgp copied to clipboard

Cache decorator consistency check can break when objective functions modify individuals

Open jakobj opened this issue 4 years ago • 0 comments

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.

jakobj avatar Jun 09 '21 13:06 jakobj