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

◆ spanarr_normalize()

Span * spanarr_normalize ( Span spans,
int  count,
bool  order,
int *  newcount 
)

Normalize an array of spans.

The input spans may overlap and may be non contiguous. The normalized spans are new spans that must be freed.

Parameters
[in]spansArray of spans
[in]countNumber of elements in the input array
[in]orderTrue if the spans should be ordered
[out]newcountNumber of elements in the output array
Precondition
count is greater than 0