Project

General

Profile

« Previous | Next » 

Revision f41d2652

Added by Leszek Koltunski about 1 year ago

Pyraminx solver: error messages

View differences:

src/main/java/org/distorted/solvers/SolverPyraminx.java
211 211
    return ( twist1!=twist2 || twist1!=twist3 ) ? -1 : twist1;
212 212
    }
213 213

  
214
///////////////////////////////////////////////////////////////////////////////////////////////////
215

  
216
  private int computeEdgePermutation(int[] edge_permutation, int[][] edges)
217
    {
218

  
219
    }
220

  
214 221
///////////////////////////////////////////////////////////////////////////////////////////////////
215 222

  
216 223
  public SolverPyraminx(Resources res, TwistyObject object)
......
324 331
      if( vertex_twist[i]<0 ) return ERROR_VERTICES_CANNOT;
325 332
      }
326 333

  
334
    int[] edge_permutation = new int[6];
335
    int result5 = computeEdgePermutation(edge_permutation,edges);
336
    if( result5<0 ) return result5;
337

  
327 338
    return 0;
328 339
    }
329 340

  

Also available in: Unified diff