MobilityDB 1.3
Loading...
Searching...
No Matches

◆ tnumberseq_cont_restrict_spanset_iter()

int tnumberseq_cont_restrict_spanset_iter ( 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 (iterator function)

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