Soar Kernel
9.3.2 08-06-12
|
Go to the source code of this file.
Typedefs | |
typedef struct action_struct | action |
typedef struct agent_struct | agent |
typedef char | Bool |
typedef struct condition_struct | condition |
typedef struct cons_struct | cons |
typedef cons | list |
typedef uint64_t | tc_number |
Functions | |
list * | collect_root_variables (agent *thisAgent, condition *, tc_number, Bool) |
void | init_reorderer (agent *thisAgent) |
Bool | reorder_action_list (agent *thisAgent, action **action_list, tc_number lhs_tc) |
Bool | reorder_lhs (agent *thisAgent, condition **lhs_top, condition **lhs_bottom, Bool reorder_nccs) |
typedef struct action_struct action |
typedef struct agent_struct agent |
typedef struct condition_struct condition |
typedef struct cons_struct cons |
Definition at line 590 of file reorder.cpp.
References add_bound_variables_in_test(), add_to_growable_string(), condition_struct::data, FALSE, cons_struct::first, free_growable_string(), three_field_tests_struct::id_test, make_blank_growable_string(), agent_struct::name_of_production_being_reordered, condition_struct::next, NIL, POSITIVE_CONDITION, print(), PRINT_WARNINGS_SYSPARAM, print_with_symbols(), cons_struct::rest, symbol_to_string(), agent_struct::sysparams, test_includes_equality_test_for_symbol(), test_includes_goal_or_impasse_id_test(), condition_struct::condition_main_data_union::tests, text_of_growable_string(), TRUE, condition_struct::type, unmark_variables_and_free_list(), three_field_tests_struct::value_test, and xml_generate_warning().
Referenced by find_compile_time_match_goal(), reorder_lhs(), and reorder_simplified_conditions().
void init_reorderer | ( | agent * | thisAgent | ) |
Definition at line 1218 of file reorder.cpp.
References init_memory_pool(), and agent_struct::saved_test_pool.
Referenced by init_production_utilities().
Definition at line 85 of file reorder.cpp.
References add_all_variables_in_action(), FALSE, legal_to_execute_action(), agent_struct::name_of_production_being_reordered, action_struct::next, NIL, print(), TRUE, and unmark_variables_and_free_list().
Referenced by make_production().
Bool reorder_lhs | ( | agent * | thisAgent, |
condition ** | lhs_top, | ||
condition ** | lhs_bottom, | ||
Bool | reorder_nccs | ||
) |
Definition at line 1175 of file reorder.cpp.
References add_bound_variables_in_test(), check_negative_relational_test_bindings(), collect_root_variables(), condition_struct::data, FALSE, fill_in_vars_requiring_bindings(), free_list(), get_new_tc_number(), three_field_tests_struct::id_test, agent_struct::name_of_production_being_reordered, condition_struct::next, NIL, POSITIVE_CONDITION, print(), remove_isa_state_tests_for_non_roots(), remove_vars_requiring_bindings(), reorder_condition_list(), test_includes_goal_or_impasse_id_test(), condition_struct::condition_main_data_union::tests, TRUE, and condition_struct::type.
Referenced by make_production().