#include "soarkernel.h"
#include "soar_ecore_utils.h"
#include "soar_core_api.h"
Go to the source code of this file.
Modifying the Agents Parameters | |
void | soar_ecBuildInfo (void) |
soar_BuildInfo -- Indicates compile time setting which affect the current instantiation of Soar. More... | |
void | soar_ecExcludedBuildInfo (void) |
soar_ecExcludedBuildInfo -- Indicates compile time setting which affect the current instantiation of Soar. More... | |
void | soar_ecSetDefaultWmeDepth (int depth) |
soar_ecSetDefaultWmeDepth -- Set the default wme depth to a new value. More... | |
int | soar_ecOpenLog (char *mode, char *filename) |
soar_ecOpenLog --. More... | |
int | soar_ecCloseLog () |
soar_ecCloseLog -- Close the log file. More... | |
int | soar_ecCaptureInput (char *filename) |
soar_ecCaptureInput -- Captures the input sent to the agent during by external calls to add-wme and remove-wme. More... | |
int | soar_ecReplayInput (char *filename) |
soar_ecReplayInput -- Replays the input previously captured using the CaptureInput command. More... | |
void | soar_ecGDSPrint () |
soar_ecGDSPrint -- Debug routine for examing the GDS when necessary. More... | |
void | soar_ecExplainChunkTrace (char *chunk_name) |
soar_ecExplainChunkTrace -- Explain how a chunk came into being. More... | |
void | soar_ecExplainChunkCondition (char *chunk_name, int cond_number) |
soar_ecExplainChunkCondition -- Explain how a particular condition of a chunk came into being. More... | |
void | soar_ecExplainChunkConditionList (char *chunk_name) |
soar_ecExplainChunkConditionList -- Explain how a chunks conditions came into being. More... | |
void | soar_ecPrintFiringsForProduction (char *name) |
soar_ecPrintFiringsForProduction -- Print the number of times a production has fired. More... | |
void | soar_ecPrintTopProductionFirings (int n) |
soar_ecPrintTopProductionFirings -- Print the top <n> productions with respect to their frequency of firing. More... | |
void | soar_ecPrintMemoryPoolStatistics (void) |
soar_ecPrintMemoryPoolStatistics -- Print detailed information about Soar's internal memory usage. More... | |
void | soar_ecPrintMemoryStatistics (void) |
soar_ecPrintMemoryStatistics -- Print information about Soar's internal memory usage. More... | |
void | soar_ecPrintReteStatistics (void) |
soar_ecPrintReteStatistics -- Print information about the rete. More... | |
void | soar_ecPrintSystemStatistics (void) |
soar_ecPrintSystemStatistics -- Print information about the state of Soar. More... | |
int | soar_ecPrintDCHistogram (void) |
soar_ecPrintDCHistogram -- Print the decision cycle time histogram (if one has been kept). More... | |
int | soar_ecPrintKTHistogram (void) |
soar_ecPrintKTHistogram -- Print the kernel time histogram (if one has been kept). More... | |
int | soar_ecPrintAllProductionsOfType (int type, bool internal, bool print_fname, bool full_prod) |
soar_ecPrintAllProductionsOfType -- Print all productions of the specified type. More... | |
int | soar_ecAddWmeFilter (char *szId, char *szAttr, char *szValue, bool adds, bool removes) |
soar_ecAddWmeFilter -- Add a wme filter to control which wmes are displayed. More... | |
int | soar_ecRemoveWmeFilter (char *idStr, char *attrStr, char *valueStr, bool adds, bool removes) |
soar_ecRemoveWmeFilter -- Remove a previously specified wme filter. More... | |
int | soar_ecResetWmeFilters (bool adds, bool removes) |
soar_ecResetWmeFilters -- Remove all wme filters. More... | |
void | soar_ecListWmeFilters (bool adds, bool removes) |
soar_ecListWmeFilters -- Print a list of the wme filters which are currently active. More... | |
int | soar_ecSp (char *rule, char *sourceFile) |
soar_ecSp -- Source a production. More... | |
void | soar_ecPrintMatchSet (wme_trace_type wtt, ms_trace_type mst) |
soar_ecPrintMatchSet -- Print the current match set (the productions which are matched). More... | |
int | soar_ecPrintMatchInfoForProduction (char *name, wme_trace_type wtt) |
soar_ecPrintMatchInfoForProduction -- Show detailed information as to why a production does or doesn't match. More... | |
void | soar_ecPrintInternalSymbols (void) |
soar_ecPrintInternalSymbols -- Print Soar's internally allocated symbols. More... | |
int | soar_ecPrintPreferences (char *szId, char *szAttr, bool print_prod, wme_trace_type wtt) |
soar_ecPrintPreferences -- Print the preferences for a particular (id, attribute) pair. More... | |
void | soar_ecPrintProductionsBeingTraced () |
soar_ecPrintProductionsBeingTraced -- Print a list of all the productions currently being traced (watched). More... | |
void | soar_ecStopAllProductionTracing () |
soar_ecStopAllProductionTracing -- Stop tracing all productions. More... | |
int | soar_ecBeginTracingProductions (int n, char **names) |
soar_ecBeginTracingProductions -- Begin tracing a set of productions. More... | |
int | soar_ecStopTracingProductions (int n, char **names) |
soar_ecStopTracingProductions -- Stop tracing a set of productions. More... | |
void | soar_ecPrintMemories (int num, int to_print[]) |
soar_ecPrintMemories -- Prints information about the memory usage of different production types. More... | |
int | soar_ecWatchLevel (int level) |
soar_ecWatchLevel -- Set the watch level (the verbosity of output). More... |
Copyright (c) 1995-1999 Carnegie Mellon University, University of Michigan, University of Southern California/Information Sciences Institute. All rights reserved.
The Soar consortium proclaims this software is in the public domain, and is made available AS IS. Carnegie Mellon University, The University of Michigan, and The University of Southern California/Information Sciences Institute make no warranties about the software or its performance, implied or otherwise. All rights reserved.
|
soar_ecAddWmeFilter -- Add a wme filter to control which wmes are displayed.
Normally, when wmes are printed during execution (as when watch 5 is set) all changes to working memory are displayed. Adding a wme filter, allows the user to select a subset of these changes for display. wmes which match the filter are printed. if the parameters to this function refer to identifiers, the identifier must already be in existence when then filter is added.
|
|
soar_ecBeginTracingProductions -- Begin tracing a set of productions.
|
|
soar_BuildInfo -- Indicates compile time setting which affect the current instantiation of Soar.
For example, the Note that the options which are printed using this function are filtered. They are expected to be the most pertanant of all the compile time options.
|
|
soar_ecCaptureInput -- Captures the input sent to the agent during by external calls to add-wme and remove-wme.
|
|
soar_ecCloseLog -- Close the log file.
|
|
soar_ecExcludedBuildInfo -- Indicates compile time setting which affect the current instantiation of Soar.
Note that the options which are printed using this function are filtered. The options presented using this command are those which are expected to be of lesser importance. However, using this command in conjunction with
|
|
soar_ecExplainChunkCondition -- Explain how a particular condition of a chunk came into being.
|
|
soar_ecExplainChunkConditionList -- Explain how a chunks conditions came into being.
Prints the chunk, and then each condition and its associated ground wme. This is a less verbose version of
|
|
soar_ecExplainChunkTrace -- Explain how a chunk came into being.
This function prints information about the productions which fired to yield the specified chunk. It is a more verbose version of soar_ecExplainChunkConditionList
|
|
soar_ecGDSPrint -- Debug routine for examing the GDS when necessary.
This is horribly inefficient and should not generally be used except when something is going wrong and you want to take a peak at the GDS |
|
soar_ecListWmeFilters -- Print a list of the wme filters which are currently active.
param "adds ->" |
|
soar_ecOpenLog --.
|
|
soar_ecPrintAllProductionsOfType -- Print all productions of the specified type.
|
|
soar_ecPrintDCHistogram -- Print the decision cycle time histogram (if one has been kept).
|
|
soar_ecPrintFiringsForProduction -- Print the number of times a production has fired.
This prints the number of times that particular production has fired, or "No production named <name>" if the specified production is not defined.
|
|
soar_ecPrintInternalSymbols -- Print Soar's internally allocated symbols.
|
|
soar_ecPrintKTHistogram -- Print the kernel time histogram (if one has been kept).
|
|
soar_ecPrintMatchInfoForProduction -- Show detailed information as to why a production does or doesn't match.
|
|
soar_ecPrintMatchSet -- Print the current match set (the productions which are matched).
|
|
soar_ecPrintMemories -- Prints information about the memory usage of different production types.
|
|
soar_ecPrintMemoryPoolStatistics -- Print detailed information about Soar's internal memory usage.
Soar uses its own memory allocation scheme to store much of its data. Memory is allocated from one of a number of memory pools, associated with a particular agent. This function shows information about the size and free space of these pools |
|
soar_ecPrintMemoryStatistics -- Print information about Soar's internal memory usage.
This function gives an overview of Soar's memory usage without examining each pool in any depth. |
|
soar_ecPrintPreferences -- Print the preferences for a particular (id, attribute) pair.
|
|
soar_ecPrintProductionsBeingTraced -- Print a list of all the productions currently being traced (watched).
|
|
soar_ecPrintReteStatistics -- Print information about the rete.
|
|
soar_ecPrintSystemStatistics -- Print information about the state of Soar.
This function prints a variety of information about Soar's current state. Most importantly, it includes how long Soar has been running (both in seconds, and decision cycles). |
|
soar_ecPrintTopProductionFirings -- Print the top <n> productions with respect to their frequency of firing.
Prints the top firing produtions and the number of times they have fired. If no productions are defined, then "*** No productions defined ***" is printed.
|
|
soar_ecRemoveWmeFilter -- Remove a previously specified wme filter.
|
|
soar_ecReplayInput -- Replays the input previously captured using the CaptureInput command.
|
|
soar_ecResetWmeFilters -- Remove all wme filters.
|
|
soar_ecSetDefaultWmeDepth -- Set the default wme depth to a new value.
The default wme depth indicates how much substructure should be printed when wmes are displayed. The default wme depth can be overridden by using the
|
|
soar_ecSp -- Source a production.
Parses a production in text representation and loads it into the rete.
|
|
soar_ecStopAllProductionTracing -- Stop tracing all productions.
|
|
soar_ecStopTracingProductions -- Stop tracing a set of productions.
|
|
soar_ecWatchLevel -- Set the watch level (the verbosity of output).
|