Guest_imported
New member
- Jan 1, 1970
- 0
I am doing my family tree using Prolog so that i can ask it simple questions like how many uncles does X have, who are they etc..
I am having problems writing the rule for brother and sister i realise i must have some line that says something like different(X,Y). because you cant be your own brother!
but Prolog doesn't recognise the term different, (this is the term my tutor gave me) can you help me please!
I am having problems writing the rule for brother and sister i realise i must have some line that says something like different(X,Y). because you cant be your own brother!
but Prolog doesn't recognise the term different, (this is the term my tutor gave me) can you help me please!