Skip to main content
. 2024 Jun 19;24(12):3965. doi: 10.3390/s24123965
Algorithm 1 Main(Br,P,K,i,j,type)
  • 1:

    if (type= US) then

  • 2:

       if (SinglePath(Br,P,K,i,j) = Accepted) then

  • 3:

         return Accepted;

  • 4:

       else

  • 5:

         return MultiPath(Br,2,K,i,j,US);

  • 6:

       end if

  • 7:

    else if (type= PS) then

  • 8:

       return MultiPath(Br,P,K,i,j,PS)

  • 9:

    end if