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

◆ tseqarr2_to_tseqarr()

TSequence ** tseqarr2_to_tseqarr ( TSequence ***  sequences,
int *  countseqs,
int  count,
int  totalseqs 
)

Return an array of temporal sequences converted from an array of arrays of temporal sequences.

This function is called by all the functions in which the number of output sequences cannot be determined in advance, typically when each segment of the input sequence can produce an arbitrary number of output sequences, as in the case of tcontains.

Parameters
[in]sequencesArray of array of temporal sequences
[in]countseqsArray of counters
[in]countNumber of elements in the first dimension of the arrays
[in]totalseqsNumber of elements in the output array
Precondition
count and totalseqs are greater than 0