MobilityDB 1.1

◆ tfunc_tcontseq_tcontseq_single()

static int tfunc_tcontseq_tcontseq_single ( const TSequence *  seq1,
const TSequence *  seq2,
LiftedFunctionInfo *  lfinfo,
Span *  inter,
TSequence **  result 
)
static

Synchronizes the temporal values and apply to them the function.

This function is applied when the result is a single sequence and thus it is used when

  • the function to lift has NOT instantaneous discontinuities
  • the temporal values have equal interpolation.
Parameters
[in]seq1,seq2Temporal values
[in]lfinfoInformation about the lifted function
[in]interOverlapping period of the two sequences
[out]resultArray on which the pointers of the newly constructed sequences are stored
Precondition
The sequences are both linear or both step