Soar Kernel
9.3.2 08-06-12
|
Go to the source code of this file.
Typedefs | |
typedef struct agent_struct | agent |
typedef char | Bool |
typedef unsigned char | byte |
typedef byte | ms_trace_type |
typedef byte | wme_trace_type |
Functions | |
void | init_sysparams (agent *thisAgent) |
void | set_sysparam (agent *thisAgent, int param_number, int64_t new_value) |
#define ATTENTION_LAPSE_ON_SYSPARAM 31 |
Definition at line 152 of file gsysparam.h.
Referenced by init_sysparams().
#define CHUNK_PRODUCTION_TYPE 2 |
Definition at line 45 of file gsysparam.h.
Referenced by add_production_to_rete(), chunk_instantiation(), excise_production(), parse_production(), print_production(), and retract_instantiation().
#define CHUNK_THROUGH_LOCAL_NEGATIONS_SYSPARAM 39 |
Definition at line 174 of file gsysparam.h.
Referenced by build_chunk_conds_for_grounds_and_add_negateds(), and init_sysparams().
#define DECISION_CYCLE_MAX_USEC_INTERRUPT 45 |
Definition at line 192 of file gsysparam.h.
Referenced by do_one_top_level_phase(), and init_sysparams().
#define DEFAULT_PRODUCTION_TYPE 1 |
Definition at line 44 of file gsysparam.h.
Referenced by parse_production(), and print_production().
#define EXPLAIN_SYSPARAM 27 |
Definition at line 140 of file gsysparam.h.
Referenced by backtrace_through_instantiation(), chunk_instantiation(), init_explain(), and init_sysparams().
Definition at line 69 of file gsysparam.h.
Referenced by ppmi_aux(), print_instantiation_with_wmes(), print_whole_token(), xml_aux(), xml_instantiation_with_wmes(), and xml_whole_token().
#define HIGHEST_SYSPARAM_NUMBER 45 |
Definition at line 195 of file gsysparam.h.
Referenced by init_sysparams(), and set_sysparam().
#define JUSTIFICATION_PRODUCTION_TYPE 3 |
Definition at line 46 of file gsysparam.h.
Referenced by chunk_instantiation(), create_instantiation(), do_preference_phase(), make_production(), p_node_left_addition(), p_node_left_removal(), print_production(), reteload_node_and_children(), retract_instantiation(), and save_rete_net().
#define kChunkNamePrefixMaxLength 64 /* kjh (B14) */ |
Definition at line 205 of file gsysparam.h.
#define LEARNING_ALL_GOALS_SYSPARAM 23 |
Definition at line 126 of file gsysparam.h.
Referenced by init_sysparams(), and should_variablize().
#define LEARNING_EXCEPT_SYSPARAM 22 |
Definition at line 125 of file gsysparam.h.
Referenced by init_sysparams(), and should_variablize().
#define LEARNING_ON_SYSPARAM 20 |
Definition at line 123 of file gsysparam.h.
Referenced by init_sysparams(), and should_variablize().
#define LEARNING_ONLY_SYSPARAM 21 |
Definition at line 124 of file gsysparam.h.
Referenced by init_sysparams(), and should_variablize().
#define MAX_CHUNKS_SYSPARAM 18 |
Definition at line 118 of file gsysparam.h.
Referenced by chunk_instantiation(), and init_sysparams().
#define MAX_ELABORATIONS_SYSPARAM 17 |
Definition at line 115 of file gsysparam.h.
Referenced by determine_highest_active_production_level_in_stack_apply(), determine_highest_active_production_level_in_stack_propose(), and init_sysparams().
#define MAX_GOAL_DEPTH 35 |
Definition at line 162 of file gsysparam.h.
Referenced by create_new_context(), and init_sysparams().
#define MAX_MEMORY_USAGE_SYSPARAM 36 |
Definition at line 165 of file gsysparam.h.
Referenced by init_sysparams().
#define MAX_NIL_OUTPUT_CYCLES_SYSPARAM 32 |
Definition at line 155 of file gsysparam.h.
Referenced by do_one_top_level_phase(), init_sysparams(), and run_for_n_modifications_of_output().
#define MS_ASSERT 1 /* print just assertions */ |
Definition at line 57 of file gsysparam.h.
Referenced by print_match_set(), and xml_match_set().
#define MS_ASSERT_RETRACT 0 /* print both retractions and assertions */ |
Definition at line 56 of file gsysparam.h.
Referenced by print_match_set(), and xml_match_set().
#define MS_RETRACT 2 /* print just retractions */ |
Definition at line 58 of file gsysparam.h.
Referenced by print_match_set(), and xml_match_set().
#define NO_WME_TRACE_SET 4 |
Definition at line 70 of file gsysparam.h.
#define NONE_WME_TRACE 1 /* don't print anything */ |
Definition at line 67 of file gsysparam.h.
Referenced by init_sysparams(), ppmi_aux(), print_instantiation_with_wmes(), print_match_set(), print_partial_match_information(), print_whole_token(), reinitialize_soar(), xml_aux(), xml_instantiation_with_wmes(), xml_match_set(), and xml_partial_match_information().
#define NUM_PRODUCTION_TYPES 5 |
Definition at line 49 of file gsysparam.h.
#define PRINT_ALIAS_SYSPARAM 26 |
Definition at line 136 of file gsysparam.h.
Referenced by init_sysparams().
#define PRINT_WARNINGS_SYSPARAM 25 |
Definition at line 132 of file gsysparam.h.
Referenced by chunk_instantiation(), collect_root_variables(), determine_highest_active_production_level_in_stack_apply(), determine_highest_active_production_level_in_stack_propose(), determine_type_of_constituent_string(), init_sysparams(), p_node_left_addition(), reorder_simplified_conditions(), and restore_and_deallocate_saved_tests().
#define REAL_TIME_SYSPARAM 30 |
Definition at line 149 of file gsysparam.h.
#define RESPOND_TO_LOAD_ERRORS_SYSPARAM 19 |
Definition at line 120 of file gsysparam.h.
Referenced by init_sysparams().
#define TEMPLATE_PRODUCTION_TYPE 4 |
Definition at line 47 of file gsysparam.h.
Referenced by create_instantiation(), make_production(), parse_production(), print_production(), reteload_node_and_children(), and shouldCreateInstantiation().
#define TIMERS_ENABLED 34 |
Definition at line 160 of file gsysparam.h.
Referenced by chunk_instantiation(), create_soar_agent(), do_buffered_link_changes(), do_buffered_wm_changes(), init_sysparams(), reset_timers(), and soar_module::timer::timer().
#define TIMETAG_WME_TRACE 2 /* print just timetag */ |
Definition at line 68 of file gsysparam.h.
Referenced by elaborate_gds(), ppmi_aux(), print_instantiation_with_wmes(), print_whole_token(), xml_aux(), xml_instantiation_with_wmes(), and xml_whole_token().
#define TRACE_BACKTRACING_SYSPARAM 15 |
Definition at line 110 of file gsysparam.h.
Referenced by backtrace_through_instantiation(), build_chunk_conds_for_grounds_and_add_negateds(), chunk_instantiation(), trace_grounded_potentials(), trace_locals(), and trace_ungrounded_potentials().
#define TRACE_CHUNK_NAMES_SYSPARAM 11 |
Definition at line 106 of file gsysparam.h.
Referenced by chunk_instantiation(), init_sysparams(), and report_local_negation().
#define TRACE_CHUNKS_SYSPARAM 13 |
Definition at line 108 of file gsysparam.h.
Referenced by chunk_instantiation(), and should_variablize().
#define TRACE_CONTEXT_DECISIONS_SYSPARAM 1 |
Definition at line 92 of file gsysparam.h.
Referenced by do_one_top_level_phase(), init_agent_memory(), init_sysparams(), and reinitialize_soar().
#define TRACE_EPMEM_SYSPARAM 42 |
Definition at line 183 of file gsysparam.h.
Referenced by epmem_new_episode(), and epmem_process_query().
#define TRACE_FIRINGS_OF_CHUNKS_SYSPARAM 5 |
Definition at line 99 of file gsysparam.h.
Referenced by init_sysparams().
#define TRACE_FIRINGS_OF_DEFAULT_PRODS_SYSPARAM 4 |
Definition at line 98 of file gsysparam.h.
Referenced by reinitialize_soar().
#define TRACE_FIRINGS_OF_JUSTIFICATIONS_SYSPARAM 6 |
Definition at line 100 of file gsysparam.h.
#define TRACE_FIRINGS_OF_TEMPLATES_SYSPARAM 7 |
Definition at line 101 of file gsysparam.h.
#define TRACE_FIRINGS_OF_USER_PRODS_SYSPARAM 3 |
Definition at line 97 of file gsysparam.h.
Referenced by reinitialize_soar(), and trace_firings_of_inst().
#define TRACE_FIRINGS_PREFERENCES_SYSPARAM 9 |
Definition at line 104 of file gsysparam.h.
Referenced by create_instantiation(), reinitialize_soar(), and retract_instantiation().
#define TRACE_FIRINGS_WME_TRACE_TYPE_SYSPARAM 8 |
Definition at line 103 of file gsysparam.h.
Referenced by create_instantiation(), init_sysparams(), reinitialize_soar(), and retract_instantiation().
#define TRACE_GDS_SYSPARAM 44 |
Definition at line 189 of file gsysparam.h.
Referenced by add_wme_to_gds(), gds_invalid_so_remove_goal(), and reinitialize_soar().
#define TRACE_INDIFFERENT_SYSPARAM 33 |
Definition at line 157 of file gsysparam.h.
Referenced by exploration_boltzmann_select(), and exploration_epsilon_greedy_select().
#define TRACE_JUSTIFICATION_NAMES_SYSPARAM 12 |
Definition at line 107 of file gsysparam.h.
Referenced by chunk_instantiation(), and init_sysparams().
#define TRACE_JUSTIFICATIONS_SYSPARAM 14 |
Definition at line 109 of file gsysparam.h.
Referenced by chunk_instantiation().
#define TRACE_LOADING_SYSPARAM 16 |
Definition at line 112 of file gsysparam.h.
Referenced by excise_all_productions(), excise_all_productions_of_type(), init_sysparams(), and parse_production().
#define TRACE_OPERAND2_REMOVALS_SYSPARAM 29 |
Definition at line 146 of file gsysparam.h.
Referenced by gds_invalid_so_remove_goal(), init_sysparams(), remove_current_decision(), and remove_operator_if_necessary().
#define TRACE_PHASES_SYSPARAM 2 |
Definition at line 93 of file gsysparam.h.
Referenced by do_one_top_level_phase(), do_preference_phase(), do_working_memory_phase(), and reinitialize_soar().
#define TRACE_RL_SYSPARAM 38 |
Definition at line 171 of file gsysparam.h.
Referenced by rl_perform_update(), and rl_store_data().
#define TRACE_SMEM_SYSPARAM 43 |
Definition at line 186 of file gsysparam.h.
Referenced by smem_store_chunk().
#define TRACE_WATERFALL_SYSPARAM 40 |
Definition at line 177 of file gsysparam.h.
Referenced by do_preference_phase(), and shouldCreateInstantiation().
#define TRACE_WM_CHANGES_SYSPARAM 10 |
Definition at line 105 of file gsysparam.h.
Referenced by check_context_slot_decisions(), decide_context_slot(), do_buffered_wm_changes(), reinitialize_soar(), remove_operator_if_necessary(), and wma_go().
#define TRACE_WMA_SYSPARAM 41 |
Definition at line 180 of file gsysparam.h.
Referenced by wma_activate_wme(), wma_remove_decay_element(), and wma_update_decay_histories().
#define USE_LONG_CHUNK_NAMES 28 |
Definition at line 143 of file gsysparam.h.
Referenced by generate_chunk_name_sym_constant(), and init_sysparams().
#define USER_PRODUCTION_TYPE 0 |
Definition at line 43 of file gsysparam.h.
Referenced by parse_production(), print_production(), and rl_build_template_instantiation().
#define USER_SELECT_BOLTZMANN 1 /* boltzmann algorithm, with respect to temperature */ |
Definition at line 78 of file gsysparam.h.
Referenced by exploration_choose_according_to_policy(), exploration_convert_policy(), and exploration_probability_according_to_policy().
#define USER_SELECT_E_GREEDY 2 /* with probability epsilon choose random, otherwise greedy */ |
Definition at line 79 of file gsysparam.h.
Referenced by exploration_choose_according_to_policy(), exploration_convert_policy(), and exploration_probability_according_to_policy().
#define USER_SELECT_FIRST 3 /* just choose the first candidate item */ |
Definition at line 80 of file gsysparam.h.
Referenced by exploration_choose_according_to_policy(), exploration_convert_policy(), and exploration_probability_according_to_policy().
#define USER_SELECT_INVALID 7 /* should be 1+ last item, used for validity checking */ |
Definition at line 84 of file gsysparam.h.
Referenced by exploration_valid_policy().
#define USER_SELECT_LAST 4 /* choose the last item AGR 615 */ |
Definition at line 81 of file gsysparam.h.
Referenced by exploration_choose_according_to_policy(), exploration_convert_policy(), and exploration_probability_according_to_policy().
#define USER_SELECT_MODE_SYSPARAM 24 |
Definition at line 129 of file gsysparam.h.
Referenced by exploration_get_policy(), exploration_set_policy(), and init_sysparams().
#define USER_SELECT_RANDOM 5 /* pick one at random */ |
Definition at line 82 of file gsysparam.h.
Referenced by exploration_choose_according_to_policy(), exploration_convert_policy(), and exploration_probability_according_to_policy().
#define USER_SELECT_REDUCE_SYSPARAM 37 |
Definition at line 168 of file gsysparam.h.
Referenced by exploration_get_auto_update(), exploration_set_auto_update(), and init_sysparams().
#define USER_SELECT_SOFTMAX 6 /* pick one at random, probabalistically biased by numeric preferences */ |
Definition at line 83 of file gsysparam.h.
Referenced by exploration_choose_according_to_policy(), exploration_convert_policy(), exploration_probability_according_to_policy(), and init_sysparams().
typedef struct agent_struct agent |
Definition at line 37 of file gsysparam.h.
typedef char Bool |
Definition at line 35 of file gsysparam.h.
typedef unsigned char byte |
Definition at line 36 of file gsysparam.h.
typedef byte ms_trace_type |
Definition at line 60 of file gsysparam.h.
typedef byte wme_trace_type |
Definition at line 72 of file gsysparam.h.
void init_sysparams | ( | agent * | thisAgent | ) |
Definition at line 186 of file init_soar.cpp.
References ATTENTION_LAPSE_ON_SYSPARAM, CHUNK_THROUGH_LOCAL_NEGATIONS_SYSPARAM, DECISION_CYCLE_MAX_USEC_INTERRUPT, EXPLAIN_SYSPARAM, FALSE, HIGHEST_SYSPARAM_NUMBER, LEARNING_ALL_GOALS_SYSPARAM, LEARNING_EXCEPT_SYSPARAM, LEARNING_ON_SYSPARAM, LEARNING_ONLY_SYSPARAM, MAX_CHUNKS_SYSPARAM, MAX_ELABORATIONS_SYSPARAM, MAX_GOAL_DEPTH, MAX_MEMORY_USAGE_SYSPARAM, MAX_NIL_OUTPUT_CYCLES_SYSPARAM, NONE_WME_TRACE, PRINT_ALIAS_SYSPARAM, PRINT_WARNINGS_SYSPARAM, RESPOND_TO_LOAD_ERRORS_SYSPARAM, agent_struct::sysparams, TIMERS_ENABLED, TRACE_CHUNK_NAMES_SYSPARAM, TRACE_CONTEXT_DECISIONS_SYSPARAM, TRACE_FIRINGS_OF_CHUNKS_SYSPARAM, TRACE_FIRINGS_WME_TRACE_TYPE_SYSPARAM, TRACE_JUSTIFICATION_NAMES_SYSPARAM, TRACE_LOADING_SYSPARAM, TRACE_OPERAND2_REMOVALS_SYSPARAM, TRUE, USE_LONG_CHUNK_NAMES, USER_SELECT_MODE_SYSPARAM, USER_SELECT_REDUCE_SYSPARAM, and USER_SELECT_SOFTMAX.
Referenced by create_soar_agent().
Definition at line 174 of file init_soar.cpp.
Referenced by exploration_set_policy(), init_explain(), and reinitialize_soar().