MobilityDB 1.1

◆ tsequence_tagg()

TSequence ** tsequence_tagg ( TSequence **  sequences1,
int  count1,
TSequence **  sequences2,
int  count2,
datum_func2  func,
bool  crossings,
int *  newcount 
)

Generic aggregate function for temporal sequences.

Parameters
[in]sequences1Accumulated state
[in]count1Number of elements in the accumulated state
[in]sequences2Sequences of a temporal sequence set value
[in]count2Number of elements in the temporal sequence set value
[in]funcFunction
[in]crossingsTrue if turning points are added in the segments
[out]newcountNumber of elements in the result
Note
Return new sequences that must be freed by the calling function.