Skip to main content
. 2022 Dec 16;22(24):9948. doi: 10.3390/s22249948
Algorithm 2: Path Inference.
1 Sort the candidate frames by ascending order of timestamps and denote them by F1,F2,⋯,Fk ;
2 for 1≤i≤k do
3   for each incoming neighbor F′→Fi do
4    for each partial route P∈RF′ do
5     Extend P to a new path P′=P→F i;
6     Incrementally estimate the score of P′ ;
7     if score P′>δ, then
8       RFi=RFi∪P′ ;
9      if len( P′ ) >lenPmax, then
10        Pmax= P′ ;
11    RFi=RFi∪Fi ;
12 return Pmax ;