SOAR: Executing Productions


Execution of productions within Soar can be started by drun  or go.  Execution can be stopped by pressing Control and C together (on the Macintosh, in some versions you use C-c and in others you hold down the Apple key, the one with the paddle on it, and type a period).

The d command runs Soar one decision cycle at a time. If no integer is given, then Soar runs until it is explicetly halted (e.g. either by achieving the top-level goal or having the stop character typed to it). If an integer is given (e.g., d 5) then Soar will only continue processing for the given number of decision cycles.

Similarly, the run (or just r) command processes a set number of elaboration cycles.

The go command is the most versatile since it takes two arguments, one giving the number of cycles to be run, and the other specifying what type of thing to run. For example, go 3 o runs for three operator selections.


Click on BACK in your browser to return to where you were before this page.

More help from The Soar tutorial help page.