Dynamic anti-collision A-star algorithm for multi-ship encounter situations