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

Function init_explain

Core/SoarKernel/src/explain.cpp:53–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51 **************************************************************************/
52
53void init_explain(agent* thisAgent)
54{
55
56 /* "AGR 564" applies to this whole function */
57
58 thisAgent->explain_chunk_name[0] = '\0';
59 thisAgent->explain_chunk_list = NULL;
60 thisAgent->explain_backtrace_list = NULL;
61 /* added in this initialization, not sure why removed... KJC 7/96 */
62 /* thisAgent->explain_flag = false;
63 */
64 /* should we be re-initializing here?? */
65 set_sysparam(thisAgent, EXPLAIN_SYSPARAM, false);
66
67 /*
68 * add_help("explain",help_on_explain);
69 * add_command("explain",explain_interface_routine);
70 *
71 * explain_chunk_list = NULL;
72 * explain_backtrace_list = NULL;
73 * thisAgent->explain_flag = false;
74 */
75}
76
77/***************************************************************************
78 * Function : free_backtrace_list

Callers 1

init_soar_agentFunction · 0.85

Calls 1

set_sysparamFunction · 0.85

Tested by

no test coverage detected