Skip to content

Commit

Permalink
doing the filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
egri-nagy committed Feb 12, 2024
1 parent 5b6fbe0 commit 3d5ac74
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions experiments/DIAGSGPS/Dn_into_Dm_gentab.clj
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,17 @@
(reduce into #{} (map involved ts)))

(println (count result))

(pprint (filter (fn [m]
(def ir (filter (fn [m]
(= (count (first (vals m)))
(count (all-involved (vals m)))))
result))

(println (count ir) )

(defn print-gens
[solution]
(doseq [gen (t/full-ts-gens 3)]
(println gen "->" (solution gen))))

(map print-gens ir)

0 comments on commit 3d5ac74

Please sign in to comment.