そこで、最近傍探索を行うためにKDツリーを実装しています。ツリー部分の構築は機能していますが、検索部分を完全には理解していないと思います。
隣人を探すために木を横断することについて、ウィキペディアの記事は次のように述べています。
Starting with the root node, the algorithm moves down the tree recursively, in the same
way that it would if the search point were being inserted (i.e. it goes right or left
depending on whether the point is greater or less than the current node in the split
dimension).
「スピットディメンションの現在のノードよりも大きいまたは小さい」とはどういう意味ですか?クエリからの距離に基づいてポイントを比較しますか、それとも分割ディメンションでポイントを比較しますか?
また、誰かが超空間と超平面についての部分を説明できますか?理解できた気がしますが、よくわからないのでもう少し説明をお願いします。
ありがとう!