Vertex-based Networks to Accelerate Path Planning Algorithms