Sim_WP_1994
Sim_WP_1994(dag, terms, verbose = simona_opt$verbose)
It is based on the depth of the LCA term c
and the longest distance between term a
and b
:
= 2*depth(c)/(len_c(a, b) + 2*depth(c)) sim
where len_c(a, b)
is the longest distance between a
and b
via LCA c
. The denominator in the equation can also be written as:
len_c(a, b) + 2*depth(c) = depth(c) + len(c, a) + depth(c) + len(c, b)
= depth_c(a) + depth_c(b)
where depth_c(a)
is the longest distance from root to a
passing through c
.
Paper link: doi:10.3115/981732.981751 .