Research Article
Trust on the Ratee: A Trust Management System for Social Internet of Vehicles
Algorithm 2
Indirect trust algorithm.
| Input: the set of Cookies , the number of Cookies , | | relationship value , relation list of | | Output: indirect trust value | | (1) ; | | (2) ; | | (3) ; | | (4) ; | | (5) for to do | | (6) define is the rater of ; | | (7) if in then | | (8) compute as Algorithm 1; | | (9) else | | (10) assign a certain value to | | (11) ; | | (12) ; | | (13) ; | | (14) ; |
|