3.3 Matching algorithm
In this section, we present an algorithm that permits to
match two elements el and er in two distinct trees. In our
case, the two matching trees are the expertise Exp
i and the
peer'POwl
j . The ¯rst element el is assumed to belong to the
POwl
j and er is an element which belongs to an expertise
Exp
i . The result of the matching of these two nodes el and
er is one of the two possibilities: Similar or dissimilar.
Algorithm: M2E(Element el, Element er)
Input: two elements el and er and their corresponding con-
texts.
Output: el and er are two similar or dissimilar elements.