The maze is described as a graph with a start, goal, edge lengths, and two types of edges: regular paths in the maze, and hedges which one can crawl through. We are only allowed to crawl through edge once. (Some parts of the maze are too thick to crawl through.) Design an algorithm which finds the shortest path to the goal, as quickly as possible. Please do not use the modified version of Dijkstra. Instead modify the graph and use regular version of Dijkstra
The maze is described as a graph with a start, goal, edge lengths, and two types of edges: regular paths in the maze, and hedges which one can crawl through. We are only allowed to crawl through edge once. (Some parts of the maze are too thick to crawl through.) Design an algorithm which finds the shortest path to the goal, as quickly as possible. Please do not use the modified version of Dijkstra. Instead modify the graph and use regular version of Dijkstra
Related questions
Question
The maze is described as a graph with a start, goal, edge lengths, and two types of edges: regular paths in the maze, and hedges which one can crawl through. We are only allowed to crawl through edge once. (Some parts of the maze are too thick to crawl through.) Design an algorithm which finds the shortest path to the goal, as quickly as possible.
Please do not use the modified version of Dijkstra. Instead modify the graph and use regular version of Dijkstra
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps