(self)
Yield all neighbours of this node.
Yield all neighbours of this node.
Yield all neighbours of this node .
def get_neighbours(self):
        """Yield all neighbours of this node."""
        for motion_generator in self.dijkstra.motion_generators:
            for node in motion_generator.generate(self.view):
                if (
                    node.view.lnum >= self.dijkstra.min_line
                    and node.view.lnum <= self.dijkstra.max_line
                ):
                    yield node
def get_neighbours ( self ) : for motion_generator in self . dijkstra . motion_generators : for node in motion_generator . generate ( self . view ) : if ( node . view . lnum >= self . dijkstra . min_line and node . view . lnum <= self . dijkstra . max_line ) : yield node