MobilityDB 1.1

◆ tsequenceset_make1_exp()

static TSequenceSet * tsequenceset_make1_exp ( const TSequence **  sequences,
int  count,
int  maxcount,
bool  normalize 
)
static

Construct a temporal sequence set from an array of temporal sequences.

For example, the memory structure of a temporal sequence set with two sequences is as follows

------------------------------------------------------------
( TSequenceSet )_X | ( bbox )_X | offset_0 | offset_1 | ...
------------------------------------------------------------
---------------------------------------
( TSequence_0 )_X | ( TSequence_1 )_X |
---------------------------------------
Structure to represent temporal values of sequence set subtype.
Definition: meos.h:186

where the _X are unused bytes added for double padding, offset_0 and offset_1 are offsets for the corresponding sequences.

Parameters
[in]sequencesArray of sequences
[in]countNumber of elements in the array
[in]maxcountMaximum number of elements in the array
[in]normalizeTrue if the resulting value should be normalized. In particular, normalize is false when synchronizing two temporal sequence sets before applying an operation to them.