Feedback "Overlap" means nonempty intersection 

Forum: Com Sci 12500, U Chicago, Autumn 2002, Discuss Classwork
Re: News Project Step #1, due Friday 8 November
Re: Question overlap and contained (Mark Kittisopikul)
Date: 2002, Nov 05
From: Mike O'Donnell <odonnell@cs.uchicago.edu>

Oops. I neglected to define overlap. I will add it to the abstraction specification for ratintvl.

Two intervals overlap if there is at least one real number contained in both intervals. Equivalently, two intervals overlap if their intersection is not empty.

When I designed the predicates for ratintvl, I made a quick stab at some sort of completeness. With rational and real numbers, the possible ordering relations are covered nicely by <, =, and >, or by <= and >=. Not equal is definable from either of these. The possible ordering relations between intervals are more complicated. What are sensible criteria for niceness? Are all of the possible ordering relations definable from the ones that I specified? Is my choice of ordering relations nice?




Mike O'D.


Messages

1. Note Short Answer by Mark Kittisopikul, 2002, Nov 05
2. Feedback Versioning by Mark Kittisopikul, 2002, Nov 05

to: ""Overlap" means nonempty intersection"