As mentioned previously, the simple
two-phase algorithm doesn’t take the connection of the two
phases into consideration but merely put them together. The
conventional way of generating initial group see (3). And the
possibility of Ak =1 is define as Pk.