Skip to main content
. 2022 Jan 5;22(1):401. doi: 10.3390/s22010401
Algorithm 4: Fault-Tolerance Mechanism for SDVN
Input:W1 & W2 (Two list one of safety messages while the other one of non-safety messages)
Output: £ (Successful messages)
  1.   For 1 to n

  2.    If Source received Ack

  3.    Then assign Mi to £ (Successful messages) // No action

  4.    Else

  5.    {

  6.    assign Mi to ϕ (Failed tasks/messages) // resend messages

  7.    Call Algorithm 3

  8.    }

  9.   End of for loop

  10.   Return £