Detecting avoidance behaviors between moving object trajectories