Skip to content

Latest commit

 

History

History
14 lines (12 loc) · 785 Bytes

README.md

File metadata and controls

14 lines (12 loc) · 785 Bytes

ZhangShashaCSharp

An implementation of Zhang/Shasha in C#, including a list of operations.

This is a basic implemementation of the Zhang/Shasha algorithm for tree diffs. It is, so far, the only diff algorithm that makes good sense, because the paper is precise and easy to implement. I have some concerns about general trees, because the paper examples are with binary trees. The paper does not include the operations that need to be performed; this implementation does.

This implementation is based on the Alex Ilchenko's implementation. It is the only one that is a faithful, exact implementation of the psuedo-code listed in the Zhang/Shasha paper.