Function ADS::tileVar

Function Documentation

inline int ADS::tileVar(int h, int i, int j, int n)

the place of the variable or node of the tile h in the square ( i , j )

Pre:

n >= 1, h >= 0, and ( i , j ) a square of the n x n board