Skip to main content
. 2017 Feb 10;17(2):342. doi: 10.3390/s17020342
Algorithm 4 Trajectory fragments connecting.
Input: G^c(m,l), nτ, umin;
Output: S(m,l);
Process:
  • (a1) get UF of G^c(m,l) by Equation (17);

  • (a2) if UF=0, go to (a4);

  • (a3) find uijF=umaxF;

  •     update G^c(m,l) by setting G^c(i,m,l)=G^(ij);

  •     delete G^c(j,m,l);

  •     update UF by:

  •         recalculating the i-th row of UF;

  •         removing both the j-th row and j-th column of UF;

  •     goto (a2);

  • (a4) set S(m,l)=G^c(m,l).