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

◆ tinstant_tagg()

TInstant ** tinstant_tagg ( TInstant **  instants1,
int  count1,
TInstant **  instants2,
int  count2,
datum_func2  func,
int *  newcount,
void ***  tofree,
int *  nfree 
)

Generic aggregate function for temporal instants.

Parameters
[in]instants1Instants of the accumulated state that overlap with the new instants in instants2. At this point of the processing these instants have been removed from the skiplist.
[in]instants2Instants of the input temporal discrete sequence that need to be merged into the skiplist.
[in]count1,count2Number of values in the input arrays
[in]funcFunction, may be NULL for the merge aggregate function
[out]newcountNumber of instants in the output array
[out]tofreeArray of values that must be freed
[out]nfreeNumber of values that must be freed