Skip to main content
. 2019 Jul 27;14:17. doi: 10.1186/s13015-019-0152-9

Table 4.

The costs of relevant edges in the auxiliary graph for computing the value of G(c,ab): note that the cost for the edge (uv) is exactly value of G(uv), the size of the maximum common subtree between T1(u) and T2(v)

G {cde} {f} {g}
{de} 2 0 0
{f} 0 1 0

For computing G(c,ab) we only need the values G between each child of vertex c in T1 (i.e. de and f) and that of vertex ab in T2 (i.e. cde, f, g)