1. A method for spatiotemporal encounters detection of a plurality of moving objects, said method comprising: receiving a dataset of a plurality of objects moving in a domain; structuring said dataset in a data structure to detect a plurality of spatiotemporal encounters among said plurality of objects; and outputting a list of said detected spatiotemporal encounters, wherein said plurality of spatiotemporal encounters are detected in a single sweep over said received dataset.