From 34eef5bd242ab8c6de992f4da1c87c1d46a2be22 Mon Sep 17 00:00:00 2001 From: Dave Gauer Date: Mon, 5 Apr 2021 11:55:17 -0400 Subject: [PATCH] Ex 058 separate explanations for clarity --- exercises/058_quiz7.zig | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/exercises/058_quiz7.zig b/exercises/058_quiz7.zig index e567d5a..46d68a8 100644 --- a/exercises/058_quiz7.zig +++ b/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