Qualia  0.2
Public Member Functions | List of all members
Environment Class Referenceabstract

#include <Environment.h>

Inheritance diagram for Environment:
Inheritance graph
[legend]

Public Member Functions

virtual ~Environment ()
 
virtual void init ()
 Initializes the environment. More...
 
virtual Observationstart ()=0
 Sends the first observation. More...
 
virtual Observationstep (const Action *action)=0
 Performs action action and returns observation. More...
 

Detailed Description

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).

Constructor & Destructor Documentation

virtual Environment::~Environment ( )
inlinevirtual

Member Function Documentation

virtual void Environment::init ( )
inlinevirtual
virtual Observation* Environment::start ( )
pure virtual

Sends the first observation.

Implemented in OscEnvironment, FileExportEnvironment, MapperEnvironment, and RewardEnvironment.

virtual Observation* Environment::step ( const Action action)
pure virtual

Performs action action and returns observation.

Implemented in OscEnvironment, FileExportEnvironment, MapperEnvironment, and RewardEnvironment.


The documentation for this class was generated from the following file: