Quantcast
Channel: Logical exclusive or in Prolog - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by Daniel Lyons for Logical exclusive or in Prolog

For the most part, logic variables are already exclusive because they can only be bound once. You have defined here a rule color/1 with four bodies. When you query with an uninstantiated variable,...

View Article



Logical exclusive or in Prolog

I am very new to Prolog and was trying to solve a logic puzzle with it. I am having trouble finding out how to do a logical exclusive or. Here is a very simple problem that explains the situation....

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images