Skip to main content
. 2019 Apr 3;19(7):1614. doi: 10.3390/s19071614
Algorithm 1 Step-by-Step Implementation of the Proposed Transition Model
Require: vehicle states XV,k, YV,k, ϕk, and particles ωi,k(),βi,k()i=1N() representing the distribution of each plane with label , for all labels L
  1:  compute matrix Rk ▹ use Equation (28)
  2:  generate a noise sample uN(0,Σ) Σ diag(noise variances)
  3:  generate XV,k+1, YV,k+1 and ϕk+1 ▹ use Equation (36)
  4:  compute matrix Rk+1 ▹ use Equation (30)
  5:  Mk1Rk1Rk+1
  6:  for L do
  7:  for iN() do
  8:     βi,k+1()Tβi,k()T×Mk1
  9:     ωi,k+1()ωi,k()
10:  end for
11:  β^k+1()i=1N()ωi,k+1()βi,k+1() ▹ compute the EAP estimate
12:  end for