Research Article

Temporal Activity Path Based Character Correction in Heterogeneous Social Networks via Multimedia Sources

Algorithm 4

.
Input: Two character vertices and
Output: value of path similarity of and in
(01)Initialize list by relation list of in
(02)Initialize list by relation list of in
(03)for    to    do
(04)for    to    do
(05)if   of = of   then
(06)
(07)end if
(08)end for
(09)end for
(10)for    to    do
(11)for    to    do
(12)if of [] = of   then
(13)
(14)end if
(15)end for
(16)end for
(17)for    to    do
(18)for    to    do
(19)if of = of   then
(20)
(21)end if
(22)end for
(23)end for
(24)
(25)return