[algogeeks] Re: Find nearest point

2009-11-18 Thread jbe
This is quite closely related to boids: http://www.red3d.com/cwr/ Simply put, each boid is aware of its near neighbours: not just the nearest one, but all that are nearer than some chosen distance. For that, the space is divided into partitions that keep track of the boids that are are within it,

Re: [algogeeks] Ruby on rails help

2009-11-18 Thread monty 1987
Ye naya Ruby on Rails ka kya funda hai On Wed, Nov 18, 2009 at 9:37 AM, nitin mathur nitinkumar.mat...@gmail.comwrote: Hi Is there anybody working on Ruby on Rails..Plzz reply if there.. Thnx Nitin Mathur Joan Crawfordhttp://www.brainyquote.com/quotes/authors/j/joan_crawford.html

[algogeeks] Re: Find nearest point

2009-11-18 Thread Ralph Boland
On Nov 17, 7:09 am, Tiago Reul tiagor...@gmail.com wrote: Suppose that you have the position of each person in the world. Position is the pair (latitude, longitude). How to represent the data so that I can find the nearest person from a point (φ,λ) without comparing to every pair in the

[algogeeks] Re: Find nearest point

2009-11-18 Thread Gene
On Nov 17, 9:09 am, Tiago Reul tiagor...@gmail.com wrote: Suppose that you have the position of each person in the world. Position is the pair (latitude, longitude). How to represent the data so that I can find the nearest person from a point (φ,λ) without comparing to every pair in the