MobilityDB 1.1

◆ tfloatseq_findsplit()

static void tfloatseq_findsplit ( const TSequence seq,
int  i1,
int  i2,
int *  split,
double *  dist 
)
static

Find a split when simplifying the temporal sequence point using a spatio-temporal extension of the Douglas-Peucker line simplification algorithm.

Parameters
[in]seqTemporal sequence
[in]i1,i2Indexes of the reference instants
[out]splitLocation of the split
[out]distDistance at the split