StachuK1992
statue
- Joined
- Jul 24, 2008
- Messages
- 3,812
- Location
- West Chester, PA
- WCA ID
- 2008KORI02
- YouTube
- Visit Channel
Not sure whether this belongs in Puzzle Theory or Software Area.
In any case, it seems most cube solving programs try to store the position of a cube initially as:
CP, CO, EP, EO.
[CO has 3^7 possibilities.] [CP has 12!/2 possibilities] [EO has 2^11 possibilities] [EP has 12!/2 possibilities]
Obviously, EP is the biggest of these by a long shot, and most EFFICIENT cube solvers (that I've come across) split this up in some way, typically the split listed in the title.
Can someone link me to a code sample of where this is done, understandably, psuedocode it out, or reason it out in words? I'm having some trouble figuring out how this is usually done.
EDIT: Clarification: my issue is relevant to creating pruning tables. My interpretation things seems to be that EP_U, EP_D, and EP_E can somehow be stored separately, but not getting *how*.
Thanks,
Stachu
In any case, it seems most cube solving programs try to store the position of a cube initially as:
CP, CO, EP, EO.
[CO has 3^7 possibilities.] [CP has 12!/2 possibilities] [EO has 2^11 possibilities] [EP has 12!/2 possibilities]
Obviously, EP is the biggest of these by a long shot, and most EFFICIENT cube solvers (that I've come across) split this up in some way, typically the split listed in the title.
Can someone link me to a code sample of where this is done, understandably, psuedocode it out, or reason it out in words? I'm having some trouble figuring out how this is usually done.
EDIT: Clarification: my issue is relevant to creating pruning tables. My interpretation things seems to be that EP_U, EP_D, and EP_E can somehow be stored separately, but not getting *how*.
Thanks,
Stachu
Last edited: