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

◆ tinstarr_similarity()

static double tinstarr_similarity ( const TInstant **  instants1,
int  count1,
const TInstant **  instants2,
int  count2,
SimFunc  simfunc 
)
static

Linear space computation of the similarity distance between two temporal values.

Parameters
[in]instants1,instants2Arrays of temporal instants
[in]count1,count2Number of instants in the arrays
[in]simfuncSimilarity function, i.e., Frechet or DTW
Note
Only two rows of the full matrix are used