MobilityDB 1.3
Loading...
Searching...
No Matches
Data Structures | Macros | Functions
floatspanset_agg.c File Reference

A simple program that reads float spanset values from a CSV file and aggregates them into a given number of groups. More...

#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <meos.h>
#include <meos_internal.h>

Data Structures

struct  floatspanset_record
 

Macros

#define MAX_LENGTH_HEADER   1024
 
#define MAX_LENGTH_SPANSET   1024
 
#define NUMBER_GROUPS   10
 

Functions

int main (void)
 

Detailed Description

A simple program that reads float spanset values from a CSV file and aggregates them into a given number of groups.

The program can be build as follows

gcc -Wall -g -I/usr/local/include -o floatspanset_agg floatspanset_agg.c -L/usr/local/lib -lmeos