def actions(self, state):
if len(state) == len(self.vars):<EOL><INDENT>return []<EOL><DEDENT>else:<EOL><INDENT>assignment = dict(state)<EOL>var = find_if(lambda v: v not in assignment, self.vars)<EOL>return [(var, val) for val in self.domains[var]<EOL>if self.nconflicts(var, val, assignment) == <NUM_LIT:0>]<EOL><DEDENT>
Return a list of applicable actions: nonconflicting
        assignments to an unassigned variable.