Hermes
 All Data Structures Files Functions Variables Macros Pages
Chebyshev.c File Reference

The implementation of Trajectory. More...

Include dependency graph for Chebyshev.c:

Functions

float8 * Chebyshev (const Trajectory *trajectoryA, const Trajectory *trajectoryB, int32 precision, float8 *result)
 The function returns the maximum norm between the trajectories. More...
 
PGDLLEXPORT Datum ChebyshevV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (ChebyshevV1)
 

Detailed Description

The implementation of Trajectory.

Author
Marios Vodas (mvoda.nosp@m.s@gm.nosp@m.ail.c.nosp@m.om).

These functions are documented in the Trajectory/Similarity.h

Function Documentation

float8* Chebyshev ( const Trajectory trajectoryA,
const Trajectory trajectoryB,
int32  precision,
float8 *  result 
)

The function returns the maximum norm between the trajectories.

Parameters
[in]trajectoryAThe first trajectory
[in]trajectoryBThe second trajectory
[in]precisionThe wanted precision
[out]resultThe result

References atInstantTrajectory(), distanceChebyshevPointSP_PointSP(), Trajectory::NrPoints, Trajectory::points, PointST::sp, and PointST::t.

Referenced by ChebyshevV1().

Here is the call graph for this function:

PGDLLEXPORT Datum ChebyshevV1 ( PG_FUNCTION_ARGS  )

References Chebyshev(), and validateInterpolationPrecision().

Here is the call graph for this function:

PG_FUNCTION_INFO_V1 ( ChebyshevV1  )