jara001 / ng_trajectory

Racing Line Optimization using Nevergrad
GNU General Public License v3.0
5 stars 4 forks source link

Invalid group_centers in Flood Fill #20

Open jara001 opened 2 years ago

jara001 commented 2 years ago

In case that something bad happens in the cascade, it may happen that points that are outside of the created map are used as group_centers.

There should be a check for this, as

_map[tuple(_c)] = _i

is not enough.

However, what to do in this case is still left to decide.

Note: This should not be present in euclidean segmentator, as it works differently.