MCPcopy Create free account
hub / github.com/MeigenChou/DCTimer-Android / solution

Method solution

app/src/main/java/cs/sq12phase/Search.java:60–72  ·  view source on GitHub ↗
(FullCube c, int verbose)

Source from the content-addressed store, hash-verified

58 }
59
60 private String solution(FullCube c, int verbose) {
61 this.c = c;
62 this.verbose = verbose;
63 sol_string = null;
64 int shape = c.getShapeIdx();
65 for (length1 = Shape.ShapePrun[shape]; length1 < 50; length1++) {
66 maxlen2 = Math.min(33 - length1, 17);
67 if (phase1(shape, Shape.ShapePrun[shape], length1, 0, -1)) {
68 break;
69 }
70 }
71 return sol_string;
72 }
73
74 public String scramble() {
75 String scr;

Callers 3

scrambleMethod · 0.95
scramblePBLMethod · 0.95
scrambleWCAMethod · 0.95

Calls 2

phase1Method · 0.95
getShapeIdxMethod · 0.80

Tested by

no test coverage detected