MobilityDB 1.1

◆ tsequence_join_test()

bool tsequence_join_test ( const TSequence seq1,
const TSequence seq2,
bool *  removelast,
bool *  removefirst 
)

Test whether two sequences can be joined during normalization.

The input sequences must ordered and either (1) are non-overlapping, or (2) share the same last/first instant in the case we are merging temporal sequences.

Parameters
[in]seq1,seq2Input sequences
[out]removelast,removefirstState the instants to remove if the sequences can be joined
Returns
True when the input sequences can be joined
Precondition
Both sequences are normalized