Skip to main content
. 2021 Nov 5;21(21):7363. doi: 10.3390/s21217363
Algorithm 1 Degree of Trust Computation Flow Process
  • 1:

    procedureObservation Gathering(Dob)

  • 2:

        Perceive Previous Available Observation

  • 3:

        if (Observation are available) then

  • 4:

            Compute Direct Trust;

  • 5:

        else

  • 6:

            Compute Indirect Trust;

  • 7:

    procedureDirect Trust Evaluation(Dtrustnid)

  • 8:

        Ability Evaluation as Equation (1)

  • 9:

        Benevolence Evaluation as Equation (2)

  • 10:

        Summation to Reputation Trust Degree as Equation (3)

  • 11:

        Integrity Evaluation as Equation (4)

  • 12:

        Absolute Trust Evaluation as Equation (5)

  • 13:

    procedureIndirect Trust Evaluation(IDtrustnid)

  • 14:

        Recommendation Gathering as Equation (6)

  • 15:

        Applying Summation to received recommendation as Equation (7)

  • 16:

    procedureDirect Trust Aggregation(Tabsdev)

  • 17:

        Aggregation Computation as Equation (8)

  • 18:

    procedureDecision Making(ϕ(t))

  • 19:

        Condition for Decision Making as Equation (9)

  • 20:

        Valid Node if Trust ≥ 0.5.

  • 21:

        Exit