AureumChaos / LEAP

A general purpose Library for Evolutionary Algorithms in Python.
Academic Free License v3.0
83 stars 19 forks source link

Zero out (skip) distances for zero-scale objectives #272

Closed lukepmccombs closed 1 year ago

lukepmccombs commented 1 year ago

Fixes #267 Includes commits from #264 since I moved per-rank crowding out of the main function there.

Adds 2 lines to per-rank crowding that skip zero scale objectives, so when an objective goes flat distance doesn't become NaN.