Function ADS::puzzleMoves

Function Documentation

inline std::vector<Board> ADS::puzzleMoves(const Board &B, int n)

the configurations one move away

Pre:

B is a configuration of n x n squares

Post:

two to four configurations if n >= 2