Question
Given a social network that is represented by a directed graph G = (V,E) where V is the set of people and E is the
Given a social network that is represented by a directed graph G = (V,E) where V is the set of people and E is the set of people trust relationships, there is one directed edge (u,v) E from node u to node v if person u trusts person v with a certain degree trust, and this trust is measured by a value pu,v in the range between 0 to 1. The larger the trust value pu,v is, the higher the trustiness of u on v is. Notice that this trust relationship is not necessarily symmetric. In other words, if person a V fully trusts person b V , e.g., pa,b = 1, person b may not have any trust on person a, e.g., pb,a = 0. Devise an ecient algorithm for nding a most trustable path P in G from a person s V to another person t V if path P does exist such that the trust value of P is maximized, where the trust value of a path Q consisting of nodes v1, v2, ..., vk is k1 i=1 pvi,vi+1. You can make use of either natural language or pseudo-code to describe your algorithm with brief explanations Analyze the running time of your algorithm.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started