Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Guard against +Infinity Objective Values due to Termination
If the search is terminated by a timer thread, it might terminate between the last call to shouldTerminate() and the evaluate function. This would cause objective values of positive infinity. Then, FFA will break with an ArrayIndexOutOfBoundsException. We now assign positive infinity as fitness to all non-finite objective values.
- Loading branch information