[gecode-users] random / mod
Guido Tack
tack at ps.uni-sb.de
Wed Aug 23 22:01:01 CEST 2006
> thank you very much that helps me a lot! Especially the element
> approach will be very useful, since in music you deal very often
> with mod 12 ! :)
That sounds interesting!
> On my todo list is a propagator for a musical set-class modulo 12
> -- {0,1,3} will be a representative for itself as well as {1,2,4},
> {2,3,5} ... {11,0,2} - But analogous to what you have showed me, I
> suppose selectSet() might already be the solution, where the index
> is the transposition.... Cool!
That's cool indeed. I'll be very interested in seeing music
applications of the set constraints! Let me know if you need any
special propagators or have interesting ideas for modeling!
Cheers,
Guido
More information about the gecode-users
mailing list