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

◆ tsequence_tagg_iter()

static int tsequence_tagg_iter ( const TSequence seq1,
const TSequence seq2,
datum_func2  func,
bool  crossings,
TSequence **  result 
)
static

Generic aggregate function for temporal sequences (iterator function)

Parameters
[in]seq1,seq2Temporal sequence values to be aggregated
[in]funcFunction, may be NULL for the merge aggregate function
[in]crossingsTrue if turning points are added in the segments
[out]resultArray on which the pointers of the newly constructed ranges are stored
Returns
On error return -1
Note
Return new sequences that must be freed by the calling function