Constraint-based learning of distance functions for object trajectories - Yu, Wei; Gertz, Michael (Scientific and statistical database management, 2009)