“…Such a coding (adopted for example by [BC05]), in spite of its simplicity, has the disadvantage of generating chromosomes that may violate the two above requirements (no more than K regimes, and at least M observations in each regime), therefore it needs a "legalization" stage, in which each chromosome is analyzed, and those violating the requirements are discarded. We first choose a maximum number of regimes, K, and a minimum number of observations for each regime, M .…”