Skip to main content
. 2021 Jan 11;21(2):461. doi: 10.3390/s21020461
Algorithm 1 Control Points Estimator
  • 1:

    Input:κ,N,Ψ

  • 2:

    Output:A//Set of control points

  • 3:

    Sectionvariables:Pi,Ri,Si,ψi

  • 4:

    κ:Vectorofcurvature

  • 5:

    ψi:Setsofallextractedlinesinpartitioni

  • 6:

    N:Numberofpartitions

  • 7:

    Pi:Priornoisecovariance

  • 8:

    Ri:Measurementnoisecovariance

  • 9:

    Si:Setofpartitionsindexeseliminatingi

  • 10:

    fori=1; i<N; i++do

  • 11:

        for each lψi do

  • 12:

            for each Si{1..N}{i} do

  • 13:

               Initialize(PSi,RSi)

  • 14:

               x¯Si,lPredict(κ,l)

  • 15:

               x^Si,lMAPE(x¯l,ψSi,RSi,PSi)   //Update

  • 16:

            end for

  • 17:

            AAx^l

  • 18:

        end for

  • 19:

        A=RemoveSimilarCurves(A)

  • 20:

    end for