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

Retroactive union find #1

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Retroactive union find #1

wants to merge 7 commits into from

Conversation

alkhaled
Copy link

I thought this project was pretty cool, so I took a stab at implementing fully retroactive union find using link cut trees as the backing data structure.

The semantics for updating and querying use time deltas to specify time, similar to the existing tminus semantics. The only difference is that is supports operations in the future as well as the past. You can find an example usage in examples.py

@csvoss
Copy link
Owner

csvoss commented Nov 20, 2015

Sorry for the delay here! I've realized recently that I've not been getting the GitHub notifications that I've wanted to get, so I just saw this.

At a glance, this looks really really nice! I appreciate the tests, and it fits well into the rest of the codebase.

I'll go through in more depth and give it a proper code review soon. Thanks for writing this!

@alkhaled
Copy link
Author

alkhaled commented Dec 5, 2015

No worries. Thanks for creating the project!

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

Successfully merging this pull request may close these issues.

2 participants