Disjoint Pattern Database Heuristics
Disjoint Pattern Database Heuristics
Disjoint Pattern Database Heuristics
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
33planeofthecubecanberotatedindependently,andthetaskisto cameaworld-widesensation.Morethan100millionRubik'sCubeshave beensold,makingitthebest-knowncombinatorialpuzzleofalltime.Each rearrangetheindividualpiecessothateachsideshowsonlyonecolor(see Figure3).<br />
states.Thereare20movablesubcubes,orcubies,whichcanbedividedinto The333Rubik'sCubecontainsabout4:32521019dierentreachable Figure3:333Rubik'sCube<br />
faceseach.Thereare88;179;840dierentpositionsandorientationsofthe cornercubies,andthenumberofmovesneededtosolvejustthecorner cubiesrangesfromzerotoeleven.Atfourbitsperentry,apatterndatabase eightcornercubies,withthreefaceseach,andtwelveedgecubies,withtwo<br />
ofthetwelveedgecubiesgenerate42;577;920dierentpossibilities,anda forthecornercubiescanbestoredinabout42megabytesofmemory.Six correspondingpatterndatabaseoccupiesabout20megabytesofmemory. Theremainingsixedgecubiesgenerateanotherdatabaseofthesamesize. cubiestocomputeanindexintothecorner-cubiepatterndatabase,whose valuetellsusthenumberofmovesneededtosolvejustthecornercubies.We alsouseeachofthetwosetsofsixedgecubiestocomputeindicesintothe GivenastateofanIDA*search,weusethecongurationofthecorner<br />
correspondingedge-cubiedatabases,yieldingthenumberofmovesneeded tosolveeachsetofsixedgecubies.Giventhesethreedierentheuristic values,thebestwaytocombinethem,withoutoverestimatingactualsolution 7