retroactive icon indicating copy to clipboard operation
retroactive copied to clipboard

Retroactive union find

Open alkhaled opened this issue 10 years ago • 2 comments
trafficstars

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

alkhaled avatar Sep 10 '15 16:09 alkhaled

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!

csvoss avatar Nov 20 '15 22:11 csvoss

No worries. Thanks for creating the project!

alkhaled avatar Dec 05 '15 15:12 alkhaled