SoarGroup / Soar

Soar, a general cognitive architecture for systems that exhibit intelligent behavior.
http://soar.eecs.umich.edu
Other
322 stars 70 forks source link

Cannot set spreading-depth-limit #428

Open PLindes opened 5 months ago

PLindes commented 5 months ago

I found that when I run my agent with a source file to load data into smem and that file has the following command:

smem --set spreading-depth-limit 1

the system always responds with an error and fails to load smem. The error message for this line is:

This parameter is protected while the semantic memory database is open.

If I comment that line out and try to do the command from the Soar debugger after smem has been loaded I get this error:

Some spreading activation settings cannot be changed once spreading activation has been turned on.

If I just open a Soar debugger and type in that command before anything else, it works just fine and smem ? reports the new value. This needs to be fixed so that the spreading depth can be set from files that are being sourced, not just from the command line.