MCPcopy Create free account
hub / github.com/MolinDeng/Princeton-algs4 / isSolvable

Method isSolvable

LabEnv/04Lab/Solver.java:65–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63
64 // is the initial board solvable? (see below)
65 public boolean isSolvable() {
66 return solvable;
67 }
68
69 // min number of moves to solve initial board; -1 if unsolvable
70 public int moves() {

Callers 1

mainMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected