|
Hermes
|
The implementation of Trajectory. More...

Macros | |
| #define | HIT 0 |
| #define | MISS -1 |
| #define | GAP -1 |
Functions | |
| float8 * | EDR (const Trajectory *trajectoryA, const Trajectory *trajectoryB, float8 eps, float8 *result) |
| The function returns the EDR. More... | |
| PGDLLEXPORT Datum | EDRV1 (PG_FUNCTION_ARGS) |
| PG_FUNCTION_INFO_V1 (EDRV1) | |
The implementation of Trajectory.
These functions are documented in the Trajectory/Similarity.h
| #define GAP -1 |
Referenced by EDR().
| #define HIT 0 |
Referenced by EDR().
| #define MISS -1 |
Referenced by EDR().
| float8* EDR | ( | const Trajectory * | trajectoryA, |
| const Trajectory * | trajectoryB, | ||
| float8 | eps, | ||
| float8 * | result | ||
| ) |
The function returns the EDR.
| [in] | trajectoryA | The first trajectory |
| [in] | trajectoryB | The second trajectory |
| [in] | eps | the threshold, which determines whether or not two elements match. |
| [out] | result | The result |
References GAP, HIT, i(), j, MISS, Trajectory::NrPoints, Trajectory::points, PointST::sp, PointSP::x, and PointSP::y.
Referenced by EDRV1().

| PGDLLEXPORT Datum EDRV1 | ( | PG_FUNCTION_ARGS | ) |
| PG_FUNCTION_INFO_V1 | ( | EDRV1 | ) |