Closed nesaro closed 13 years ago
Hi I will take a look at this more closely. I unfortunately lost my annotated version of the paper. So I will have to do some thinking. In any case I will test your change.
You are correct. Tested and merged. Thanks for reading the code. Now for that bug I still haven't worked on...
It was my pleasure. Good luck with that other bug!
Hi Tim,
I was looking for a tree-diff algorithm, and I found your project. I've reviewed it for learning purposes, and if I understood the algorithm correctly, the second condition of the shared root case is always true if the first is true:
but:
(x == i and y == j) ---> A.lmds[i] == A.lmds[x] and B.lmds[j] == B.lmds[y]
In case I didn't understand your code properly, I'm sorry for the inconvenience. Thank you for your making your code available!