MCPcopy Create free account
hub / github.com/SoarGroup/Soar / create_predefined_symbols

Function create_predefined_symbols

Core/SoarKernel/src/symtab.cpp:893–998  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

891----------------------------------------------------------------- */
892
893void create_predefined_symbols(agent* thisAgent)
894{
895 thisAgent->problem_space_symbol = make_str_constant(thisAgent, "problem-space");
896 thisAgent->state_symbol = make_str_constant(thisAgent, "state");
897 thisAgent->operator_symbol = make_str_constant(thisAgent, "operator");
898 thisAgent->superstate_symbol = make_str_constant(thisAgent, "superstate");
899 thisAgent->io_symbol = make_str_constant(thisAgent, "io");
900 thisAgent->object_symbol = make_str_constant(thisAgent, "object");
901 thisAgent->attribute_symbol = make_str_constant(thisAgent, "attribute");
902 thisAgent->impasse_symbol = make_str_constant(thisAgent, "impasse");
903 thisAgent->choices_symbol = make_str_constant(thisAgent, "choices");
904 thisAgent->none_symbol = make_str_constant(thisAgent, "none");
905 thisAgent->constraint_failure_symbol = make_str_constant(thisAgent, "constraint-failure");
906 thisAgent->no_change_symbol = make_str_constant(thisAgent, "no-change");
907 thisAgent->multiple_symbol = make_str_constant(thisAgent, "multiple");
908
909 // SBW 5/07
910 thisAgent->item_count_symbol = make_str_constant(thisAgent, "item-count");
911
912 // NLD 11/11
913 thisAgent->non_numeric_count_symbol = make_str_constant(thisAgent, "non-numeric-count");
914
915 thisAgent->conflict_symbol = make_str_constant(thisAgent, "conflict");
916 thisAgent->tie_symbol = make_str_constant(thisAgent, "tie");
917 thisAgent->item_symbol = make_str_constant(thisAgent, "item");
918 thisAgent->non_numeric_symbol = make_str_constant(thisAgent, "non-numeric");
919 thisAgent->quiescence_symbol = make_str_constant(thisAgent, "quiescence");
920 thisAgent->t_symbol = make_str_constant(thisAgent, "t");
921 thisAgent->nil_symbol = make_str_constant(thisAgent, "nil");
922 thisAgent->type_symbol = make_str_constant(thisAgent, "type");
923 thisAgent->goal_symbol = make_str_constant(thisAgent, "goal");
924 thisAgent->name_symbol = make_str_constant(thisAgent, "name");
925
926 thisAgent->ts_context_variable = make_variable(thisAgent, "<ts>");
927 thisAgent->to_context_variable = make_variable(thisAgent, "<to>");
928 thisAgent->sss_context_variable = make_variable(thisAgent, "<sss>");
929 thisAgent->sso_context_variable = make_variable(thisAgent, "<sso>");
930 thisAgent->ss_context_variable = make_variable(thisAgent, "<ss>");
931 thisAgent->so_context_variable = make_variable(thisAgent, "<so>");
932 thisAgent->s_context_variable = make_variable(thisAgent, "<s>");
933 thisAgent->o_context_variable = make_variable(thisAgent, "<o>");
934
935 thisAgent->input_link_symbol = make_str_constant(thisAgent, "input-link");
936 thisAgent->output_link_symbol = make_str_constant(thisAgent, "output-link");
937
938 thisAgent->rl_sym_reward_link = make_str_constant(thisAgent, "reward-link");
939 thisAgent->rl_sym_reward = make_str_constant(thisAgent, "reward");
940 thisAgent->rl_sym_value = make_str_constant(thisAgent, "value");
941
942 thisAgent->epmem_sym = make_str_constant(thisAgent, "epmem");
943 thisAgent->epmem_sym_cmd = make_str_constant(thisAgent, "command");
944 thisAgent->epmem_sym_result = make_str_constant(thisAgent, "result");
945
946 thisAgent->epmem_sym_retrieved = make_str_constant(thisAgent, "retrieved");
947 thisAgent->epmem_sym_status = make_str_constant(thisAgent, "status");
948 thisAgent->epmem_sym_match_score = make_str_constant(thisAgent, "match-score");
949 thisAgent->epmem_sym_cue_size = make_str_constant(thisAgent, "cue-size");
950 thisAgent->epmem_sym_normalized_match_score = make_str_constant(thisAgent, "normalized-match-score");

Callers 1

init_soar_agentFunction · 0.85

Calls 2

make_str_constantFunction · 0.85
make_variableFunction · 0.85

Tested by

no test coverage detected