MobilityDB 1.3
Loading...
Searching...
No Matches
Data Structures | Macros | Functions
08_berlinmod_simplify.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <meos.h>
#include <meos_geo.h>

Data Structures

struct  trip_record
 

Macros

#define DELTA_DISTANCE   2
 
#define MAX_LENGTH_DATE   12
 
#define MAX_LENGTH_HEADER   1024
 
#define MAX_LENGTH_TRIP   400001
 A simple program that reads from a CSV file synthetic trip data in Brussels generated by the MobilityDB-BerlinMOD generator https://github.com/MobilityDB/MobilityDB-BerlinMOD simplifies the trips using both Douglas-Peucker (DP) and Synchronized Euclidean Distance (SED, also known as Top-Down Time Ratio simplification), and outputs for each trip the initial number of instants and the number of instants of the two simplified trips. More...
 
#define MAX_NO_TRIPS   256
 

Functions

int main (void)