-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTimeSerie.h
More file actions
37 lines (21 loc) · 886 Bytes
/
Copy pathTimeSerie.h
File metadata and controls
37 lines (21 loc) · 886 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#ifndef HEADER_TIMESERIE
#define HEADER_TIMESERIE
#include <stdlib.h>
#include <stdio.h>
typedef struct TimeSerie *TimeSerie;
typedef struct TimeSerie *Shapelet;
typedef struct TimeSerieArray *TimeSerieArray;
void addTimeSerie(TimeSerieArray array, TimeSerie time_serie); //TESTED
TimeSerie getTimeSerie(TimeSerieArray array, int index); //TESTED
TimeSerieArray createTimeSerieArray(int size); //TESTED
TimeSerieArray readFromFile(char *file); //TESTED
TimeSerie createTimeSerie(double *values, int label, int size); //TESTED
int getLabel(TimeSerie s); //TESTED
int getTimeSerieSize(TimeSerie s); //TESTED
double *getSequence(TimeSerie s); //TESTED
int getTimeSerieArraySize(TimeSerieArray t); //TESTED
void testTimeSerie();
void toString(TimeSerie s); //TESTED
void destroyTimeSerieArray(TimeSerieArray t); //TESTED
void destroyTimeSerie(TimeSerie t); //TESTED
#endif