Skip to content

Commit

Permalink
Update BFS(G,s) - {s}
Browse files Browse the repository at this point in the history
  • Loading branch information
StormFlaate authored and Xtrah committed Dec 12, 2022
1 parent 5085302 commit 929309c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Algoritmer/Grafer/breadth_first_search.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 929309c

Please sign in to comment.