MobilityDB 1.1
|
#include "general/temporal_similarity.h"
#include <assert.h>
#include <math.h>
#include <postgres.h>
#include <funcapi.h>
#include <access/htup_details.h>
#include <meos.h>
#include "pg_point/tpoint_spatialfuncs.h"
Functions | |
static SimilarityPathState * | similarity_path_state_make (Match *path, int size) |
Create the initial state that persists across multiple calls of the function. More... | |
static void | similarity_path_state_next (SimilarityPathState *state) |
Increment the current state to the next warp of the path. More... | |
PGDLLEXPORT Datum | Temporal_dynamic_time_warp (PG_FUNCTION_ARGS) |
Compute the Dynamic Time Match (DTW) distance between two temporal values. More... | |
PGDLLEXPORT Datum | Temporal_dynamic_time_warp_path (PG_FUNCTION_ARGS) |
Compute the Dynamic Time Warp (DTW) path between two temporal values. More... | |
PGDLLEXPORT Datum | Temporal_frechet_distance (PG_FUNCTION_ARGS) |
Compute the discrete Frechet distance between two temporal values. More... | |
PGDLLEXPORT Datum | Temporal_frechet_path (PG_FUNCTION_ARGS) |
Compute the Frechet path between two temporal values. More... | |
Datum | temporal_similarity_ext (FunctionCallInfo fcinfo, SimFunc simfunc) |
Similarity distance for temporal values. More... | |
Datum | temporal_similarity_path_ext (FunctionCallInfo fcinfo, SimFunc simfunc) |
Compute the Dynamic Time Match (DTW) path between two temporal values. More... | |