T tothaa Junior Member Jul 12, 2013 2 0 0 Jul 12, 2013 #1 I'm just trying prolog... How can you expres that: if f(X) relation exists then X also most be true. somehow like this: apple.pl: f(a). f(b). %?? sg rule???.... querry: ?- f(a). yes ?- a. yes ?- f(z). no ?- z. no
I'm just trying prolog... How can you expres that: if f(X) relation exists then X also most be true. somehow like this: apple.pl: f(a). f(b). %?? sg rule???.... querry: ?- f(a). yes ?- a. yes ?- f(z). no ?- z. no
Tweak155 Lifer Sep 23, 2003 11,449 264 126 Jul 12, 2013 #2 Prolog... the cause of all my nightmares in A.I class.
A Apathetic Platinum Member Dec 23, 2002 2,587 6 81 Jul 12, 2013 #3 Tweak155 said: Prolog... the cause of all my nightmares in A.I class. Click to expand... My solution to Prolog in college was a hell of a lot of liquor. OK, it didn't really solve my problem, but it sure made me care a whole lot less. Dave
Tweak155 said: Prolog... the cause of all my nightmares in A.I class. Click to expand... My solution to Prolog in college was a hell of a lot of liquor. OK, it didn't really solve my problem, but it sure made me care a whole lot less. Dave
T tothaa Junior Member Jul 12, 2013 2 0 0 Jul 15, 2013 #4 OK; I see, Prolog is not the easy way... Do you think, there is a better solution for representing and managing knowledge in general? Any idea? thx.
OK; I see, Prolog is not the easy way... Do you think, there is a better solution for representing and managing knowledge in general? Any idea? thx.