iCog-Labs-Dev / metta-moses

Meta Optimization Semantic Evolutionary Search
3 stars 14 forks source link

Added New Refactored getGuardSetExpression #152

Closed BrookFeleke closed 1 week ago

BrookFeleke commented 2 weeks ago

Description

I have added a new refactored version of the getGuardSetExp named getGuardSetExpression that uses superpose to increase performance and run in parallel. The new function is I haven't removed the old function since it is used in the module zero-constraint-subsumption.metta.

Motivation and Context

Checklist:

BrookFeleke commented 1 week ago

@BrookFeleke why can't you refactor the usage of getGuardSetExp in the zero constraint subsumption too like you did in the delete Inconsistent handle? Then remove the getGuardSetExp and change the name of your function to that?

I have made the requested changes and removed the old getGuardSetExp.

Yagth commented 1 week ago

Hey @BrookFeleke, just merged another PR and your code isn't working all of a sudden. I believe it a simple conflict that can be resolved on your side.

BrookFeleke commented 1 week ago

Hey @BrookFeleke, just merged another PR and your code isn't working all of a sudden. I believe it a simple conflict that can be resolved on your side.

Yes @Yagth it was because the new isConsistentExp was using the older version of getGuardExp with 3 arguments, i have changed that and it passes all tests now.