A Dual Approach to the A* Algorithm to Generate Consistent Trajectories for the Leader–Follower Scheme | Synapse