MobilityDB 1.1
|
#include <postgres.h>
#include <access/htup_details.h>
#include <access/tupdesc.h>
#include <executor/executor.h>
#include <utils/typcache.h>
#include <utils/float.h>
#include <utils/lsyscache.h>
#include <utils/timestamp.h>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
#include <meos.h>
#include <meos_internal.h>
#include "general/type_util.h"
#include "point/tpoint.h"
#include "point/tpoint_spatialfuncs.h"
#include "pg_general/meos_catalog.h"
#include "pg_general/temporal.h"
#include "pg_general/type_util.h"
Macros | |
#define | ADD_CURRENT_POSITION |
Functions | |
Datum | create_trip (PG_FUNCTION_ARGS) |
Create a trip using the BerlinMOD data generator. More... | |
static TSequence * | create_trip_internal (LWLINE **lines, const double *maxSpeeds, const int *categories, uint32_t noEdges, TimestampTz startTime, bool disturbData, int verbosity) |
Create a trip using the BerlinMOD data generator. More... | |
static void | initialize_gsl () |
Initialize the Gnu Scientific Library. More... | |
static double | pt_angle (POINT2D p1, POINT2D p2, POINT2D p3) |
Return the angle in degrees between 3 points. More... | |
Variables | |
bool | _gsl_initizalized = false |
Data generator for MobilityDB. More... | |
gsl_rng * | _rng |
const gsl_rng_type * | _rng_type |