triska / clpz

Constraint Logic Programming over Integers
https://www.metalevel.at/prolog/clpz
184 stars 15 forks source link

More general global_cardinality/3 #25

Open librarianmage opened 11 months ago

librarianmage commented 11 months ago

It would be nice if global_cardinality/3 supported CLP(Z) variables as keys. This would allow one to express more general permutations without needing to know the values of the list (e.g. two of one number and three of another).