Skip to content

Commit

Permalink
limiting conditional_compositional rules to variable introduction
Browse files Browse the repository at this point in the history
  • Loading branch information
maxeeem committed Apr 28, 2024
1 parent 0b390fc commit fc07343
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pynars/NARS/Control/Reasoner.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class Reasoner:

structural_enabled = True
immediate_enabled = True
compositional_enabled = False
compositional_enabled = True

class TheoremItem(Item):
def __init__(self, theorem, budget: Budget) -> None:
Expand Down
2 changes: 1 addition & 1 deletion pynars/NARS/InferenceEngine/KanrenEngine/KanrenEngine.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ def inference_compositional(self, t1: Sentence, t2: Sentence):

conclusion = self.determine_order(t1, t2, res[0])

results.append(((conclusion, r), truth))
# results.append(((conclusion, r), truth))

# variable introduction
# TODO: handle nested statements
Expand Down

0 comments on commit fc07343

Please sign in to comment.