MobilityDB  1.0

◆ tsequence_tagg1()

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

Generic aggregate function for temporal sequences.

Parameters
[out]resultArray on which the pointers of the newly constructed ranges are stored
[in]seq1,seq2Temporal sequence values to be aggregated
[in]funcFunction
[in]crossingsState whether turning points are added in the segments
Note
Returns new sequences that must be freed by the calling function