Soar Kernel
9.3.2 08-06-12
|
#include <portability.h>
#include <stdlib.h>
#include "symtab.h"
#include "mem.h"
#include "kernel.h"
#include "agent.h"
#include "production.h"
#include "init_soar.h"
#include "print.h"
#include "xml.h"
#include <ctype.h>
Go to the source code of this file.
Macros | |
#define | GENERATE_NEW_SYM_CONSTANT_BUFFER_SIZE 2000 /* that ought to be long enough! */ |
Functions | |
uint32_t | compress (uint32_t h, short num_bits) |
void | create_predefined_symbols (agent *thisAgent) |
void | deallocate_symbol (agent *thisAgent, Symbol *sym) |
Symbol * | find_float_constant (agent *thisAgent, double value) |
Symbol * | find_identifier (agent *thisAgent, char name_letter, uint64_t name_number) |
Symbol * | find_int_constant (agent *thisAgent, int64_t value) |
Symbol * | find_sym_constant (agent *thisAgent, const char *name) |
Symbol * | find_variable (agent *thisAgent, const char *name) |
Symbol * | generate_new_sym_constant (agent *thisAgent, const char *prefix, uint64_t *counter) |
uint32_t | get_next_symbol_hash_id (agent *thisAgent) |
uint32_t | hash_float_constant (void *item, short num_bits) |
uint32_t | hash_float_constant_raw_info (double value, short num_bits) |
uint32_t | hash_identifier (void *item, short num_bits) |
uint32_t | hash_identifier_raw_info (char name_letter, uint64_t name_number, short num_bits) |
uint32_t | hash_int_constant (void *item, short num_bits) |
uint32_t | hash_int_constant_raw_info (int64_t value, short num_bits) |
uint32_t | hash_string (const char *s) |
uint32_t | hash_sym_constant (void *item, short num_bits) |
uint32_t | hash_sym_constant_raw_info (const char *name, short num_bits) |
uint32_t | hash_variable (void *item, short num_bits) |
uint32_t | hash_variable_raw_info (const char *name, short num_bits) |
void | init_symbol_tables (agent *thisAgent) |
Symbol * | make_float_constant (agent *thisAgent, double value) |
Symbol * | make_int_constant (agent *thisAgent, int64_t value) |
Symbol * | make_new_identifier (agent *thisAgent, char name_letter, goal_stack_level level, uint64_t name_number) |
Symbol * | make_sym_constant (agent *thisAgent, char const *name) |
Symbol * | make_variable (agent *thisAgent, const char *name) |
Bool | print_identifier_ref_info (agent *thisAgent, void *item, void *userdata) |
void | print_internal_symbols (agent *thisAgent) |
Bool | print_sym (agent *thisAgent, void *item, void *) |
void | release_helper (agent *thisAgent, Symbol **sym) |
void | release_predefined_symbols (agent *thisAgent) |
Bool | reset_gensym_number (agent *, void *item, void *) |
void | reset_id_and_variable_tc_numbers (agent *thisAgent) |
bool | reset_id_counters (agent *thisAgent) |
Bool | reset_tc_num (agent *, void *item, void *) |
void | reset_variable_gensym_numbers (agent *thisAgent) |
#define GENERATE_NEW_SYM_CONSTANT_BUFFER_SIZE 2000 /* that ought to be long enough! */ |
Referenced by generate_new_sym_constant().
Definition at line 62 of file symtab.cpp.
References masks_for_n_low_order_bits, and uint32_t().
Referenced by hash_float_constant(), hash_float_constant_raw_info(), hash_identifier(), hash_identifier_raw_info(), hash_int_constant(), hash_int_constant_raw_info(), hash_sym_constant(), hash_sym_constant_raw_info(), hash_variable(), and hash_variable_raw_info().
void create_predefined_symbols | ( | agent * | thisAgent | ) |
Definition at line 660 of file symtab.cpp.
References agent_struct::attribute_symbol, agent_struct::choices_symbol, agent_struct::conflict_symbol, agent_struct::constraint_failure_symbol, agent_struct::epmem_sym, agent_struct::epmem_sym_after, agent_struct::epmem_sym_bad_cmd, agent_struct::epmem_sym_before, agent_struct::epmem_sym_cmd, agent_struct::epmem_sym_cue_size, agent_struct::epmem_sym_current, agent_struct::epmem_sym_failure, agent_struct::epmem_sym_graph_match, agent_struct::epmem_sym_graph_match_mapping, agent_struct::epmem_sym_graph_match_mapping_cue, agent_struct::epmem_sym_graph_match_mapping_node, agent_struct::epmem_sym_match_cardinality, agent_struct::epmem_sym_match_score, agent_struct::epmem_sym_memory_id, agent_struct::epmem_sym_negquery, agent_struct::epmem_sym_next, agent_struct::epmem_sym_no, agent_struct::epmem_sym_no_memory, agent_struct::epmem_sym_normalized_match_score, agent_struct::epmem_sym_present_id, agent_struct::epmem_sym_prev, agent_struct::epmem_sym_prohibit, agent_struct::epmem_sym_query, agent_struct::epmem_sym_result, agent_struct::epmem_sym_retrieve, agent_struct::epmem_sym_retrieved, agent_struct::epmem_sym_status, agent_struct::epmem_sym_success, agent_struct::epmem_sym_yes, agent_struct::goal_symbol, agent_struct::impasse_symbol, agent_struct::input_link_symbol, agent_struct::io_symbol, agent_struct::item_count_symbol, agent_struct::item_symbol, make_sym_constant(), make_variable(), agent_struct::multiple_symbol, agent_struct::name_symbol, agent_struct::nil_symbol, agent_struct::no_change_symbol, agent_struct::non_numeric_count_symbol, agent_struct::non_numeric_symbol, agent_struct::none_symbol, agent_struct::o_context_variable, agent_struct::object_symbol, agent_struct::operator_symbol, agent_struct::output_link_symbol, agent_struct::problem_space_symbol, agent_struct::quiescence_symbol, agent_struct::rl_sym_reward, agent_struct::rl_sym_reward_link, agent_struct::rl_sym_value, agent_struct::s_context_variable, agent_struct::smem_sym, agent_struct::smem_sym_bad_cmd, agent_struct::smem_sym_cmd, agent_struct::smem_sym_failure, agent_struct::smem_sym_negquery, agent_struct::smem_sym_prohibit, agent_struct::smem_sym_query, agent_struct::smem_sym_result, agent_struct::smem_sym_retrieve, agent_struct::smem_sym_retrieved, agent_struct::smem_sym_status, agent_struct::smem_sym_store, agent_struct::smem_sym_success, agent_struct::so_context_variable, agent_struct::ss_context_variable, agent_struct::sso_context_variable, agent_struct::sss_context_variable, agent_struct::state_symbol, agent_struct::superstate_symbol, agent_struct::t_symbol, agent_struct::tie_symbol, agent_struct::to_context_variable, agent_struct::ts_context_variable, agent_struct::type_symbol, and agent_struct::wait_symbol.
Referenced by init_soar_agent().
Definition at line 451 of file symtab.cpp.
References abort_with_fatal_error(), BUFFER_MSG_SIZE, agent_struct::float_constant_hash_table, agent_struct::float_constant_pool, FLOAT_CONSTANT_SYMBOL_TYPE, free_memory_block_for_string(), agent_struct::identifier_hash_table, agent_struct::identifier_pool, IDENTIFIER_SYMBOL_TYPE, agent_struct::int_constant_hash_table, agent_struct::int_constant_pool, INT_CONSTANT_SYMBOL_TYPE, sym_constant_struct::name, variable_struct::name, print_with_symbols(), remove_from_hash_table(), symbol_union::sc, agent_struct::sym_constant_hash_table, agent_struct::sym_constant_pool, SYM_CONSTANT_SYMBOL_TYPE, symbol_union::var, agent_struct::variable_hash_table, agent_struct::variable_pool, and VARIABLE_SYMBOL_TYPE.
Referenced by symbol_remove_ref().
Definition at line 245 of file symtab.cpp.
References hash_table_struct::buckets, symbol_union::fc, agent_struct::float_constant_hash_table, hash_float_constant_raw_info(), hash_table_struct::log2size, NIL, uint32_t(), and float_constant_struct::value.
Referenced by make_float_constant().
Definition at line 205 of file symtab.cpp.
References hash_table_struct::buckets, hash_identifier_raw_info(), symbol_union::id, agent_struct::identifier_hash_table, hash_table_struct::log2size, identifier_struct::name_letter, identifier_struct::name_number, NIL, and uint32_t().
Referenced by get_io_identifier(), read_id_or_context_var_from_string(), read_identifier_or_context_variable(), smem_lti_soar_make(), and smem_parse_chunks().
Definition at line 232 of file symtab.cpp.
References hash_table_struct::buckets, hash_int_constant_raw_info(), symbol_union::ic, agent_struct::int_constant_hash_table, hash_table_struct::log2size, NIL, uint32_t(), and int_constant_struct::value.
Referenced by make_int_constant().
Definition at line 219 of file symtab.cpp.
References hash_table_struct::buckets, hash_sym_constant_raw_info(), hash_table_struct::log2size, sym_constant_struct::name, NIL, symbol_union::sc, agent_struct::sym_constant_hash_table, and uint32_t().
Referenced by destroy_soar_agent(), generate_chunk_name_sym_constant(), generate_new_sym_constant(), make_constant_symbol_rhs_function_code(), make_sym_constant(), parse_function_call_after_lparen(), remove_built_in_rhs_functions(), remove_built_in_rhs_math_functions(), and rl_build_template_instantiation().
Definition at line 193 of file symtab.cpp.
References hash_table_struct::buckets, hash_variable_raw_info(), hash_table_struct::log2size, variable_struct::name, NIL, uint32_t(), symbol_union::var, and agent_struct::variable_hash_table.
Referenced by get_context_var_info(), and make_variable().
Definition at line 640 of file symtab.cpp.
References find_sym_constant(), GENERATE_NEW_SYM_CONSTANT_BUFFER_SIZE, make_sym_constant(), and TRUE.
Referenced by chunk_instantiation(), generate_chunk_name_sym_constant(), and make_constant_symbol_rhs_function_code().
Definition at line 153 of file symtab.cpp.
References agent_struct::current_symbol_hash_id.
Referenced by make_float_constant(), make_int_constant(), make_new_identifier(), make_sym_constant(), and make_variable().
uint32_t hash_float_constant | ( | void * | item, |
short | num_bits | ||
) |
Definition at line 140 of file symtab.cpp.
References compress(), and float_constant_struct::value.
Referenced by init_symbol_tables().
uint32_t hash_float_constant_raw_info | ( | double | value, |
short | num_bits | ||
) |
Definition at line 108 of file symtab.cpp.
References compress().
Referenced by find_float_constant().
uint32_t hash_identifier | ( | void * | item, |
short | num_bits | ||
) |
Definition at line 122 of file symtab.cpp.
References compress(), identifier_struct::name_letter, and identifier_struct::name_number.
Referenced by init_symbol_tables().
uint32_t hash_identifier_raw_info | ( | char | name_letter, |
uint64_t | name_number, | ||
short | num_bits | ||
) |
Definition at line 94 of file symtab.cpp.
References compress().
Referenced by find_identifier().
uint32_t hash_int_constant | ( | void * | item, |
short | num_bits | ||
) |
Definition at line 134 of file symtab.cpp.
References compress(), and int_constant_struct::value.
Referenced by init_symbol_tables().
uint32_t hash_int_constant_raw_info | ( | int64_t | value, |
short | num_bits | ||
) |
Definition at line 104 of file symtab.cpp.
References compress().
Referenced by find_int_constant().
uint32_t hash_string | ( | const char * | s | ) |
Definition at line 75 of file symtab.cpp.
References uint32_t().
Referenced by hash_sym_constant(), hash_sym_constant_raw_info(), hash_variable(), and hash_variable_raw_info().
uint32_t hash_sym_constant | ( | void * | item, |
short | num_bits | ||
) |
Definition at line 128 of file symtab.cpp.
References compress(), hash_string(), and sym_constant_struct::name.
Referenced by init_symbol_tables().
uint32_t hash_sym_constant_raw_info | ( | const char * | name, |
short | num_bits | ||
) |
Definition at line 100 of file symtab.cpp.
References compress(), and hash_string().
Referenced by find_sym_constant().
uint32_t hash_variable | ( | void * | item, |
short | num_bits | ||
) |
Definition at line 116 of file symtab.cpp.
References compress(), hash_string(), and variable_struct::name.
Referenced by init_symbol_tables().
uint32_t hash_variable_raw_info | ( | const char * | name, |
short | num_bits | ||
) |
Definition at line 90 of file symtab.cpp.
References compress(), and hash_string().
Referenced by find_variable().
void init_symbol_tables | ( | agent * | thisAgent | ) |
Definition at line 158 of file symtab.cpp.
References agent_struct::float_constant_hash_table, agent_struct::float_constant_pool, hash_float_constant(), hash_identifier(), hash_int_constant(), hash_sym_constant(), hash_variable(), agent_struct::identifier_hash_table, agent_struct::identifier_pool, init_memory_pool(), agent_struct::int_constant_hash_table, agent_struct::int_constant_pool, make_hash_table(), reset_id_counters(), agent_struct::sym_constant_hash_table, agent_struct::sym_constant_pool, agent_struct::variable_hash_table, and agent_struct::variable_pool.
Referenced by init_soar_agent().
Definition at line 419 of file symtab.cpp.
References add_to_hash_table(), FALSE, symbol_union::fc, find_float_constant(), agent_struct::float_constant_hash_table, agent_struct::float_constant_pool, FLOAT_CONSTANT_SYMBOL_TYPE, get_next_symbol_hash_id(), symbol_add_ref(), symbol_to_string(), and float_constant_struct::value.
Referenced by abs_rhs_function_code(), atan2_rhs_function_code(), cos_rhs_function_code(), dice_prob_rhs_function_code(), epmem_install_memory(), epmem_process_query(), float_rhs_function_code(), fp_divide_rhs_function_code(), get_io_float_constant(), make_symbol_for_current_lexeme(), minus_rhs_function_code(), plus_rhs_function_code(), rand_float_rhs_function_code(), reteload_all_symbols(), rl_perform_update(), round_off_air_rhs_function_code(), round_off_heading_air_rhs_function_code(), sin_rhs_function_code(), smem_parse_chunk(), smem_parse_constant_attr(), smem_reverse_hash(), sqrt_rhs_function_code(), and times_rhs_function_code().
Definition at line 393 of file symtab.cpp.
References add_to_hash_table(), FALSE, find_int_constant(), get_next_symbol_hash_id(), symbol_union::ic, agent_struct::int_constant_hash_table, agent_struct::int_constant_pool, INT_CONSTANT_SYMBOL_TYPE, symbol_add_ref(), symbol_to_string(), and int_constant_struct::value.
Referenced by abs_rhs_function_code(), compute_heading_rhs_function_code(), compute_range_rhs_function_code(), create_new_impasse(), div_rhs_function_code(), epmem_install_memory(), epmem_new_episode(), epmem_process_query(), get_io_int_constant(), int_rhs_function_code(), make_symbol_for_current_lexeme(), minus_rhs_function_code(), mod_rhs_function_code(), plus_rhs_function_code(), rand_int_rhs_function_code(), reteload_all_symbols(), round_off_air_rhs_function_code(), round_off_heading_air_rhs_function_code(), smem_parse_chunk(), smem_parse_constant_attr(), smem_reverse_hash(), strlen_rhs_function_code(), times_rhs_function_code(), and update_impasse_items().
Symbol* make_new_identifier | ( | agent * | thisAgent, |
char | name_letter, | ||
goal_stack_level | level, | ||
uint64_t | name_number | ||
) |
Definition at line 283 of file symtab.cpp.
References add_to_hash_table(), identifier_struct::associated_output_links, identifier_struct::could_be_a_link_from_below, identifier_struct::epmem_cmd_header, identifier_struct::epmem_header, identifier_struct::epmem_id, EPMEM_MEMID_NONE, EPMEM_NODEID_BAD, identifier_struct::epmem_result_header, identifier_struct::epmem_time_wme, identifier_struct::epmem_valid, FALSE, identifier_struct::gds, get_next_symbol_hash_id(), identifier_struct::higher_goal, symbol_union::id, agent_struct::id_counter, agent_struct::identifier_hash_table, agent_struct::identifier_pool, IDENTIFIER_SYMBOL_TYPE, identifier_struct::impasse_wmes, identifier_struct::input_wmes, identifier_struct::isa_goal, identifier_struct::isa_impasse, identifier_struct::isa_operator, identifier_struct::level, identifier_struct::link_count, identifier_struct::lower_goal, identifier_struct::ms_i_assertions, identifier_struct::ms_o_assertions, identifier_struct::ms_retractions, identifier_struct::name_letter, identifier_struct::name_number, NIL, NO_SAVED_PRODS, identifier_struct::operator_slot, identifier_struct::preferences_from_goal, identifier_struct::promotion_level, identifier_struct::reward_header, identifier_struct::rl_info, identifier_struct::saved_firing_type, identifier_struct::slots, identifier_struct::smem_cmd_header, identifier_struct::smem_header, identifier_struct::smem_lti, identifier_struct::smem_result_header, identifier_struct::smem_time_id, identifier_struct::smem_valid, symbol_to_string(), identifier_struct::tc_num, and identifier_struct::unknown_level.
Referenced by _epmem_install_id_wme(), create_new_impasse(), deep_copy_rhs_function_code(), epmem_install_memory(), epmem_process_query(), get_io_identifier(), get_new_io_identifier(), instantiate_rhs_value(), recursive_wme_copy(), and smem_lti_soar_make().
Definition at line 366 of file symtab.cpp.
References add_to_hash_table(), FALSE, find_sym_constant(), get_next_symbol_hash_id(), make_memory_block_for_string(), sym_constant_struct::name, NIL, sym_constant_struct::production, symbol_union::sc, agent_struct::sym_constant_hash_table, agent_struct::sym_constant_pool, SYM_CONSTANT_SYMBOL_TYPE, symbol_add_ref(), and symbol_to_string().
Referenced by capitalize_symbol_rhs_function_code(), create_predefined_symbols(), crlf_rhs_function_code(), deep_copy_rhs_function_code(), epmem_install_memory(), generate_chunk_name_sym_constant(), generate_new_sym_constant(), get_io_sym_constant(), soar_module::sym_set_param::in_set(), init_built_in_rhs_functions(), init_built_in_rhs_math_functions(), init_soar_agent(), make_constant_symbol_rhs_function_code(), make_symbol_for_current_lexeme(), parse_attribute_path_in_brackets(), parse_production(), reteload_all_symbols(), rl_build_template_instantiation(), soar_module::sym_set_param::set_value(), smem_parse_chunk(), smem_parse_constant_attr(), smem_reverse_hash(), timestamp_rhs_function_code(), and trim_rhs_function_code().
Definition at line 258 of file symtab.cpp.
References add_to_hash_table(), FALSE, find_variable(), variable_struct::gensym_number, get_next_symbol_hash_id(), make_memory_block_for_string(), variable_struct::name, NIL, variable_struct::rete_binding_locations, symbol_add_ref(), symbol_to_string(), variable_struct::tc_num, symbol_union::var, agent_struct::variable_hash_table, agent_struct::variable_pool, and VARIABLE_SYMBOL_TYPE.
Referenced by create_predefined_symbols(), generate_new_variable(), make_placeholder_var(), make_symbol_for_current_lexeme(), parse_rhs_action(), and reteload_all_symbols().
Definition at line 513 of file symtab.cpp.
References FALSE, symbol_union::id, IDENTIFIER_SYMBOL_TYPE, identifier_struct::name_letter, identifier_struct::name_number, NIL, print(), identifier_struct::smem_lti, TRUE, and xml_generate_warning().
Referenced by reset_id_counters().
void print_internal_symbols | ( | agent * | thisAgent | ) |
Definition at line 627 of file symtab.cpp.
References do_for_all_items_in_hash_table(), agent_struct::float_constant_hash_table, agent_struct::identifier_hash_table, agent_struct::int_constant_hash_table, print_string(), print_sym(), agent_struct::sym_constant_hash_table, and agent_struct::variable_hash_table.
Definition at line 621 of file symtab.cpp.
References FALSE, NIL, print_string(), symbol_to_string(), and TRUE.
Referenced by print_internal_symbols().
Definition at line 765 of file symtab.cpp.
References symbol_remove_ref().
Referenced by release_predefined_symbols().
void release_predefined_symbols | ( | agent * | thisAgent | ) |
Definition at line 770 of file symtab.cpp.
References agent_struct::attribute_symbol, agent_struct::choices_symbol, agent_struct::conflict_symbol, agent_struct::constraint_failure_symbol, agent_struct::epmem_sym, agent_struct::epmem_sym_after, agent_struct::epmem_sym_bad_cmd, agent_struct::epmem_sym_before, agent_struct::epmem_sym_cmd, agent_struct::epmem_sym_cue_size, agent_struct::epmem_sym_current, agent_struct::epmem_sym_failure, agent_struct::epmem_sym_graph_match, agent_struct::epmem_sym_graph_match_mapping, agent_struct::epmem_sym_graph_match_mapping_cue, agent_struct::epmem_sym_graph_match_mapping_node, agent_struct::epmem_sym_match_cardinality, agent_struct::epmem_sym_match_score, agent_struct::epmem_sym_memory_id, agent_struct::epmem_sym_negquery, agent_struct::epmem_sym_next, agent_struct::epmem_sym_no, agent_struct::epmem_sym_no_memory, agent_struct::epmem_sym_normalized_match_score, agent_struct::epmem_sym_present_id, agent_struct::epmem_sym_prev, agent_struct::epmem_sym_prohibit, agent_struct::epmem_sym_query, agent_struct::epmem_sym_result, agent_struct::epmem_sym_retrieve, agent_struct::epmem_sym_retrieved, agent_struct::epmem_sym_status, agent_struct::epmem_sym_success, agent_struct::epmem_sym_yes, agent_struct::goal_symbol, agent_struct::impasse_symbol, agent_struct::input_link_symbol, agent_struct::io_symbol, agent_struct::item_count_symbol, agent_struct::item_symbol, agent_struct::multiple_symbol, agent_struct::name_symbol, agent_struct::nil_symbol, agent_struct::no_change_symbol, agent_struct::non_numeric_count_symbol, agent_struct::non_numeric_symbol, agent_struct::none_symbol, agent_struct::o_context_variable, agent_struct::object_symbol, agent_struct::operator_symbol, agent_struct::output_link_symbol, agent_struct::problem_space_symbol, agent_struct::quiescence_symbol, release_helper(), agent_struct::rl_sym_reward, agent_struct::rl_sym_reward_link, agent_struct::rl_sym_value, agent_struct::s_context_variable, agent_struct::smem_sym, agent_struct::smem_sym_bad_cmd, agent_struct::smem_sym_cmd, agent_struct::smem_sym_failure, agent_struct::smem_sym_negquery, agent_struct::smem_sym_prohibit, agent_struct::smem_sym_query, agent_struct::smem_sym_result, agent_struct::smem_sym_retrieve, agent_struct::smem_sym_retrieved, agent_struct::smem_sym_status, agent_struct::smem_sym_store, agent_struct::smem_sym_success, agent_struct::so_context_variable, agent_struct::ss_context_variable, agent_struct::sso_context_variable, agent_struct::sss_context_variable, agent_struct::state_symbol, agent_struct::superstate_symbol, agent_struct::t_symbol, agent_struct::tie_symbol, agent_struct::to_context_variable, agent_struct::ts_context_variable, agent_struct::type_symbol, and agent_struct::wait_symbol.
Referenced by destroy_soar_agent().
Definition at line 609 of file symtab.cpp.
References FALSE, variable_struct::gensym_number, and symbol_union::var.
Referenced by reset_variable_gensym_numbers().
void reset_id_and_variable_tc_numbers | ( | agent * | thisAgent | ) |
Definition at line 604 of file symtab.cpp.
References do_for_all_items_in_hash_table(), agent_struct::identifier_hash_table, reset_tc_num(), and agent_struct::variable_hash_table.
Referenced by get_new_tc_number().
bool reset_id_counters | ( | agent * | thisAgent | ) |
Definition at line 554 of file symtab.cpp.
References soar_module::connected, hash_table_struct::count, do_for_all_items_in_hash_table(), soar_module::status_object< T >::get_status(), agent_struct::id_counter, agent_struct::identifier_hash_table, print(), print_identifier_ref_info(), smem_count_ltis(), agent_struct::smem_db, smem_reset_id_counters(), and xml_generate_warning().
Referenced by init_symbol_tables(), and reinitialize_soar().
Definition at line 595 of file symtab.cpp.
References FALSE, symbol_union::id, IDENTIFIER_SYMBOL_TYPE, variable_struct::tc_num, identifier_struct::tc_num, symbol_union::var, and VARIABLE_SYMBOL_TYPE.
Referenced by reset_id_and_variable_tc_numbers().
void reset_variable_gensym_numbers | ( | agent * | thisAgent | ) |
Definition at line 617 of file symtab.cpp.
References do_for_all_items_in_hash_table(), reset_gensym_number(), and agent_struct::variable_hash_table.
Referenced by reset_variable_generator().