Soar Kernel
9.3.2 08-06-12
|
#include <soar_module.h>
Inherits soar_module::param.
Public Member Functions | |
virtual void | add_mapping (T val, const char *str) |
constant_param (const char *new_name, T new_value, predicate< T > *new_prot_pred) | |
virtual char * | get_string () |
virtual T | get_value () |
virtual bool | set_string (const char *new_string) |
virtual void | set_value (T new_value) |
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 | |
predicate< T > * | prot_pred |
std::map< std::string, T > * | string_to_value |
T | value |
std::map< T, const char * > * | value_to_string |
Definition at line 623 of file soar_module.h.
|
inline |
Definition at line 632 of file soar_module.h.
|
inlinevirtual |
Definition at line 634 of file soar_module.h.
|
inlinevirtual |
Definition at line 704 of file soar_module.h.
Referenced by epmem_param_container::epmem_param_container(), rl_param_container::rl_param_container(), smem_param_container::smem_param_container(), and wma_param_container::wma_param_container().
|
inlinevirtual |
Implements soar_module::named_object.
Definition at line 643 of file soar_module.h.
|
inlinevirtual |
Definition at line 692 of file soar_module.h.
Referenced by add_production_to_rete(), add_wme_to_rete(), do_one_top_level_phase(), epmem_backup_db(), epmem_close(), epmem_consider_new_episode(), epmem_enabled(), epmem_init_db(), epmem_install_memory(), epmem_process_query(), excise_production(), exploration_choose_according_to_policy(), wma_timer_level_predicate::operator()(), smem_timer_level_predicate::operator()(), epmem_timer_level_predicate::operator()(), reinitialize_soar(), remove_wme_from_rete(), retract_instantiation(), rl_enabled(), rl_perform_update(), rl_rule_meta(), rl_store_data(), rl_tabulate_reward_value_for_goal(), smem_backup_db(), smem_close(), smem_enabled(), smem_init_db(), smem_install_memory(), smem_lti_activate(), smem_process_query(), smem_respond_to_cmd(), wma_deactivate_element(), wma_deinit(), wma_enabled(), wma_forgetting_estimate_cycle(), wma_forgetting_forget_wme(), wma_forgetting_naive_sweep(), wma_forgetting_update_p_queue(), wma_get_wme_history(), wma_go(), wma_init(), wma_sum_history(), and wma_update_decay_histories().
|
inlinevirtual |
Implements soar_module::param.
Definition at line 662 of file soar_module.h.
|
inlinevirtual |
Reimplemented in rl_apoptosis_param, rl_learning_param, and wma_activation_param.
Definition at line 697 of file soar_module.h.
Referenced by epmem_consider_new_episode(), soar_module::constant_param< decay_choices >::set_string(), smem_path_param::set_value(), epmem_path_param::set_value(), and smem_init_db().
|
inlinevirtual |
Implements soar_module::param.
Definition at line 680 of file soar_module.h.
|
protected |
Definition at line 629 of file soar_module.h.
Referenced by soar_module::constant_param< decay_choices >::set_string(), and soar_module::constant_param< decay_choices >::~constant_param().
|
protected |
Definition at line 628 of file soar_module.h.
Referenced by soar_module::constant_param< decay_choices >::set_string(), soar_module::constant_param< decay_choices >::validate_string(), and soar_module::constant_param< decay_choices >::~constant_param().
|
protected |
Definition at line 626 of file soar_module.h.
Referenced by soar_module::constant_param< decay_choices >::get_string(), soar_module::constant_param< decay_choices >::get_value(), and soar_module::constant_param< decay_choices >::set_value().
|
protected |
Definition at line 627 of file soar_module.h.
Referenced by soar_module::constant_param< decay_choices >::get_string(), and soar_module::constant_param< decay_choices >::~constant_param().