Expand description
APTED (All Path Tree Edit Distance) implementation.
Memoized DP over (node1.id, node2.id) pairs. Identifier equality is
decided by (kind, value) — id/subtree_size are ignored.
Structs§
Functions§
- edit_
distance - Compute tree edit distance between
aandb. Both trees must have been finalized (id/subtree_sizeset).