Original Post
hi all I'm afraid I don't know much about search algorithms and would like a steer in the right direction if you please. I have a system with between 50-100k nodes, distributed pretty much uniformly, some of them joined together as continuous line segments. I'm looking at ways of optimising a scheme to resolve contact between any of the line segments that overlap, and was thinking a good place to start would be the search algorithm that looks for near neighbours. The nodes all lie along a path that I have described parametrically, so I am umming and a-ing about whether to try and use that to my advantage in some way, otherwise just a good fast way of sorting these with a tree would be appreciated. currently i think an ab tree is being used, but I don't even know what that is!-can't find zip with google - possibly just a standard binary tree? your thoughts?