Skip to main content
. 2025 Oct 23;25(21):6530. doi: 10.3390/s25216530
Algorithm 4 ADT testing process
  •   1:

    function Predict(xtest, k, m)

  •   2:

          Run Tk with xtest(Xk,Vko)

  •   3:

          for nLk do

  •   4:

                  Find k with which Tk is connected to Tk,n

  •   5:

                  if k exists then

  •   6:

                          XkXk,n

  •   7:

                          Predict(xtest, k, m+1)

  •   8:

                  else

  •   9:

                          ypred(Xk,n)yk,n

  • 10:

                  end if

  • 11:

          end for

  • 12:

    end function

  • 13:

    Predict(xtest, 0, 0)