Class: HashMatcher

HashMatcher()

A matching module that employs hashing to find robust matches efficiently.

Constructor

new HashMatcher()

Implements:
Source:

Methods

match(oldTree, newTree, matching, comparator)

Extend the matching with matches between subtrees with an identical hash value. If multiple subtrees have the same value, the first pair with the lowest positional comparison value is matched.
Parameters:
Name Type Description
oldTree Node The root of the old (original) process tree
newTree Node The root of the new (changed) process tree
matching Matching The existing matching to be extended
comparator Comparator The comparator used for comparisons.
Implements:
Source: