Function ADS::solvable

Function Documentation

inline bool ADS::solvable(const Board &B, int n)

whether the goal can be reached from B

Pre:

B is a configuration of n x n squares