Project

General

Profile

« Previous | Next » 

Revision 7f84a768

Added by Leszek Koltunski about 4 years ago

Progress with the 3x3x3 Solver.

Hopefully the only thing that remains to be done is to implement the RubikStateSolver.retCubeString().

View differences:

src/main/java/org/distorted/solvers/cube3/Search.java
159 159
	 *@param timeOut
160 160
	 *          defines the maximum computing time of the method in seconds. If it does not return with a solution, it returns with
161 161
	 *          an error code.
162
	 * 
163
	 * @param useSeparator
164
	 *          determines if a " . " separates the phase1 and phase2 parts of the solver string like in F' R B R L2 F .
165
	 *          U2 U D for example.<br>
166 162
	 * @return The solution string or an error code:<br>
167 163
	 *         Error 1: There is not exactly one facelet of each colour<br>
168 164
	 *         Error 2: Not all 12 edges exist exactly once<br>
......
177 173
	    {
178 174
		int s;
179 175

  
180
		Log.d("solution", facelets);
181
		
182 176
		mInterrupted = false;
183 177
		
184 178
		// +++++++++++++++++++++check for wrong input +++++++++++++++++++++++++++++

Also available in: Unified diff