|
Algorithm 1: The minimax PF algorithm for the standard PF in wireless sensor networks |
| □ Initialization |
| for , where N is the number of particles. |
| 1. Random generation of initial particles: |
| , and assign initial weights: . |
| end |
| □ Sequential update |
| for , where T is the total time steps. |
| for , |
| 2. Propagation of particles via a proposal density:
|
| end |
| for , |
| 3. Computing the weights of particles:
|
| assuming the proposal density, |
| . |
| end |
| for , |
| 4. Normalization.
|
| 5. Selecting the minimum weight among M weights.
|
| end |
| 6. Normalization of the weights:
|
| 7. Computing the estimate at the time step t:
|
| 8. Resampling N particles. |
| end |