(FullCube c, int maxl, int verbose)
| 121 | } |
| 122 | |
| 123 | private String solutionOpt(FullCube c, int maxl, int verbose) { |
| 124 | this.c = c; |
| 125 | this.verbose = verbose; |
| 126 | int shape = c.getShapeIdx(); |
| 127 | for (length1 = Shape.ShapePrunOpt[shape] * PRUN_INC; length1 <= maxl * PRUN_INC; length1 += PRUN_INC) { |
| 128 | //Log.w("dct", "sq "+length1); |
| 129 | if (phase1Opt(shape, Shape.ShapePrunOpt[shape], length1, 0, -1, 0)) { |
| 130 | return sol_string; |
| 131 | } |
| 132 | } |
| 133 | return null; |
| 134 | } |
| 135 | |
| 136 | private static int count0xf(int val) { |
| 137 | val &= val >> 1; |
no test coverage detected