| Algorithm A1 Merging mixture components |
| Require: data xN, finite mixture model f, criterion function Crit. |
| 1: while (The number of components) > 1 do |
| 2: |
| 3: if a certain stopping condition is satisfied then |
| 4: return The current components. |
| 5: end if |
| 6: Merge components i and j. |
| 7: end while |
| 8: return The current components. |