Re: Presentation & Question



El lun, 11-03-2002 a las 20:59, David Moles escribió:
> Probably you want to look at bounding rectangles or something so as
> to cut down the number of planets and ships you need to check. You
> might be able to get some value out of storing the planets and ships
> in some kind of tree structure based on their position so you could
> efficiently search for the "approximately closest" group.
Well, I kind of solved the problem :-)
Instead of calculating all planets, I divided the starchart in 400
quadrants and do the calculus there, it's working pretty well!
Thanks all of you for the help!

-- 
Lucas Di Pentima - Santa Fe - Argentina
GnuPG Public Key: http://www.lunix.com.ar/clave-publica-lucas.gpg
ICQ UIN: 6782045

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]