| 
    Soar Kernel
    9.3.2 08-06-12
    
   | 
 
#include "gdatastructs.h"Go to the source code of this file.
Macros | |
| #define | HIGHER_LEVEL 2 | 
| #define | LOWER_LEVEL 3 | 
| #define | NEW_DECISION 0 | 
| #define | NIL_GOAL_RETRACTIONS 4 | 
| #define | SAME_LEVEL 1 | 
Typedefs | |
| typedef struct agent_struct | agent | 
| typedef char | Bool | 
| typedef signed short | goal_stack_level | 
| typedef struct ms_change_struct | ms_change | 
| typedef struct slot_struct | slot | 
| typedef union symbol_union | Symbol | 
| typedef struct wme_struct | wme | 
| #define HIGHER_LEVEL 2 | 
Definition at line 54 of file consistency.h.
Referenced by determine_highest_active_production_level_in_stack_apply(), and determine_highest_active_production_level_in_stack_propose().
| #define LOWER_LEVEL 3 | 
Definition at line 55 of file consistency.h.
Referenced by determine_highest_active_production_level_in_stack_apply(), and determine_highest_active_production_level_in_stack_propose().
| #define NEW_DECISION 0 | 
Definition at line 52 of file consistency.h.
Referenced by determine_highest_active_production_level_in_stack_apply(), and determine_highest_active_production_level_in_stack_propose().
| #define NIL_GOAL_RETRACTIONS 4 | 
Definition at line 56 of file consistency.h.
Referenced by determine_highest_active_production_level_in_stack_apply(), and determine_highest_active_production_level_in_stack_propose().
| #define SAME_LEVEL 1 | 
Definition at line 53 of file consistency.h.
Referenced by determine_highest_active_production_level_in_stack_apply(), and determine_highest_active_production_level_in_stack_propose().
| typedef struct agent_struct agent | 
Definition at line 41 of file consistency.h.
| typedef char Bool | 
Definition at line 37 of file consistency.h.
| typedef signed short goal_stack_level | 
Definition at line 38 of file consistency.h.
| typedef struct ms_change_struct ms_change | 
Definition at line 42 of file consistency.h.
| typedef struct slot_struct slot | 
Definition at line 39 of file consistency.h.
| typedef union symbol_union Symbol | 
Definition at line 43 of file consistency.h.
| typedef struct wme_struct wme | 
Definition at line 40 of file consistency.h.
Definition at line 526 of file consistency.cpp.
References i_activity_at_goal(), IE_PRODS, and PE_PRODS.
Referenced by determine_highest_active_production_level_in_stack_apply().
| Bool check_context_slot_decisions | ( | agent * | thisAgent, | 
| goal_stack_level | level | ||
| ) | 
Definition at line 332 of file consistency.cpp.
References slot_struct::changed, decision_consistent_with_current_preferences(), FALSE, agent_struct::highest_goal_whose_context_changed, symbol_union::id, identifier_struct::level, identifier_struct::lower_goal, identifier_struct::operator_slot, print_with_symbols(), remove_current_decision(), agent_struct::soar_verbose_flag, agent_struct::sysparams, TRACE_WM_CHANGES_SYSPARAM, TRUE, and slot_struct::wmes.
Referenced by goal_stack_consistent_through_goal().
Definition at line 122 of file consistency.cpp.
References slot_struct::attr, attribute_of_existing_impasse(), CONFLICT_IMPASSE_TYPE, CONSTRAINT_FAILURE_IMPASSE_TYPE, FALSE, symbol_union::id, slot_struct::id, slot_struct::impasse_id, slot_struct::impasse_type, slot_struct::isa_context_slot, identifier_struct::isa_impasse, identifier_struct::lower_goal, preference_struct::next, preference_struct::next_candidate, NIL, NO_CHANGE_IMPASSE_TYPE, NONE_IMPASSE_TYPE, identifier_struct::operator_slot, print_preference(), print_with_symbols(), print_wme(), run_preference_semantics_for_consistency_check(), TIE_IMPASSE_TYPE, TRUE, type_of_existing_impasse(), wme_struct::value, preference_struct::value, and slot_struct::wmes.
Referenced by check_context_slot_decisions().
| void determine_highest_active_production_level_in_stack_apply | ( | agent * | thisAgent | ) | 
Definition at line 611 of file consistency.cpp.
| void determine_highest_active_production_level_in_stack_propose | ( | agent * | thisAgent | ) | 
Definition at line 842 of file consistency.cpp.
Definition at line 537 of file consistency.cpp.
References check_context_slot_decisions(), agent_struct::current_phase, agent_struct::highest_goal_whose_context_changed, symbol_union::id, identifier_struct::level, print(), and print_with_symbols().
Referenced by determine_highest_active_production_level_in_stack_apply(), and determine_highest_active_production_level_in_stack_propose().
Definition at line 474 of file consistency.cpp.
References abort_with_fatal_error(), BUFFER_MSG_SIZE, symbol_union::id, identifier_struct::lower_goal, identifier_struct::ms_i_assertions, identifier_struct::ms_o_assertions, identifier_struct::ms_retractions, NIL, agent_struct::nil_goal_retractions, print(), print_assertion(), print_retraction(), and xml_generate_warning().
Referenced by determine_highest_active_production_level_in_stack_apply(), and do_preference_phase().
Definition at line 434 of file consistency.cpp.
References abort_with_fatal_error(), BUFFER_MSG_SIZE, symbol_union::id, identifier_struct::lower_goal, identifier_struct::ms_i_assertions, identifier_struct::ms_retractions, NIL, agent_struct::nil_goal_retractions, print(), print_assertion(), print_retraction(), and xml_generate_warning().
Referenced by determine_highest_active_production_level_in_stack_propose(), and do_preference_phase().
Definition at line 386 of file consistency.cpp.
References FALSE, symbol_union::id, identifier_struct::ms_i_assertions, identifier_struct::ms_retractions, and TRUE.
Referenced by active_production_type_at_goal(), and minor_quiescence_at_goal().
| void initialize_consistency_calculations_for_new_decision | ( | agent * | thisAgent | ) | 
Definition at line 580 of file consistency.cpp.
References agent_struct::active_goal, agent_struct::active_level, symbol_union::id, identifier_struct::lower_goal, NIL, NO_SAVED_PRODS, identifier_struct::saved_firing_type, and agent_struct::top_goal.
Referenced by do_one_top_level_phase().
Definition at line 408 of file consistency.cpp.
References FALSE, agent_struct::FIRING_TYPE, i_activity_at_goal(), IE_PRODS, and TRUE.
Referenced by determine_highest_active_production_level_in_stack_apply(), and determine_highest_active_production_level_in_stack_propose().
| void print_assertion | ( | ms_change * | msc | ) | 
Referenced by highest_active_goal_apply(), and highest_active_goal_propose().
| void print_retraction | ( | ms_change * | msc | ) | 
Referenced by highest_active_goal_apply(), and highest_active_goal_propose().
Definition at line 305 of file consistency.cpp.
References slot_struct::attr, do_buffered_wm_and_ownership_changes(), symbol_union::id, slot_struct::id, identifier_struct::lower_goal, print_with_symbols(), remove_existing_context_and_descendents(), remove_wmes_for_context_slot(), agent_struct::sysparams, TRACE_OPERAND2_REMOVALS_SYSPARAM, and slot_struct::wmes.
Referenced by check_context_slot_decisions().
Definition at line 41 of file consistency.cpp.
 1.8.1.2