The goal is to generate P "particles" at k using only the particles from k − − 1 . This requires that a Markov equation can be written (and computed) to generate a x k based only upon x k − − 1 . This algorithm uses the composition of the P particles from k − − 1 to generate a particle at k and repeats (steps 2–6) until P particles are generated at k.