Skip to main content
. 2021 Dec 24;22(1):108. doi: 10.3390/s22010108
Algorithm 3. Social Trust Adaptation Technique.
Input: Nodes (trustor, Trustee, Adaptation)
Output: Calculated Social Trust
1: Start
2: social_trust(I ← j)
3: j(i)
4: if(j! = hr)                // Checked through adaptation technique [X. Liu, et al. [16]]
           request_refuse()
5: else
            Go to Algorithm 1 step 8
6: social_trustcalculate( )
7: End