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

Method init

app/src/main/java/cs/min2phase/Search.java:250–287  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

248 }
249
250 public synchronized static void init() {
251 if (inited) {
252 return;
253 }
254 //CubieCube.initMove();
255 CubieCube.initSym();
256 CubieCube.initFlipSym2Raw();
257 CubieCube.initTwistSym2Raw();
258 CubieCube.initPermSym2Raw();
259
260 CoordCube.initFlipMove();
261 CoordCube.initTwistMove();
262 CoordCube.initUDSliceMoveConj();
263
264 CoordCube.initCPermMove();
265 CoordCube.initEPermMove();
266 CoordCube.initMPermMoveConj();
267 CoordCube.initCombMoveConj();
268
269 CoordCube.initMEPermPrun();
270 CoordCube.initMCPermPrun();
271 CoordCube.initPermCombPrun();
272
273 if (USE_FULL_PRUN) {
274 CubieCube.initUDSliceFlipSym2Raw();
275 CoordCube.initUDSliceFlipMove();
276 CoordCube.initTwistMoveConj();
277 CoordCube.initUDSliceFlipTwistPrun();
278 } else {
279 if (USE_TWIST_FLIP_PRUN) {
280 CoordCube.initTwistFlipPrun();
281 }
282 CoordCube.initSliceTwistPrun();
283 CoordCube.initSliceFlipPrun();
284 }
285
286 inited = true;
287 }
288
289// int verify(String facelets) {
290// int count = 0x000000;

Callers 1

initMethod · 0.95

Calls 15

initSymMethod · 0.95
initFlipSym2RawMethod · 0.95
initTwistSym2RawMethod · 0.95
initPermSym2RawMethod · 0.95
initFlipMoveMethod · 0.95
initTwistMoveMethod · 0.95
initUDSliceMoveConjMethod · 0.95
initCPermMoveMethod · 0.95
initEPermMoveMethod · 0.95
initMPermMoveConjMethod · 0.95
initCombMoveConjMethod · 0.95
initMEPermPrunMethod · 0.95

Tested by

no test coverage detected