Skip to main content
. 2023 Jan 3;23(1):531. doi: 10.3390/s23010531
Algorithm 4 Report Congestion
  • 1:

    procedureShould_I_Report_the_Congestion()

  • 2:

        if (the speed of vi is ≤Eps) then

  • 3:

               for each existing Delimiter_i in the front or rear delimiters of vi do

  • 4:

                       if (the speed of Delimiter_i is ≤Eps) then

                            Congestion_e(distance between vi and Delimiter_i);

                            Report_Congestion();

  • 5:

                        end if

  • 6:

               end for each

  • 7:

        end if

  • 8:

    end procedure