src/orion/core/evc/tree.py
def _compute_potential(self):
        """Filter out seen nodes from the stack"""
        if not self.stack:
            return []

        return list(filter(lambda n: n not in self.seen, self.stack[-1].children))
Filter out seen nodes from the stack
Filter out seen nodes from the stack
Filter out seen nodes from the stack
def _compute_potential(self):
        if not self.stack:
            return []
        return list(filter(lambda n: n not in self.seen, self.stack[-1].children))
def _compute_potential ( self ) : if not self . stack : return [ ] return list ( filter ( lambda n : n not in self . seen , self . stack [ - 1 ] . children ) )
Filter out seen nodes from the stack
Filter out seen nodes from the stack
"""Filter out seen nodes from the stack"""
self