For example, let's say I have 3 nodes: Dan, Ann and Bob.
Dan LIKES Ann.
Bob LIKES Ann.
Ann LIKES Bob.
I think the algorithm would give Dan and Bob a score of 1 given that they both have outgoing LIKES relationship to Ann. But is there a way to take into consideration the incoming LIKES relationship from Ann to Bob, which would change the similarity score between Dan and Bob?
Thank you