We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b35c6b commit c0d14bbCopy full SHA for c0d14bb
notebooks/y2024/d23.clj
@@ -86,10 +86,12 @@ td-yn")
86
87
(def test-graph (graph/graph (computers->connections test-input)))
88
89
-; Med grafen i hånd kan vi hente ut "maximal cliques":
+; Med grafen vi fant i del 1 kan vi hente ut "maximal cliques":
90
91
(def test-cliques (loom-alg/maximal-cliques test-graph))
92
93
+test-cliques
94
+
95
; Ingen garanti for at den største clique'n er først i listen:
96
97
(first (sort-by count > test-cliques))
@@ -111,5 +113,4 @@ td-yn")
111
113
(sort-by count >)
112
114
first
115
sort
- (String/join ",")
- time)
116
+ (String/join ","))
0 commit comments