MobilityDB 1.1

◆ tnumbercontseq_restrict_spanset1()

int tnumbercontseq_restrict_spanset1 ( const TSequence seq,
const SpanSet ss,
bool  atfunc,
TSequence **  result 
)

Restrict a temporal number to (the complement of) an array of spans of base values.

Parameters
[in]seqTemporal number
[in]ssSpan set
[in]atfuncTrue if the restriction is at, false for minus
[out]resultArray on which the pointers of the newly constructed sequences are stored
Returns
Number of resulting sequences returned
Precondition
The array of spans is normalized
Note
This function is called for each sequence of a temporal sequence set