code: private static boolean relationCompare_(int[] matrix, String scl) {
  		for (int i = 0; i < 9; i++) {
  			switch (scl.charAt(i)) {
  			case 'T':
  				assert (matrix[i] != -2);
  				if (matrix[i] == -1)
  					return false;
  				break;
  
  			case 'F':
  				assert (matrix[i] != -2);
  				if (matrix[i] != -1)
  					return false;
  				break;
  
  			case '0':
  				assert (matrix[i] != -2);
  				if (matrix[i] != 0)
  					return false;
  				break;
  
  			case '1':
  				assert (matrix[i] != -2);
  				if (matrix[i] != 1)
  					return false;
  				break;
  
  			case '2':
  				assert (matrix[i] != -2);
  				if (matrix[i] != 2)
  					return false;
  				break;
  
  			default:
  				break;
  			}
  		}
  
  		return true;
  	}
docs: Compares the DE-9I matrix against the scl string.