Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Method to return all the boundary points in sorted order. #106

Open
ShivKJ opened this issue Feb 25, 2021 · 0 comments
Open

Method to return all the boundary points in sorted order. #106

ShivKJ opened this issue Feb 25, 2021 · 0 comments

Comments

@ShivKJ
Copy link

ShivKJ commented Feb 25, 2021

Hi,
I would be nice if there is a function which returns a sorted Set of all the interval's end points. I found variable boundary_table but it not exposed in API.

Could you add a property which return this.
Something like the following

@property
def boundary_points(self) -> SortedSet:
    """
    :return: a sorted set consisting of end point of all the interval
             present in the interval tree
    """
    return SortedSet(self.boundary_table)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant