Re: Minimum depth limit
- From: "zu61" <zu61@xxxxxxxxxxx>
- Date: 13 Aug 2005 09:49:45 -0700
Hi
f(t,z).
f(e,q).
f(b,e).
f(w,i).
f(a,b).
f(q,w).
f(i,t).
f(X,X).
f(X,Y) :- f(Y,X).
f(X,Y) :- f(X,Z), f(Z,Y).
May be not a work.
If change to
f(t,z).
f(e,q).
f(b,e).
f(w,i).
f(a,b).
f(q,w).
f(i,t).
f2(X,X).
f2(X,Y) :- f(Y,X).
f2(X,Y) :- f(X,Z), f(Z,Y).
?- f2(a,z). no solution for turbo prolog
?- f2(a,Q). Q=a, Q=e 2 solution
I try a testing, Dont never mine.
.
- References:
- Minimum depth limit
- From: Mauro Di Nuzzo
- Minimum depth limit
- Prev by Date: Re: newbie question: how to measure run-time with Sicstus under linux?
- Next by Date: beginner's question: Difference between CWA and NAF
- Previous by thread: Minimum depth limit
- Next by thread: beginner's question: Difference between CWA and NAF
- Index(es):