Просмотр исходного кода

Ex 058 separate explanations for clarity

Dave Gauer 4 лет назад
Родитель
Сommit
34eef5bd24
1 измененных файлов с 4 добавлено и 2 удалено
  1. 4 2
      exercises/058_quiz7.zig

+ 4 - 2
exercises/058_quiz7.zig

@@ -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