MobilityDB  1.0

◆ 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]crossingsState whether turning points are added in the segments
[in]newcountNumber of elements in the result
Note
Returns new sequences that must be freed by the calling function.