def get_leaf_nodes(self):
        return [k for k, v in self.nodes.items() if v.children == []]
Return the indices of leaf nodes in the level set tree.
dataset/ETHPy150Open CoAxLab/DeBaCl/debacl/level_set_tree.py/LevelSetTree.get_leaf_nodes