-
Please look at this example:
I don't know how to fix the axiom. I tried adding (loc a) (loc b) (loc c) to the problem, and replacing the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Sorry I lost track of this and didn't answer... Here's a working solution:
This changes your axiom to avoid having cycles in a path. I think I have gotten it right. I also pulled it apart into multiple different axioms which is less efficient, but makes the domain easier to understand. A better solution would be to add a special-purpose lisp function that would run some efficient algorithm (transitive closure) and respond to queries like |
Beta Was this translation helpful? Give feedback.
Sorry I lost track of this and didn't answer...
Here's a working solution: