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

◆ temporal_skiplist_common()

int temporal_skiplist_common ( SkipList list,
void **  values,
int  count,
int *  lower,
int *  upper,
int  update[SKIPLIST_MAXLEVEL] 
)

Determine the segment of the list that overlaps with the new set of temporal values.

Parameters
[in]listSkiplist
[in]valuesArray of values
[in]countNumber of elements in the array
[out]lowerArray index of the start of the segment
[out]upperArray index of the end of the segment
[out]updateArray of indices keeping the levels of the elements to insert
Returns
Number of elements in the list that will be aggregated with the new values, on error return -1