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

◆ tsequenceset_split_n_spans()

Span * tsequenceset_split_n_spans ( const TSequenceSet ss,
int  span_count,
int *  count 
)

Return an array of N spans from the segments of a temporal sequence set.

Parameters
[in]ssTemporal sequence set
[in]span_countNumber of spans
[out]countNumber of elements in the output array
Returns
If the number of segments in the temporal sequence set is <= span_count, the result contains one span per segment. Otherwise, consecutive segments are combined into a single span in the result to reach the number of spans.