Approximate, incremental nearest-neighbour algorithm for moving bodies

前端 未结 7 1122
轮回少年
轮回少年 2021-01-30 12:04

Bounty

This question raises several issues. The bounty will go to an answer which addresses them holistically.


Here\'s a problem I\'ve been playing with.

7条回答
  •  南方客
    南方客 (楼主)
    2021-01-30 12:19

    KD Trees allow you to efficiently search within a fixed radius of a point. If all of a point's neighbour's are within d1 units and maximum displacement of any point from the previous measurement is d2, then you only need to search within d1+d2 units of the point.

    If you were dealing with a Minkowski distance, then you could have used David Mount's ANN library. I am not sure, if there is a library that would take arbitrary distance functions, though.

提交回复
热议问题