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

#include <reinforcement_learning.h>

Inherits soar_module::constant_param< rl_param_container::apoptosis_choices >.

Public Member Functions

 rl_apoptosis_param (const char *new_name, rl_param_container::apoptosis_choices new_value, soar_module::predicate< rl_param_container::apoptosis_choices > *new_prot_pred, agent *new_agent)
void set_value (rl_param_container::apoptosis_choices new_value)
- Public Member Functions inherited from soar_module::constant_param< rl_param_container::apoptosis_choices >
virtual void add_mapping (rl_param_container::apoptosis_choicesval, const char *str)
 constant_param (const char *new_name, rl_param_container::apoptosis_choicesnew_value, predicate< rl_param_container::apoptosis_choices > *new_prot_pred)
virtual char * get_string ()
virtual
rl_param_container::apoptosis_choices 
get_value ()
virtual bool set_string (const char *new_string)
virtual bool validate_string (const char *new_string)
virtual ~constant_param ()
- Public Member Functions inherited from soar_module::param
 param (const char *new_name)
virtual ~param ()
- Public Member Functions inherited from soar_module::named_object
const char * get_name ()
 named_object (const char *new_name)
virtual ~named_object ()

Protected Attributes

agentmy_agent
- Protected Attributes inherited from soar_module::constant_param< rl_param_container::apoptosis_choices >
predicate
< rl_param_container::apoptosis_choices > * 
prot_pred
std::map< std::string,
rl_param_container::apoptosis_choices > * 
string_to_value
rl_param_container::apoptosis_choices value
std::map
< rl_param_container::apoptosis_choices,
const char * > * 
value_to_string

Detailed Description

Definition at line 124 of file reinforcement_learning.h.

Constructor & Destructor Documentation

rl_apoptosis_param::rl_apoptosis_param ( const char *  new_name,
rl_param_container::apoptosis_choices  new_value,
soar_module::predicate< rl_param_container::apoptosis_choices > *  new_prot_pred,
agent new_agent 
)

Definition at line 159 of file reinforcement_learning.cpp.

: soar_module::constant_param<rl_param_container::apoptosis_choices>( new_name, new_value, new_prot_pred ), my_agent( new_agent ) {}

Member Function Documentation

void rl_apoptosis_param::set_value ( rl_param_container::apoptosis_choices  new_value)
virtual

Field Documentation

agent* rl_apoptosis_param::my_agent
protected

Definition at line 127 of file reinforcement_learning.h.

Referenced by set_value().


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