Method ADT.Interval()->overlaps()

class ADT.Interval

Method overlaps

bool overlaps(this_program(< RangeType >) i)

Description

Return true if the intersection with i is nonempty, using the same boundary selection as lfun::`&(). Two intervals meeting only at an endpoint overlap when both include that endpoint.