Soar Kernel
9.3.2 08-06-12
|
Go to the source code of this file.
Data Structures | |
struct | explain_chunk_struct |
struct | ms_change_struct |
Macros | |
#define | EXPLAIN_CHUNK_STRUCT_NAME_BUFFER_SIZE 256 |
Typedefs | |
typedef struct action_struct | action |
typedef struct agent_struct | agent |
typedef struct backtrace_struct | backtrace_str |
typedef char | Bool |
typedef struct condition_struct | condition |
typedef struct cons_struct | cons |
typedef struct explain_chunk_struct | explain_chunk_str |
typedef signed short | goal_stack_level |
typedef struct ms_change_struct | ms_change |
typedef union symbol_union | Symbol |
typedef struct wme_struct | wme |
Variables | |
char * | help_on_explain [] |
#define EXPLAIN_CHUNK_STRUCT_NAME_BUFFER_SIZE 256 |
Definition at line 39 of file explain.h.
Referenced by chunk_instantiation(), and explain_add_temp_to_chunk_list().
typedef struct action_struct action |
typedef struct agent_struct agent |
typedef struct backtrace_struct backtrace_str |
typedef struct condition_struct condition |
typedef struct cons_struct cons |
typedef struct explain_chunk_struct explain_chunk_str |
typedef signed short goal_stack_level |
typedef struct ms_change_struct ms_change |
typedef union symbol_union Symbol |
typedef struct wme_struct wme |
Definition at line 117 of file explain.cpp.
References copy_condition_list().
Referenced by explain_add_temp_to_chunk_list().
Definition at line 130 of file explain.cpp.
References copy_condition(), cons_struct::first, condition_struct::next, NIL, condition_struct::prev, and cons_struct::rest.
Referenced by explain_add_temp_to_backtrace_list().
void explain_add_temp_to_backtrace_list | ( | agent * | thisAgent, |
backtrace_str * | temp, | ||
cons * | grounds, | ||
cons * | pots, | ||
cons * | locals, | ||
cons * | negateds | ||
) |
Definition at line 157 of file explain.cpp.
References BUFFER_PROD_NAME_SIZE, copy_condition(), copy_conds_from_list(), agent_struct::explain_backtrace_list, backtrace_struct::grounds, backtrace_struct::locals, backtrace_struct::negated, condition_struct::next, backtrace_struct::next_backtrace, backtrace_struct::potentials, backtrace_struct::prod_name, backtrace_struct::result, and backtrace_struct::trace_cond.
Referenced by backtrace_through_instantiation().
void explain_add_temp_to_chunk_list | ( | agent * | thisAgent, |
explain_chunk_str * | temp | ||
) |
Definition at line 191 of file explain.cpp.
References explain_chunk_struct::actions, explain_chunk_struct::all_grounds, explain_chunk_struct::backtrace, explain_chunk_struct::conds, copy_cond_list(), agent_struct::explain_backtrace_list, agent_struct::explain_chunk_list, EXPLAIN_CHUNK_STRUCT_NAME_BUFFER_SIZE, explain_chunk_struct::name, and explain_chunk_struct::next_chunk.
Referenced by chunk_instantiation().
Definition at line 456 of file explain.cpp.
References explain_chunk_struct::backtrace, agent_struct::explain_chunk_list, explain_trace(), find_chunk(), find_ground(), and NIL.
void explain_cond_list | ( | agent * | thisAgent, |
char * | chunk_name | ||
) |
Definition at line 477 of file explain.cpp.
References explain_chunk_struct::actions, explain_chunk_struct::all_grounds, COLUMNS_PER_LINE, explain_chunk_struct::conds, agent_struct::explain_chunk_list, FALSE, find_chunk(), get_printer_output_column(), explain_chunk_struct::name, condition_struct::next, NIL, print(), print_action_list(), print_condition(), and print_condition_list().
Definition at line 354 of file explain.cpp.
References conditions_are_equal(), and condition_struct::next.
Referenced by explain_trace().
void explain_full_trace | ( | agent * | thisAgent | ) |
Definition at line 541 of file explain.cpp.
References agent_struct::explain_chunk_list, explain_trace_chunk(), and explain_chunk_struct::next_chunk.
Bool explain_interface_routine | ( | void | ) |
void explain_list_chunks | ( | agent * | thisAgent | ) |
Definition at line 519 of file explain.cpp.
References agent_struct::explain_chunk_list, explain_chunk_struct::name, explain_chunk_struct::next_chunk, and print().
void explain_trace | ( | agent * | thisAgent, |
char * | chunk_name, | ||
backtrace_str * | prod_list, | ||
condition * | ground | ||
) |
Definition at line 372 of file explain.cpp.
References explain_find_cond(), explain_trace_named_chunk(), FALSE, backtrace_struct::grounds, backtrace_struct::locals, backtrace_struct::negated, backtrace_struct::next_backtrace, backtrace_struct::potentials, print(), print_condition(), backtrace_struct::prod_name, backtrace_struct::result, backtrace_struct::trace_cond, and TRUE.
Referenced by explain_chunk().
void explain_trace_chunk | ( | agent * | thisAgent, |
explain_chunk_str * | chunk | ||
) |
Definition at line 306 of file explain.cpp.
References explain_chunk_struct::backtrace, backtrace_struct::grounds, backtrace_struct::locals, explain_chunk_struct::name, backtrace_struct::negated, backtrace_struct::potentials, print(), print_condition(), print_list_of_conditions(), print_string(), backtrace_struct::prod_name, backtrace_struct::result, and backtrace_struct::trace_cond.
Referenced by explain_full_trace(), and explain_trace_named_chunk().
void explain_trace_named_chunk | ( | agent * | thisAgent, |
char * | chunk_name | ||
) |
Definition at line 338 of file explain.cpp.
References agent_struct::explain_chunk_list, explain_trace_chunk(), and find_chunk().
Referenced by explain_trace().
explain_chunk_str* find_chunk | ( | agent * | thisAgent, |
explain_chunk_str * | chunk, | ||
char * | name | ||
) |
Definition at line 264 of file explain.cpp.
References explain_chunk_struct::name, explain_chunk_struct::next_chunk, and print().
Referenced by explain_chunk(), explain_cond_list(), and explain_trace_named_chunk().
condition* find_ground | ( | agent * | thisAgent, |
explain_chunk_str * | chunk, | ||
int | number | ||
) |
Definition at line 285 of file explain.cpp.
References explain_chunk_struct::all_grounds, condition_struct::next, NIL, and print().
Referenced by explain_chunk().
void free_explain_chunk | ( | agent * | thisAgent, |
explain_chunk_str * | chunk | ||
) |
Definition at line 221 of file explain.cpp.
References explain_chunk_struct::actions, explain_chunk_struct::all_grounds, explain_chunk_struct::backtrace, explain_chunk_struct::conds, deallocate_action_list(), deallocate_condition_list(), and free_backtrace_list().
Referenced by reset_explain().
void init_explain | ( | agent * | thisAgent | ) |
Definition at line 58 of file explain.cpp.
References agent_struct::explain_backtrace_list, agent_struct::explain_chunk_list, agent_struct::explain_chunk_name, EXPLAIN_SYSPARAM, FALSE, and set_sysparam().
Referenced by init_soar_agent().
void reset_backtrace_list | ( | agent * | thisAgent | ) |
Definition at line 105 of file explain.cpp.
References agent_struct::explain_backtrace_list, and free_backtrace_list().
Referenced by chunk_instantiation(), and reset_explain().
void reset_explain | ( | agent * | thisAgent | ) |
Definition at line 238 of file explain.cpp.
References agent_struct::explain_chunk_list, free_explain_chunk(), explain_chunk_struct::next_chunk, and reset_backtrace_list().
Referenced by reinitialize_soar().
char* help_on_explain[] |