MachineIntelligenceCore:ReinforcementLearning
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator
mic::types::SpatialExperience Struct Reference

Structure storing a spatial experience - a triplet of position in time t, executed action and position in time t+1. More...

#include <SpatialExperienceMemory.hpp>

Public Member Functions

 SpatialExperience (mic::types::Position2D s_t_, mic::types::NESWAction a_t_, mic::types::Position2D s_t_prim_)
 

Public Attributes

mic::types::Position2D s_t
 State at time t. More...
 
mic::types::NESWAction a_t
 Action at time t. More...
 
mic::types::Position2D s_t_prim
 State at time t+1 (t prim). More...
 

Detailed Description

Structure storing a spatial experience - a triplet of position in time t, executed action and position in time t+1.

Author
tkornuta

Definition at line 38 of file SpatialExperienceMemory.hpp.

Constructor & Destructor Documentation

mic::types::SpatialExperience::SpatialExperience ( mic::types::Position2D  s_t_,
mic::types::NESWAction  a_t_,
mic::types::Position2D  s_t_prim_ 
)
inline

Default constructor.

Parameters
s_t_State at time t.
a_t_Action at time t.
s_t_prim_State at time t+1 (t prim).

Definition at line 54 of file SpatialExperienceMemory.hpp.

References a_t, s_t, and s_t_prim.

Member Data Documentation

mic::types::NESWAction mic::types::SpatialExperience::a_t

Action at time t.

Definition at line 43 of file SpatialExperienceMemory.hpp.

Referenced by SpatialExperience().

mic::types::Position2D mic::types::SpatialExperience::s_t

State at time t.

Definition at line 40 of file SpatialExperienceMemory.hpp.

Referenced by SpatialExperience().

mic::types::Position2D mic::types::SpatialExperience::s_t_prim

State at time t+1 (t prim).

Definition at line 46 of file SpatialExperienceMemory.hpp.

Referenced by SpatialExperience().


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