Planning-based prediction for pedestrians | Synapse