def query(self, i, j):
if self.queries_cnt < self.max_queries_cnt:<EOL><INDENT>self.queries_cnt += <NUM_LIT:1><EOL>return self.labels[i] == self.labels[j]<EOL><DEDENT>else:<EOL><INDENT>raise MaximumQueriesExceeded<EOL><DEDENT>
Query the oracle to find out whether i and j should be must-linked