Chapter 6

Intervals

The key to the problems identified in the previous chapter is to recognize that intervals are best thought of as objects in their own right, instead of just as pairs of points (“from/to pairs”). The chapter discusses some immediate consequences, and advantages, of this state of affairs. It then discusses in detail the concept of an interval data type and the concept of the associated point type, stressing in particular the role of the corresponding successor function. The chapter also stresses the fact that intervals aren’t necessarily temporal in nature—in fact, intervals in general are a widely applicable and useful abstraction. The chapter concludes with a brief discussion of relations having two or more interval attributes. ...

Get Time and Relational Theory, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.