bool peq(const interval<T>&, const interval<T>&); bool pne(const interval<T>&, const interval<T>&); bool ple(const interval<T>&, const interval<T>&); bool pge(const interval<T>&, const interval<T>&); bool plt(const interval<T>&, const interval<T>&); bool pgt(const interval<T>&, const interval<T>&);
Possible comparison operators compare two intervals without checking for overlap between the intervals, that is possible comparison operators only check the appropriate extremas for matching and don’t consider whether they overlap. As follows for a logical comparison operator for possible comparison operators are defined as: