Re: Floyd warshall
- From: andrea <kerny404@xxxxxxxxx>
- Date: Thu, 30 Aug 2007 14:49:39 -0700
I tried with a very small example
prova(X,Y) :-
dist(X,Y,Z), Z > 2 ->
write('maggiore'); write('minore'),write(Z).
?- prova(0,1).
minore_L136
So in the "else branch" Z is not unified anymore, why?? I dont' find a
suitable explanation..
How can I translate this little piece of code?
.
- Follow-Ups:
- Re: Floyd warshall
- From: Bart Demoen
- Re: Floyd warshall
- From: Cesar Rabak
- Re: Floyd warshall
- References:
- Re: Floyd warshall
- From: andrea
- Re: Floyd warshall
- From: andrea
- Re: Floyd warshall
- From: andrea
- Re: Floyd warshall
- Prev by Date: XSB 3.1 Released
- Next by Date: Re: Floyd warshall
- Previous by thread: Re: Floyd warshall
- Next by thread: Re: Floyd warshall
- Index(es):