Original Post
🔒 Locked
Sorting points
Advertisement
Quote:
Original post by leoptimus
Sorry!
In other words, is needed to mantain a set of points, that allows to do queries about which point is the nearest to the new one. Something like a hash-space, or a quad-tree.
Let me try to rephrase your problem..
You are given a set of locations of fire stations in a City. Now given a building which has caught fire, locate the nearest fire station.
Am I guessing you right?
For this you can use something called as Voronoi Diagram.
Here is a link: Voronoi Diagram
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement