Boost logo

Boost :

From: Jeff Garland (jeff_at_[hidden])
Date: 2003-08-18 09:30:54

On 18 Aug 2003 11:43:26 +0200, Gabriel Dos Reis wrote
> Guillaume Melquiond <gmelquio_at_[hidden]> writes:
> | In the case of a 1-dimension space, connected and convex set are
> | equals: they are segments (or half-line or line or empty). Date
> | manipulated by the date-time library are in a 1-dimension space
> (the | real line) and periods are segments (non-empty bounded convex
> | sets). So when you have two periods, the smallest period enclosing
> | these two is also the convex hull of them. Hence the name I suggested.
> that is fine for some mathematically oriented mind. However, it is a
> terrible name.

Here is how I explain it:

   Combines two periods and any gap between them such that
     start = min(p1.start, p2.start)
     end = max(p1.end , p2.end)

   Or graphically:



Boost list run by bdawes at, gregod at, cpdaniel at, john at