From 4721cd226e693c1933c22d643d982d29e9b59121 Mon Sep 17 00:00:00 2001 From: Niclas Dobbertin Date: Fri, 5 Jul 2024 15:18:04 +0200 Subject: added subtraction --- modeling/productions_math.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'modeling/productions_math.py') 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) -- cgit v1.2.3