[Pharo-dev] Collection with spatiotemporal indexation - Ideas and discussions ?

Cédrick Béler cdrick65 at gmail.com
Sat Apr 23 08:13:22 EDT 2016

Hi Alistair,

Thanks, this sounds like a nice suggestion. 

I have to think about it. 
Adding altitude would be also interesting in some cases but not as a start (quite limited usage).

When you say to package it separately, you’re talking about Geolocation, Spatiotemporal classes ? or also the collection ?
I can try something but I think this will deserve more « computational thinking » power than I have ^^



> Le 23 avr. 2016 à 13:57, Alistair Grant <akgrant0710 at gmail.com> a écrit :
> I don't have a data structures book handy, but how about 3 SortedCollections?  (Assuming 3 dimensions: latitude, longitude & time).
> It would support a reasonably efficient binary search, and allow for areas and time ranges.
> Regardless of which solution you choose I agree that it would be a useful general class, so please package it separately.
> Cheers,
> Alistair
> (Sent from my mobile)
> On 23/04/2016 1:47 PM, "Cédrick Béler" <cdrick65 at gmail.com <mailto:cdrick65 at gmail.com>> wrote:
> A dictionary with keys being the timestamp or the spatiotemporal object would probably do it...
> I think I’ll do that but I wonder if there are better solutions out there ^^.
> Cheers,
> Cédrik

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20160423/e0461b9f/attachment.html>

More information about the Pharo-dev mailing list