1.

In “cuts” What Is The Parent Goal In Prolog?

Answer»

When running the subgoals in a RULE’s body, the PARENT goal is referred to the goal that CAUSED the matching of the HEAD of the CURRENT rule.

When running the subgoals in a rule’s body, the parent goal is referred to the goal that caused the matching of the head of the current rule.



Discussion

No Comment Found