diff options
Diffstat (limited to 'modeling/productions_math.py')
-rw-r--r-- | modeling/productions_math.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modeling/productions_math.py b/modeling/productions_math.py index 5687ba9..ca7d95a 100644 --- a/modeling/productions_math.py +++ b/modeling/productions_math.py @@ -66,6 +66,8 @@ def init(): "tens_ans", "ones_ans", "mul_counter", + "mem_arg1", + "mem_arg2", "ones_carry", "tens_carry", "vis_counter", @@ -137,6 +139,8 @@ def init(): # result=min(i, j), # ) # ) + for i in range(0, 21): + for j in range(0, 21): DM.add( actr.makechunk( f"plus{i}{j}", "math_op", op="add", arg1=i, arg2=j, result=i + j @@ -215,7 +219,7 @@ def start(): # sim.step() # if sim.current_event.action == "KEY PRESSED: SPACE": # break - sim.run(max_time=8) + sim.run(max_time=25) print("Simulation time: ", sim.show_time()) print("goal: ", goal) # print(list(env)) |