Comparing Two Paths in a Workshop Grid
A grid planner can choose routes according to movement and terrain costs. The best route depends on which edge weights represent the task.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 2
- Reading time
- 1 min
In this article2 chapters
Trace a small indoor example
A direct path through two slow cells can cost more than four easy steps around them. Adding route costs distinguishes number of steps from weights.
Choose a matching search rule
When every move costs the same, a shortest unweighted route suffices. If costs vary without negative edges, use a suitable weighted graph method. See Dijkstra's invariant.[1]