justinklee345 / cs225ProjectHelloHello

cs225 project
0 stars 0 forks source link

12/10: bfs traversal and scaled ratings #11

Closed danielkoexe closed 1 year ago

danielkoexe commented 1 year ago

added bfs traversal which returns a vector containing the traversal starting from src node id. scaled the ratings originally from -10 to 10 to ratings from 1 to 21 by multiplying by -1 and adding 11. The worse the rating the greater the weight of the edge.