Menu

Commit [r923]  Maximize  Restore  History

Trunk 1.1: Fair Oxyd Distribution

- new oxyd shuffling with min/max rules as described in new API draft 0.5
- rule "groups" may be single objects or object names
- rule with a single group may request linear=true or circular=true for
disallowing matching neighbour oxyds as given in the group sequence
- log="solution" lists the selected solution if added to any rule
- log="count" tests all possible solutions
- log="all" lists all possible solutions
- new oxyd attribute "noshuffle" to avoid shuffling of a single oxyd
- new color types FAKE, FART, BOLD (-2,-3,-4) called pseudocolors
Note:
- fair oxyd distribution requires given rules, <= 32 oxyds, no more than
two oxyds of any standard color - otherwise the simple shuffle takes place
- log="count" may take more than 25 sec if 2 million distributions exist
- log="all" - check the count first!!
- noshuffle is coded for fair shuffle but not yet tested, simple shuffle
still misses support
- pseudooxyds are mainly prepared in the fair shuffle, but all other
code is still missing.

ral 2007-11-10

changed /trunk/src/lua.cc
changed /trunk/src/stones/OxydStone.cc
changed /trunk/src/stones/OxydStone.hh
/trunk/src/lua.cc Diff Switch to side-by-side view
Loading...
/trunk/src/stones/OxydStone.cc Diff Switch to side-by-side view
Loading...
/trunk/src/stones/OxydStone.hh Diff Switch to side-by-side view
Loading...