def expand(self, problem: Problem) -> List['Node']: """List the nodes reachable in one step from this node.""" return [ self.child_node(problem, action) for action in problem.actions(self.board) ]