'Retrieve the leaves of the CF Node.
Returns
leaves : array-like
List of the leaf nodes.'

def _get_leaves(self):

    leaf_ptr = self.dummy_leaf_.next_leaf_
    leaves = []
    while (leaf_ptr is not None):
        leaves.append(leaf_ptr)
        leaf_ptr = leaf_ptr.next_leaf_
    return leaves
