-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathLoadResults.h
More file actions
39 lines (27 loc) · 1.01 KB
/
LoadResults.h
File metadata and controls
39 lines (27 loc) · 1.01 KB
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
38
39
#ifndef LOADRESULTS_H
#define LOADRESULTS_H
#include "hdf5.h"
#include <list>
#include <vector>
#include <string>
#include "structs.h"
using namespace std;
class LoadResults
{
private:
hid_t file, group, space, dset, strtype, memtype, filetype, plist; /* Handles */
herr_t status;
public:
LoadResults(const char*);
~LoadResults();
void RdGen(Gen&); // maxsave
void RdSpecExt(SpecExt[], const char*, int&);
int getPopInfo(const char*, short&, short& , short& );
int getSpecInfo(const char*);
void RdIndv1(const char*, Indv wdata2[], short FCM[][42][18], short phGenome[][8], float actvs[][42+2]);
void RdWorld(vector<vector<vector<float> > >&, const char*);
void RdIntArr (int arr[], int arr_size, const char*, const char*);
void RdFloatArr (float arr[], int arr_size, const char*, const char*);
void RdDeadIndv(DeadIndv[], int, const char*);
};
#endif // LOADRESULTS_H