Thanks a lot!!! :)
I have a last question.. I have to write in C the and/or tree for this prolog file..
How can I do it? how I know when is an 'or' and when is an 'and'.
For example.. if the goal is 'a':
a
|
--------------------------
| | |
b...
Thanks a lot!!!
and what exactly means that code?
that 'a' is true only if 'b' , 'c' and 'd' are true? right?
and the goal could be every letter that i use in the code?
Hi everybody,
I just start to learn Prolog.
I have to write a Prolog program where the Horn clauses and the goal will only consist of a predicate symbol, which thus will not be followed by a sequence of terms enclosed in parentheses.
What exactly means?
Something like this:
A :- B, C, D.
B...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.