iCog-Labs-Dev / metta-moses

Meta Optimization Semantic Evolutionary Search
3 stars 14 forks source link

Implemented the Delete-Inconsistent-Handle Transformation #111

Closed Liya-F closed 1 month ago

Liya-F commented 1 month ago

I implemented the delete-inconsistent-handle transformation. The function takes an expression and it either deletes it (returns ( )) or keeps it (returns the expression itself) depending on its consistency. The consistency of an expression is checked using the function isConsistentExp which uses the function getGuardSetExp to get the guardset of the expression and check for any inconsistencies.