Mini-Sized
From Talk:Kd-tree
Jump to navigation
Jump to search
Revision as of 17 July 2013 at 16:56.
The highlighted comment was created in this revision.
The highlighted comment was created in this revision.
I'm not sure, if you leave out the complicated stuff it loses its speed. Perhaps with the help of built-in structures like Java's PriorityQueue it might be possible. Impress us!
Skilgannon (talk)
I'd say... possibly, but there's no reason to. An efficiently implemented linear search will waste much less of the limited codesize, and ought to be fast enough, espescially given that the number of search dimensions that make sense to put in a Minibot is small. The first nearest-n-neighbor search bots didn't use kd-trees and worked just fine.