MobilityDB  1.0

◆ tinstantarr_similarity1()

static double tinstantarr_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
[out]distArray keeping the distances
[in]instants1,instants2Arrays of temporal instants
[in]count1,count2Number of instants in the arrays
[in]simfuncSimilarity function, i.e., Frechet or DTW