Function ADS::legalTiling

Function Documentation

inline bool ADS::legalTiling(const std::vector<Tile> &D, int n, const Tiling &T)

the certificate: T is a legal covering of the n x n square by D, with d = D[ 0 ] in ( 0 , 0 ); false if n < 1, if T is not n x n or if a tile of T is not one of D