Qualia
0.2
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
src
qualia
core
FileExportEnvironment.h
Go to the documentation of this file.
1
/*
2
* FileExportEnvironment.h
3
*
4
* Generates a file of data in the Qualia RAW format.
5
*
6
* (c) 2013 Sofian Audry -- info(@)sofianaudry(.)com
7
*
8
* This program is free software: you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation, either version 3 of the License, or
11
* (at your option) any later version.
12
*
13
* This program is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
17
*
18
* You should have received a copy of the GNU General Public License
19
* along with this program. If not, see <http://www.gnu.org/licenses/>.
20
*/
21
22
#ifndef FILEEXPORTENVIRONMENT_H_
23
#define FILEEXPORTENVIRONMENT_H_
24
25
#include <
qualia/core/Environment.h
>
26
#include <
qualia/core/XFile.h
>
27
37
class
FileExportEnvironment
:
public
Environment
{
38
public
:
39
Environment
*
env
;
40
XFile
*
file
;
41
unsigned
int
observationDim
;
42
unsigned
int
actionDim
;
43
44
FileExportEnvironment
(
Environment
*
env
,
XFile
*
file
,
45
unsigned
int
observationDim
,
unsigned
int
actionDim
);
46
virtual
~FileExportEnvironment
();
47
48
virtual
void
init
();
49
virtual
Observation
*
start
();
50
virtual
Observation
*
step
(
const
Action
* action);
51
};
52
53
#endif
/* FILEEXPORTENVIRONMENT_H_ */
Generated on Fri Oct 11 2013 19:01:21 for Qualia by
1.8.3.1