|
Hermes
|
The implementation of Trajectory. More...
#include "../../h/SpatioTemporal/Trajectory/Simplification.h"#include "../../h/SpatioTemporal/Trajectory/Interpolation.h"#include "../../h/SpatioTemporal/Trajectory/SessionParameters.h"#include "../../h/Spatial/SegmentSP/Distance.h"#include "../../h/Utilities/Utilities.h"#include <math.h>
Functions | |
| Trajectory * | simplifyTrajectory (const Trajectory *trajectory, float8 samplingPeriod, bool strict, int32 precision) |
| Trajectory * | simplifyEpochTrajectory (const Trajectory *trajectory, float8 samplingPeriod, bool strict, int32 precision) |
| PGDLLEXPORT Datum | simplifyTrajectoryV1 (PG_FUNCTION_ARGS) |
| PG_FUNCTION_INFO_V1 (simplifyTrajectoryV1) | |
| static int32 | _simplifyDPTrajectory (const Trajectory *trajectory, int32 j, int32 k, float8 eps, bool plus, int32 **ret) |
| Trajectory * | simplifyDPTrajectory (const Trajectory *trajectory, float8 eps, bool plus) |
| PGDLLEXPORT Datum | simplifyDPTrajectoryV1 (PG_FUNCTION_ARGS) |
| PG_FUNCTION_INFO_V1 (simplifyDPTrajectoryV1) | |
The implementation of Trajectory.
These functions are documented in the Trajectory/Simplification.h
|
static |
References distanceSegmentSP_PointSP(), SegmentSP::e, i(), SegmentSP::i, j, Trajectory::points, and PointST::sp.
Referenced by simplifyDPTrajectory().

| PG_FUNCTION_INFO_V1 | ( | simplifyTrajectoryV1 | ) |
| PG_FUNCTION_INFO_V1 | ( | simplifyDPTrajectoryV1 | ) |
| Trajectory* simplifyDPTrajectory | ( | const Trajectory * | trajectory, |
| float8 | eps, | ||
| bool | plus | ||
| ) |
References _simplifyDPTrajectory(), allocateTrajectory(), cloneTrajectory(), i(), Trajectory::NrPoints, and Trajectory::points.
Referenced by consistentGiSTSegmentST(), and simplifyDPTrajectoryV1().

| PGDLLEXPORT Datum simplifyDPTrajectoryV1 | ( | PG_FUNCTION_ARGS | ) |
References simplifyDPTrajectory(), and updateMetadataTrajectory().

| Trajectory* simplifyEpochTrajectory | ( | const Trajectory * | trajectory, |
| float8 | samplingPeriod, | ||
| bool | strict, | ||
| int32 | precision | ||
| ) |
References allocateTrajectory(), atInstantTrajectory(), cloneTrajectory(), e(), i(), j, Trajectory::NrPoints, Trajectory::points, precision, seconds2timestamp(), PointST::t, and timestamp2seconds().
Referenced by simplifyTrajectoryV1().

| Trajectory* simplifyTrajectory | ( | const Trajectory * | trajectory, |
| float8 | samplingPeriod, | ||
| bool | strict, | ||
| int32 | precision | ||
| ) |
References allocateTrajectory(), atInstantTrajectory(), cloneTrajectory(), differenceInSeconds(), i(), Trajectory::NrPoints, Trajectory::points, PointST::t, and timestampPlusSeconds().
Referenced by consistentGiSTSegmentST(), and simplifyTrajectoryV1().

| PGDLLEXPORT Datum simplifyTrajectoryV1 | ( | PG_FUNCTION_ARGS | ) |
References interval2seconds(), simplifyEpochTrajectory(), simplifyTrajectory(), updateMetadataTrajectory(), and validateInterpolationPrecision().
