Skip to main content
. 2022 Sep 9;22(18):6839. doi: 10.3390/s22186839
Algorithm5: Warning Message Dissemination.
Input: DS, and 𝜏
Output: Failure or Success in the dissemination of a WM
  •   1.

    Begin:

  •   2.

    Build NGs for S

  •   3.

      loop

  •   4.

       ifΒ D ∈ NGsΒ then

  •   5.

        S >> D

  •   6.

        exit

  •   7.

       else

  •   8.

         identify Of

  •   9.

        S >> Of

  •   10.

        S ← Of

  •   11.

        Build NG for newly deputed S at 𝜏i

  •   12.

       end if

  •   13.

      end loop

  •   14.

    end