summaryrefslogtreecommitdiff
path: root/modeling/productions_math.py
diff options
context:
space:
mode:
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))