Probabilistic Trajectory Prediction and Conflict Detection