Segmenting trajectories: A framework and algorithms using spatiotemporal criteria | Synapse