MultiPhasesGap: Gap/Hiatus between a succession of phases (for phases in temporal order constraint)
Description
This function finds, if it exists, the gap between two successive phases. This gap or hiatus is the longest interval [IntervalInf, IntervalSup] that satisfies : P(Phase1End < IntervalInf < IntervalSup < Phase2Beginning | M) = level.