Efficient algorithms for collision avoidance at intersections | Synapse