cuBerBruce
Veteran
Copter Explorer Ver 2.0 is now available.
There are several new features in version 2.0.
The main enhancements are improved performance in the optimal solver and a simple two-phase suboptimal solver that can solve most positions in a reasonable time frame. To support these features, the amount of memory used by the program has increased to around 400 MB, and even more during the creation of the pruning tables. It is probably desirable to have at least 1 GB of RAM on the computer.
Optimal Solver Enhancements
The face pieces pruning table has been changed to allow deeper pruning without using more memory. It is also used for two different sets of 18 face pieces instead of one set of 18 face pieces.
A pruning table for corner permutation and edge orientation has been added instead of a pruning function based upon edge orientation only.
The "search space" of maneuvers is further restricted through better taking into account of commuting moves. (I have not proven that this new "smart" logic could result in the solver missing the optimal solution for maneuvers longer than 8 moves. However, I think the performance boost is generally worth it. The "-s" optional allows disabling this "smart" logic.
Two-Phase Solver
The two-phase solver solves a "double-X-Cross" (adjacent slots) for the first phase. It does an iterative deepening across 24 possible cube orientations for defining the double X-Cross. Those cube orientations producing the lowest number of 1st phase moves are then used for phase 2. Phase 2 solves are aborted whenever the move count exceeds the best move count achieved so far. So you might get multiple two-phase solutions. Phase 2 uses only 6 of the 12 moves - only the moves that are generally necessary to use after the double-X-Cross is made.
Other Changes
Some minor changes have been implemented in the user interface. Input text is no longer case sensitive. There is better handling of bad input. The optimal solver prints the time at the start and end of the search. There are other minor changes users of version 1.0 will probably notice.
Mode change commands now include:
-e ignore the edge pieces (as in the plain helicopter puzzle)
+e include edge pieces
Note: When edge pieces are ignored, the cube is still not considered solved unless the U face has the U colored stickers, the F face has the F colored stickers, etc. It really should allow the cube to be in any orientation, but that's not supported yet.
-f keeps searching the current depth after a solution is found in the optimal solver
+f makes search stop when the first solution is found in the optimal solver
-o use two-phase solver
+o use optimal solver
-s use old maneuver search space logic
+s use "smart" maneuver search space logic
The "e" and "s" options affect both the optimal solver and the two-phase solver.
The "-" options can also be specified on the command line (must be separate command arguments) to override the default mode.
The file CopterExplorerV2.zip file contains a Windows 32-bit executable, and a Mac 64-bit executable for OSX 10.7 ("Lion") and later. It also contains a text file with a brief description of the changes in Version 2.0. The fiole CopterExplorerV2Mac105.zip) contains an executable for OSX 10.5 ("Leopard"). The executable only supports Intel-based Macs, but both 32- and 64-bit are supported. For OSX 10.6 ("Snow Leopard"), the "Lion" executable may work for a 64-bit computer - otherwise I think the "Leopard" one should work. Let me know of any problems.
(Sorry, I couldn't upload as a single .zip because of size restrictions.)
There are several new features in version 2.0.
The main enhancements are improved performance in the optimal solver and a simple two-phase suboptimal solver that can solve most positions in a reasonable time frame. To support these features, the amount of memory used by the program has increased to around 400 MB, and even more during the creation of the pruning tables. It is probably desirable to have at least 1 GB of RAM on the computer.
Optimal Solver Enhancements
The face pieces pruning table has been changed to allow deeper pruning without using more memory. It is also used for two different sets of 18 face pieces instead of one set of 18 face pieces.
A pruning table for corner permutation and edge orientation has been added instead of a pruning function based upon edge orientation only.
The "search space" of maneuvers is further restricted through better taking into account of commuting moves. (I have not proven that this new "smart" logic could result in the solver missing the optimal solution for maneuvers longer than 8 moves. However, I think the performance boost is generally worth it. The "-s" optional allows disabling this "smart" logic.
Two-Phase Solver
The two-phase solver solves a "double-X-Cross" (adjacent slots) for the first phase. It does an iterative deepening across 24 possible cube orientations for defining the double X-Cross. Those cube orientations producing the lowest number of 1st phase moves are then used for phase 2. Phase 2 solves are aborted whenever the move count exceeds the best move count achieved so far. So you might get multiple two-phase solutions. Phase 2 uses only 6 of the 12 moves - only the moves that are generally necessary to use after the double-X-Cross is made.
Other Changes
Some minor changes have been implemented in the user interface. Input text is no longer case sensitive. There is better handling of bad input. The optimal solver prints the time at the start and end of the search. There are other minor changes users of version 1.0 will probably notice.
Mode change commands now include:
-e ignore the edge pieces (as in the plain helicopter puzzle)
+e include edge pieces
Note: When edge pieces are ignored, the cube is still not considered solved unless the U face has the U colored stickers, the F face has the F colored stickers, etc. It really should allow the cube to be in any orientation, but that's not supported yet.
-f keeps searching the current depth after a solution is found in the optimal solver
+f makes search stop when the first solution is found in the optimal solver
-o use two-phase solver
+o use optimal solver
-s use old maneuver search space logic
+s use "smart" maneuver search space logic
The "e" and "s" options affect both the optimal solver and the two-phase solver.
The "-" options can also be specified on the command line (must be separate command arguments) to override the default mode.
The file CopterExplorerV2.zip file contains a Windows 32-bit executable, and a Mac 64-bit executable for OSX 10.7 ("Lion") and later. It also contains a text file with a brief description of the changes in Version 2.0. The fiole CopterExplorerV2Mac105.zip) contains an executable for OSX 10.5 ("Leopard"). The executable only supports Intel-based Macs, but both 32- and 64-bit are supported. For OSX 10.6 ("Snow Leopard"), the "Lion" executable may work for a 64-bit computer - otherwise I think the "Leopard" one should work. Let me know of any problems.
(Sorry, I couldn't upload as a single .zip because of size restrictions.)