ReMAS  1.5
Real-time Musical Accompaniment System
FileFunctions.h
Go to the documentation of this file.
1 /**************************************************************************
2  * Copyright (C) 2017 by "Information Retrieval and Parallel Computing" *
3  * group (University of Oviedo, Spain), "Interdisciplinary Computation *
4  * and Communication" group (Polytechnic University of Valencia, Spain) *
5  * and "Signal Processing and Telecommunication Systems Research" group *
6  * (University of Jaen, Spain) *
7  * Contact: remaspack@gmail.com *
8  * *
9  * This program is free software; you can redistribute it and/or modify *
10  * it under the terms of the GNU General Public License as published by *
11  * the Free Software Foundation; either version 2 of the License, or *
12  * (at your option) any later version. *
13  * *
14  * This program is distributed in the hope that it will be useful, *
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
17  * GNU General Public License for more details. *
18  * *
19  * You should have received a copy of the GNU General Public License *
20  * along with this program; if not, write to the *
21  * Free Software Foundation, Inc., *
22  * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
23  **************************************************************************
24 */
36 #pragma once
37 
38 #ifndef FILES_H
39 #define FILES_H
40 
41 #include "defines.h"
42 
43 int ReadParameters (DTWconst *, DTWfiles *, const char *);
44 int ReadVector (MyType *, const int, const char *);
45 int ReadVectorInt64(int *, const int, const char *);
46 int ReadS_fk (MyType *, const int, const char *);
47 
48 void FreeFiles(DTWfiles *);
49 
50 #endif
Struct for store the name of input/verificaton files. Each composition needs a file with values for ...
Definition: defines.h:228
int ReadVector(MyType *, const int, const char *)
ReadVector fills a MyType vector with the MyType info stores in a file.
int ReadParameters(DTWconst *, DTWfiles *, const char *)
ReadParameters reads ReMAS global parameters from file.
Definition: FileFunctions.c:48
void FreeFiles(DTWfiles *)
FreeFiles frees the reserved memory of a struct.
General header file with constants, defines, structs, etc. using by ReMAS, both CPU and GPU...
Struct for store global information of the problem. Each composition needs a file with values for th...
Definition: defines.h:190
int ReadVectorInt64(int *, const int, const char *)
ReadVectorInt64 fills a int vector with the int64 info stores in a file.
int ReadS_fk(MyType *, const int, const char *)
ReadS_fk fills the vector s_fk with the info stores in a file.