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

#include <semantic_memory.h>

Inherits soar_module::object_container< T >.

Public Types

enum  act_choices
enum  base_update_choices
enum  cache_choices
enum  db_choices
enum  merge_choices
enum  opt_choices
enum  page_choices

Public Member Functions

 smem_param_container (agent *new_agent)
- Public Member Functions inherited from soar_module::object_container< T >
void for_each (accumulator< T * > &f)
T * get (const char *name)
 object_container (agent *new_agent)
virtual ~object_container ()

Data Fields

soar_module::boolean_paramactivate_on_query
soar_module::constant_param
< act_choices > * 
activation_mode
soar_module::decimal_parambase_decay
soar_module::int_set_parambase_incremental_threshes
soar_module::constant_param
< base_update_choices > * 
base_update
soar_module::integer_paramcache_size
soar_module::constant_param
< db_choices > * 
database
soar_module::boolean_paramlazy_commit
soar_module::boolean_paramlearning
soar_module::constant_param
< merge_choices > * 
merge
soar_module::boolean_parammirroring
soar_module::constant_param
< opt_choices > * 
opt
soar_module::constant_param
< page_choices > * 
page_size
smem_path_parampath
soar_module::integer_paramthresh
soar_module::constant_param
< soar_module::timer::timer_level > * 
timers

Additional Inherited Members

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

Detailed Description

Definition at line 44 of file semantic_memory.h.

Member Enumeration Documentation

Enumerator:
act_recency 
act_frequency 
act_base 

Definition at line 53 of file semantic_memory.h.

Enumerator:
bupt_stable 
bupt_naive 
bupt_incremental 

Definition at line 73 of file semantic_memory.h.

Enumerator:
cache_S 
cache_M 
cache_L 

Definition at line 48 of file semantic_memory.h.

Enumerator:
memory 
file 

Definition at line 47 of file semantic_memory.h.

{ memory, file };
Enumerator:
merge_none 
merge_add 

Definition at line 52 of file semantic_memory.h.

Enumerator:
opt_safety 
opt_speed 

Definition at line 50 of file semantic_memory.h.

Enumerator:
page_1k 
page_2k 
page_4k 
page_8k 
page_16k 
page_32k 
page_64k 

Definition at line 49 of file semantic_memory.h.

Constructor & Destructor Documentation

smem_param_container::smem_param_container ( agent new_agent)

Definition at line 72 of file semantic_memory.cpp.

References act_base, act_frequency, act_recency, activate_on_query, activation_mode, soar_module::object_container< T >::add(), soar_module::constant_param< T >::add_mapping(), base_decay, base_incremental_threshes, base_update, bupt_incremental, bupt_naive, bupt_stable, cache_size, database, file, lazy_commit, learning, memory, merge, merge_add, merge_none, mirroring, soar_module::object_container< T >::my_agent, soar_module::off, soar_module::on, soar_module::timer::one, opt, opt_safety, opt_speed, page_16k, page_1k, page_2k, page_32k, page_4k, page_64k, page_8k, page_size, path, soar_module::timer::three, thresh, timers, soar_module::timer::two, and soar_module::timer::zero.

{
// learning
// database
database->add_mapping( memory, "memory" );
database->add_mapping( file, "file" );
// path
add( path );
// auto-commit
//
// timers
add( timers );
//
// page_size
// cache_size
// opt
opt->add_mapping( opt_safety, "safety" );
opt->add_mapping( opt_speed, "performance" );
add( opt );
// thresh
add( thresh );
// merge
add( merge );
// activate_on_query
// activation_mode
// base_decay
// base_update_policy
// incremental update thresholds
// mirroring
}

Field Documentation

soar_module::boolean_param* smem_param_container::activate_on_query

Definition at line 69 of file semantic_memory.h.

Referenced by smem_param_container(), and smem_process_query().

soar_module::constant_param<act_choices>* smem_param_container::activation_mode
soar_module::decimal_param* smem_param_container::base_decay

Definition at line 71 of file semantic_memory.h.

Referenced by smem_lti_calc_base(), and smem_param_container().

soar_module::int_set_param* smem_param_container::base_incremental_threshes

Definition at line 76 of file semantic_memory.h.

Referenced by init_soar_agent(), smem_lti_activate(), and smem_param_container().

soar_module::constant_param<base_update_choices>* smem_param_container::base_update

Definition at line 74 of file semantic_memory.h.

Referenced by smem_lti_activate(), smem_param_container(), and smem_process_query().

soar_module::integer_param* smem_param_container::cache_size

Definition at line 63 of file semantic_memory.h.

Referenced by smem_init_db(), and smem_param_container().

soar_module::constant_param<db_choices>* smem_param_container::database
soar_module::boolean_param* smem_param_container::lazy_commit
soar_module::boolean_param* smem_param_container::learning

Definition at line 55 of file semantic_memory.h.

Referenced by smem_enabled(), and smem_param_container().

soar_module::constant_param<merge_choices>* smem_param_container::merge

Definition at line 68 of file semantic_memory.h.

Referenced by smem_install_memory(), and smem_param_container().

soar_module::boolean_param* smem_param_container::mirroring
soar_module::constant_param<opt_choices>* smem_param_container::opt

Definition at line 64 of file semantic_memory.h.

Referenced by smem_init_db(), and smem_param_container().

soar_module::constant_param<page_choices>* smem_param_container::page_size

Definition at line 62 of file semantic_memory.h.

Referenced by smem_init_db(), and smem_param_container().

smem_path_param* smem_param_container::path

Definition at line 57 of file semantic_memory.h.

Referenced by smem_init_db(), and smem_param_container().

soar_module::integer_param* smem_param_container::thresh

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