23 lines
599 B
C
23 lines
599 B
C
// Laboratorio 8 - Esercizio 3 - ExrateBST.h
|
|
// Matteo Schiff - s295565
|
|
|
|
#ifndef EXRATEBST_DEFINED
|
|
#define EXRATEBST_DEFINED
|
|
|
|
#include "Exrate.h"
|
|
#include "Datetime.h"
|
|
|
|
#define S 5
|
|
|
|
typedef struct exrateBST *ExrateBST;
|
|
ExrateBST ExrateBSTCreate();
|
|
void ExrateBSTFree(ExrateBST ebst);
|
|
void ExrateBSTInsert(ExrateBST ebst, Exrate exrate);
|
|
void ExrateBSTMerge(ExrateBST dst, ExrateBST src);
|
|
|
|
Exrate ExrateBSTSearch(ExrateBST ebst, DateTime dt);
|
|
void ExrateBSTBalance(ExrateBST bst);
|
|
void ExrateBSTMinMaxInInterval(ExrateBST bst, DateTime dt1, DateTime dt2);
|
|
void ExrateBSTMinMax(ExrateBST bst);
|
|
|
|
#endif |