summaryrefslogtreecommitdiff
path: root/modeling/productions_math.py
diff options
context:
space:
mode:
authorNiclas Dobbertin <niclas.dobbertin@mailbox.org>2024-07-05 15:18:04 +0200
committerNiclas Dobbertin <niclas.dobbertin@mailbox.org>2024-07-05 15:18:04 +0200
commit4721cd226e693c1933c22d643d982d29e9b59121 (patch)
tree85eb48a9fc0e0bfba7f91e7f82d91c6e5e7aeee9 /modeling/productions_math.py
parent751895424dc1b5ff41d67648df263f08680c5d4f (diff)
added subtraction
Diffstat (limited to 'modeling/productions_math.py')
-rw-r--r--modeling/productions_math.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/modeling/productions_math.py b/modeling/productions_math.py
index aa06ffb..7d7a94d 100644
--- a/modeling/productions_math.py
+++ b/modeling/productions_math.py
@@ -4,6 +4,7 @@ import pyactr as actr
from model_init import init
import prod_addition
+import prod_subtraction
import prod_comp
import prod_multi
import prod_numbers
@@ -54,13 +55,14 @@ def start():
# op, arg1, arg2 = wait_input()
Model, DM, goal, imaginal, env = init()
# add_goal(goal, op, arg1, arg2)
- add_proc(goal, "proc3")
+ add_proc(goal, "proc1")
envs = model_env.get_env()
general_prod(Model)
prod_procedure.procedures(Model)
number_prods = prod_numbers.number(Model)
add_prods = prod_addition.addition(Model)
+ sub_prods = prod_subtraction.subtraction(Model)
greater_prods = prod_comp.greater_than(Model)
less_prods = prod_comp.lesser_than(Model)
multi_prods = prod_multi.multiplication(Model)