MobilityDB 1.1

◆ temporal_wagg_transfn1()

static SkipList * temporal_wagg_transfn1 ( SkipList state,
Temporal temp,
Interval interval,
datum_func2  func,
bool  min,
bool  crossings 
)
static

Generic moving window transition function for min, max, and sum aggregation.

Parameters
[in,out]stateSkiplist containing the state
[in]tempTemporal value
[in]intervalInterval
[in]funcFunction
[in]minTrue if the calling function is min, max otherwise
[in]crossingsTrue if turning points are added in the segments
Note
This function is directly called by the window sum aggregation for temporal floats after verifying since the operation is not supported for sequence (set) type