Function ADS::check

Function Documentation

inline bool ADS::check(const Grid &S, std::size_t x, std::size_t y, int c)

check(): c can be written in the square ( x , y )

Pre:

( x , y ) a square and c in [ 1 , n^2 ]