mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-11-08 11:20:46 -05:00
Ex 058 separate explanations for clarity
This commit is contained in:
parent
79cbc99c5f
commit
34eef5bd24
1 changed files with 4 additions and 2 deletions
|
@ -446,8 +446,10 @@ fn printTrip(trip: []?TripItem) void {
|
|||
//
|
||||
// Since we examine all closest paths first before trying further ones
|
||||
// (thanks to the "todo" queue), we are performing a "Breadth-First
|
||||
// Search" (BFS). By tracking "lowest cost" paths, we can also say
|
||||
// that we're performing a "least-cost search".
|
||||
// Search" (BFS).
|
||||
//
|
||||
// By tracking "lowest cost" paths, we can also say that we're
|
||||
// performing a "least-cost search".
|
||||
//
|
||||
// Even more specifically, the Hermit's Notebook most closely
|
||||
// resembles the Shortest Path Faster Algorithm (SPFA), attributed to
|
||||
|
|
Loading…
Reference in a new issue