Qualia
0.2
|
#include <Environment.h>
Public Member Functions | |
virtual | ~Environment () |
virtual void | init () |
Initializes the environment. More... | |
virtual Observation * | start ()=0 |
Sends the first observation. More... | |
virtual Observation * | step (const Action *action)=0 |
Performs action action and returns observation. More... | |
Class interface for an environment in the Qualia framework. An environment is a component that gives back observations in response to actions. In Qualia, environments typically implement the platform-specific behaviors of actually "doing" the action (eg. by asking a microcontroller to send a signal to one of its pins) and "reading" the observation (eg. by getting them from a sensor).
|
inlinevirtual |
|
inlinevirtual |
Initializes the environment.
Reimplemented in OscEnvironment, FileExportEnvironment, MapperEnvironment, MapperBasicEnvironment, and MapperRLEnvironment.
|
pure virtual |
Sends the first observation.
Implemented in OscEnvironment, FileExportEnvironment, MapperEnvironment, and RewardEnvironment.
|
pure virtual |
Performs action action and returns observation.
Implemented in OscEnvironment, FileExportEnvironment, MapperEnvironment, and RewardEnvironment.