Skip to content

Commit

Permalink
Merge pull request #30 from arnsholt/patch-1
Browse files Browse the repository at this point in the history
Fix a misleading comment.

Thanks @arnsholt for reading the code.
  • Loading branch information
timtadh authored Jul 11, 2016
2 parents 2c3232f + bfa7aa2 commit af4405e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zss/compare.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ def __init__(self, root, get_children):
self.get_children = get_children

self.root = root
self.nodes = list() # a pre-order enumeration of the nodes in the tree
self.nodes = list() # a post-order enumeration of the nodes in the tree
self.ids = list() # a matching list of ids
self.lmds = list() # left most descendents
self.keyroots = None
# k and k' are nodes specified in the pre-order enumeration.
# k and k' are nodes specified in the post-order enumeration.
# keyroots = {k | there exists no k'>k such that lmd(k) == lmd(k')}
# see paper for more on keyroots

Expand Down

0 comments on commit af4405e

Please sign in to comment.