![]() |
MobilityDB 1.3
|
Analytics for time and temporal values. More...
#include "temporal/temporal_analytics.h"
#include <assert.h>
#include <postgres.h>
#include <funcapi.h>
#include <access/htup_details.h>
#include <utils/timestamp.h>
#include <meos.h>
#include "temporal/set.h"
#include "temporal/span.h"
#include "temporal/temporal.h"
#include "pg_temporal/skiplist.h"
#include "pg_temporal/temporal.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... | |
Datum | Temporal_dyntimewarp_distance (PG_FUNCTION_ARGS) |
Return the Dynamic Time Warp (DTW) distance between two temporal values @sqlfn dynTimeWarpDistance() More... | |
Datum | Temporal_dyntimewarp_path (PG_FUNCTION_ARGS) |
Return the Dynamic Time Warp (DTW) path between two temporal values @sqlfn dynTimeWarpPath() More... | |
Datum | Temporal_frechet_distance (PG_FUNCTION_ARGS) |
Return the discrete Frechet distance between two temporal values @sqlfn frechetDistance() More... | |
Datum | Temporal_frechet_path (PG_FUNCTION_ARGS) |
Return the Frechet path between two temporal values @sqlfn frechetDistancePath() More... | |
Datum | Temporal_hausdorff_distance (PG_FUNCTION_ARGS) |
Return the Hausdorff distance between two temporal values @sqlfn hausdorffDistance() More... | |
Datum | Temporal_similarity (FunctionCallInfo fcinfo, SimFunc simfunc) |
Generic similarity function between two temporal values. More... | |
Datum | Temporal_similarity_path (FunctionCallInfo fcinfo, SimFunc simfunc) |
Compute the similarity path between two temporal values. More... | |
Datum | Temporal_simplify_dp (PG_FUNCTION_ARGS) |
Return a temporal sequence (set) float or point simplified using a Douglas-Peucker line simplification algorithm @sqlfn douglasPeuckerSimplify() More... | |
Datum | Temporal_simplify_max_dist (PG_FUNCTION_ARGS) |
Return a temporal sequence (set) float or point simplified using a single-pass Douglas-Peucker line simplification algorithm @sqlfn maxDistSimplify. More... | |
Datum | Temporal_simplify_min_dist (PG_FUNCTION_ARGS) |
Return a temporal sequence (set) float or point simplified ensuring that consecutive values are at least a given distance apart @sqlfn minDistSimplify() More... | |
Datum | Temporal_simplify_min_tdelta (PG_FUNCTION_ARGS) |
Return a temporal sequence (set) float or point simplified ensuring that consecutive values are at least a given distance apart @sqlfn minTimeDeltaSimplify() More... | |
Datum | Temporal_tprecision (PG_FUNCTION_ARGS) |
Return a temporal value with the precision set to time bins @sqlfn tPrecision() More... | |
Datum | Temporal_tsample (PG_FUNCTION_ARGS) |
Return a temporal value sampled at time bins @sqlfn tSample() More... | |
Datum | Timestamptz_tprecision (PG_FUNCTION_ARGS) |
Return the initial timestamptz of the bin in which a timestamptz falls @sqlfn tPrecision() More... | |
Datum | Tstzset_tprecision (PG_FUNCTION_ARGS) |
Return a tstzset with the precision set to time bins @sqlfn tPrecision() More... | |
Datum | Tstzspan_tprecision (PG_FUNCTION_ARGS) |
Return a tstzspan with the precision set to time bins @sqlfn tPrecision() More... | |
Datum | Tstzspanset_tprecision (PG_FUNCTION_ARGS) |
Return a tstzspanset value with the precision set to time bins @sqlfn tPrecision() More... | |
Analytics for time and temporal values.