Soar Kernel  9.3.2 08-06-12
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Data Fields
rl_stat_container Class Reference

#include <reinforcement_learning.h>

Inherits soar_module::stat_container.

Public Member Functions

 rl_stat_container (agent *new_agent)
- Public Member Functions inherited from soar_module::stat_container
void reset ()
 stat_container (agent *new_agent)
- Public Member Functions inherited from soar_module::object_container< stat >
void for_each (accumulator< stat * > &f)
statget (const char *name)
 object_container (agent *new_agent)
virtual ~object_container ()

Data Fields

soar_module::decimal_statglobal_reward
soar_module::decimal_stattotal_reward
soar_module::decimal_statupdate_error

Additional Inherited Members

- Protected Member Functions inherited from soar_module::object_container< stat >
void add (stat *new_object)
- Protected Attributes inherited from soar_module::object_container< stat >
agentmy_agent
std::map< std::string, stat * > * objects

Detailed Description

Definition at line 153 of file reinforcement_learning.h.

Constructor & Destructor Documentation

rl_stat_container::rl_stat_container ( agent new_agent)

Definition at line 204 of file reinforcement_learning.cpp.

References soar_module::object_container< stat >::add(), global_reward, total_reward, and update_error.

: stat_container( new_agent )
{
// update-error
// total-reward
// global-reward
};

Field Documentation

soar_module::decimal_stat* rl_stat_container::global_reward
soar_module::decimal_stat* rl_stat_container::total_reward
soar_module::decimal_stat* rl_stat_container::update_error

Definition at line 156 of file reinforcement_learning.h.

Referenced by rl_stat_container().


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