From eb2e5ca2ffa74e3dd2579dcb70a347e6cd481545 Mon Sep 17 00:00:00 2001 From: "Dobbertin, Niclas" Date: Fri, 21 Jun 2024 19:59:07 +0200 Subject: visual search --- modeling/productions_math.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'modeling/productions_math.py') diff --git a/modeling/productions_math.py b/modeling/productions_math.py index 57a655a..90dcffb 100644 --- a/modeling/productions_math.py +++ b/modeling/productions_math.py @@ -68,6 +68,7 @@ def init(): "mul_counter", "ones_carry", "tens_carry", + "vis_counter", ), ) actr.chunktype( @@ -89,13 +90,13 @@ def init(): op1="add", arg1_1="Algen", arg1_1_idx=1, - arg1_2="Mineralien", - arg1_2_idx=1, - op2="greater", + arg1_2="Sandstein", + arg1_2_idx=4, + op2="mul", arg2_1="result1", arg2_1_idx=0, - arg2_2="Algen", - arg2_2_idx=1, + arg2_2="Gifte", + arg2_2_idx=3, ) ) @@ -163,6 +164,7 @@ def general_prod(Model): =g> isa math_goal op =nextop + nextop None """, ) @@ -213,7 +215,7 @@ def start(): # sim.step() # if sim.current_event.action == "KEY PRESSED: SPACE": # break - sim.run(max_time=8) + sim.run(max_time=4) print("Simulation time: ", sim.show_time()) print("goal: ", goal) # print(list(env)) -- cgit v1.2.3