EventsGBBopen CoreBlackboard RepositoryIntervalsGoTo Top

Intervals

This section contains :gbbopen-core entities that pertain to intervals. An interval [a,b] is the set of real numbers between the start value of the interval, a, and the end value, b, inclusive. The interval [x,x] represents the single point x.

An interval is represented as either a cons, a two-element list, or a two-element array containing the start and end values of the interval. So, a representation for the interval [0,100] can be created as any of the following:

The function make-interval is provided for stylistic clarity in creating an interval.

Intervals also include the unbounded intervals:

It is an error for the start value of an interval to be greater than the end value.

Entities


The GBBopen Project


EventsGBBopen CoreBlackboard RepositoryIntervalsGoTo Top