|
Algorithm 3 Change the Pseudonym |
-
1:
procedureShould_I_Change_my_Pseudonym()
-
2:
if ((the speed variation, i.e., the difference between and ), is ≥) AND (the time while was silent is ≥) AND (the time while was silent is ≤) AND (the distance while was silent is ≥) AND (the set of is ≥ the threshold ) AND (the value is ≥)) then
-
3:
▹ and reinitialize the regular pseudonym change timer
-
4:
else if (the time while was silent is >) then
Force to leave the silence state in order to ensure efficient pseudonym changes and achieve the vivacity and assiduity requirements.
-
5:
end if
-
6:
end procedure
|