justinklee345 / cs225ProjectHelloHello

cs225 project
0 stars 0 forks source link

12/10: added trust func following project proposal #12

Closed danielkoexe closed 1 year ago

danielkoexe commented 1 year ago

function returns rating if rating exists between two users, otherwise it uses dijkstras to determine the distance between the two users. since the weight of edges represent rating, with greater weights being worse, the greater the distance the worse the transaction path between two users. it could also just be a long transaction path between the users with good ratings along the path, but we arbitrarily prioritized shorter transaction paths as more reliable in our project proposal.