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

◆ tnumberseq_linear_value_split()

static void tnumberseq_linear_value_split ( const TSequence seq,
Datum  start_bin,
Datum  size,
int  count,
TSequence **  result,
int *  nseqs,
int  numcols 
)
static

Split a temporal value into an array of fragments according to value bins.

Parameters
[in]seqTemporal value
[in]start_binValue of the start bin
[in]sizeSize of the value bins
[in]countNumber of bins
[in,out]resultArray containing the fragments of each bin
[in,out]nseqsNumber of fragments for each bin
[in]numcolsNumber of columns in the 2D pointer array. It can be seq->count for sequences or ss->totalcount for sequence sets