MobilityDB 1.1

◆ spanarr_normalize()

Span ** spanarr_normalize ( Span **  spans,
int  count,
bool  sort,
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]sortTrue if the spans should be sorted before normalization
[out]newcountNumber of elements in the output array
Precondition
i