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

The implementation of SegmentST. More...

#include "../../../h/SpatioTemporal/SegmentST/Indexing/S2T.h"
#include "../../../h/Utilities/Utilities.h"
#include <funcapi.h>
#include <access/htup_details.h>
#include <utils/builtins.h>
Include dependency graph for S2T.c:

Functions

PGDLLEXPORT Datum getS2T_TemporalBufferSize (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (getS2T_TemporalBufferSize)
 
PGDLLEXPORT Datum setS2T_TemporalBufferSize (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (setS2T_TemporalBufferSize)
 
PGDLLEXPORT Datum getS2T_SpatialBufferSize (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (getS2T_SpatialBufferSize)
 
PGDLLEXPORT Datum setS2T_SpatialBufferSize (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (setS2T_SpatialBufferSize)
 
PGDLLEXPORT Datum getS2T_SimplificationMethod (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (getS2T_SimplificationMethod)
 
PGDLLEXPORT Datum setS2T_SimplificationMethodT (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (setS2T_SimplificationMethodT)
 
PGDLLEXPORT Datum setS2T_SimplificationMethodDP (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (setS2T_SimplificationMethodDP)
 
PGDLLEXPORT Datum setS2T_SimplificationMethodDPP (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (setS2T_SimplificationMethodDPP)
 
PGDLLEXPORT Datum setNoneS2T_SimplificationMethod (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (setNoneS2T_SimplificationMethod)
 
PGDLLEXPORT Datum getS2T_VotingMethod (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (getS2T_VotingMethod)
 
PGDLLEXPORT Datum setS2T_VotingMethod (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (setS2T_VotingMethod)
 
PGDLLEXPORT Datum setNoneS2T_VotingMethod (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (setNoneS2T_VotingMethod)
 
PGDLLEXPORT Datum getS2T_Sigma (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (getS2T_Sigma)
 
PGDLLEXPORT Datum setS2T_Sigma (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (setS2T_Sigma)
 
PGDLLEXPORT Datum getS2T_VotingSignal (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (getS2T_VotingSignal)
 

Variables

float8 S2T_TemporalBufferSize = 0.0
 
int32 S2T_SpatialBufferSize = 0
 
int32 S2T_SimplificationMethod = 0
 
float8 S2T_SimplificationSamplingPeriod = 0.0
 
float8 S2T_SimplificationEpsDP = 0.0
 
int32 S2T_VotingMethod = 0
 
float8 S2T_Sigma = 1.0
 
float8 S2T_sqSigma_times_two = 2.0
 
MemoryContext S2T_MemoryContext = NULL
 
int32 S2T_NrSegments = 0
 
float8 * S2T_Voting = NULL
 
float8 * S2T_Lifespan = NULL
 

Detailed Description

The implementation of SegmentST.

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

These functions are documented in the SegmentST/Indexing/S2T.h

Function Documentation

PGDLLEXPORT Datum getS2T_Sigma ( PG_FUNCTION_ARGS  )

References S2T_Sigma.

PGDLLEXPORT Datum getS2T_SimplificationMethod ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum getS2T_SpatialBufferSize ( PG_FUNCTION_ARGS  )

References S2T_SpatialBufferSize.

PGDLLEXPORT Datum getS2T_TemporalBufferSize ( PG_FUNCTION_ARGS  )

References S2T_TemporalBufferSize, and seconds2interval().

Here is the call graph for this function:

PGDLLEXPORT Datum getS2T_VotingMethod ( PG_FUNCTION_ARGS  )

References S2T_VotingMethod.

PGDLLEXPORT Datum getS2T_VotingSignal ( PG_FUNCTION_ARGS  )

References i(), S2T_Lifespan, S2T_NrSegments, S2T_Voting, and seconds2interval().

Here is the call graph for this function:

PG_FUNCTION_INFO_V1 ( getS2T_TemporalBufferSize  )
PG_FUNCTION_INFO_V1 ( setS2T_TemporalBufferSize  )
PG_FUNCTION_INFO_V1 ( getS2T_SpatialBufferSize  )
PG_FUNCTION_INFO_V1 ( setS2T_SpatialBufferSize  )
PG_FUNCTION_INFO_V1 ( getS2T_SimplificationMethod  )
PG_FUNCTION_INFO_V1 ( setS2T_SimplificationMethodT  )
PG_FUNCTION_INFO_V1 ( setS2T_SimplificationMethodDP  )
PG_FUNCTION_INFO_V1 ( setS2T_SimplificationMethodDPP  )
PG_FUNCTION_INFO_V1 ( setNoneS2T_SimplificationMethod  )
PG_FUNCTION_INFO_V1 ( getS2T_VotingMethod  )
PG_FUNCTION_INFO_V1 ( setS2T_VotingMethod  )
PG_FUNCTION_INFO_V1 ( setNoneS2T_VotingMethod  )
PG_FUNCTION_INFO_V1 ( getS2T_Sigma  )
PG_FUNCTION_INFO_V1 ( setS2T_Sigma  )
PG_FUNCTION_INFO_V1 ( getS2T_VotingSignal  )
PGDLLEXPORT Datum setNoneS2T_SimplificationMethod ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum setNoneS2T_VotingMethod ( PG_FUNCTION_ARGS  )

References S2T_VotingMethod.

PGDLLEXPORT Datum setS2T_Sigma ( PG_FUNCTION_ARGS  )

References S2T_Sigma, and S2T_sqSigma_times_two.

PGDLLEXPORT Datum setS2T_SimplificationMethodDP ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum setS2T_SimplificationMethodDPP ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum setS2T_SimplificationMethodT ( PG_FUNCTION_ARGS  )

References interval2seconds(), S2T_SimplificationMethod, and S2T_SimplificationSamplingPeriod.

Here is the call graph for this function:

PGDLLEXPORT Datum setS2T_SpatialBufferSize ( PG_FUNCTION_ARGS  )

References S2T_SpatialBufferSize.

PGDLLEXPORT Datum setS2T_TemporalBufferSize ( PG_FUNCTION_ARGS  )

References interval2seconds(), and S2T_TemporalBufferSize.

Here is the call graph for this function:

PGDLLEXPORT Datum setS2T_VotingMethod ( PG_FUNCTION_ARGS  )

References S2T_VotingMethod.

Variable Documentation

float8* S2T_Lifespan = NULL
MemoryContext S2T_MemoryContext = NULL

Referenced by consistentGiSTSegmentST().

int32 S2T_NrSegments = 0
float8 S2T_Sigma = 1.0

Referenced by getS2T_Sigma(), and setS2T_Sigma().

float8 S2T_SimplificationEpsDP = 0.0
float8 S2T_SimplificationSamplingPeriod = 0.0
int32 S2T_SpatialBufferSize = 0
float8 S2T_sqSigma_times_two = 2.0
float8 S2T_TemporalBufferSize = 0.0
float8* S2T_Voting = NULL