summaryrefslogtreecommitdiff
path: root/modeling/productions_math.py
diff options
context:
space:
mode:
authorDobbertin, Niclas <niclas.dobbertin@mailbox.org>2024-06-21 19:59:07 +0200
committerDobbertin, Niclas <niclas.dobbertin@mailbox.org>2024-06-21 19:59:07 +0200
commiteb2e5ca2ffa74e3dd2579dcb70a347e6cd481545 (patch)
treead35fe47a230069b4f33f63c928e007011aceaf8 /modeling/productions_math.py
parentff52130ae894942d8d1006eb5894015300512eed (diff)
visual search
Diffstat (limited to 'modeling/productions_math.py')
-rw-r--r--modeling/productions_math.py14
1 files changed, 8 insertions, 6 deletions
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))