MobilityDB 1.1

◆ tinstarr_similarity1()

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

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

Only two rows of the full matrix are used.

Parameters
[in]instants1,instants2Arrays of temporal instants
[in]count1,count2Number of instants in the arrays
[in]simfuncSimilarity function, i.e., Frechet or DTW
[out]distArray keeping the distances