The "isBetterThanCurrent" method of the "Archive" class checks if a candidate solution is better than an existing one even when both solutions are equal (this method will always return false in such circumstances).
Wouldn't it be better to verify whether the solutions are equal before checking which solution is the best?
The "isBetterThanCurrent" method of the "Archive" class checks if a candidate solution is better than an existing one even when both solutions are equal (this method will always return false in such circumstances).
Wouldn't it be better to verify whether the solutions are equal before checking which solution is the best?