From 929309c008627bcdd11cd8ffde7be80abd002216 Mon Sep 17 00:00:00 2001 From: StormFlaate Date: Sun, 11 Dec 2022 12:58:41 +0100 Subject: [PATCH] Update BFS(G,s) - {s} --- Algoritmer/Grafer/breadth_first_search.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Algoritmer/Grafer/breadth_first_search.md b/Algoritmer/Grafer/breadth_first_search.md index 250f8f7..bb6ac02 100644 --- a/Algoritmer/Grafer/breadth_first_search.md +++ b/Algoritmer/Grafer/breadth_first_search.md @@ -22,7 +22,7 @@ ```pseudo BFS(G,s): -1 for hver node element in G.V: +1 for hver node element in G.V - {s}: 2 u.color = white 3 u.d = ∞ 4 u.𝜋 = NIL