River example from lecture: erinevus redaktsioonide vahel

Allikas: Lambda
Mine navigeerimisribale Mine otsikasti
Resümee puudub
Resümee puudub
 
25. rida: 25. rida:


% try also this:
% try also this:
%-connectedw(ve,p).
% -connectedw(ve,p).


% the next outcommented version of the negated question
% the next outcommented version of the negated question
31. rida: 31. rida:
% and gkc should heavily focus on that clause
% and gkc should heavily focus on that clause


fof(q,negated_conjecture,
% fof(q,negated_conjecture,
-canpaddle(ve,m)).
% -canpaddle(ve,m)).


</pre>
</pre>

Viimane redaktsioon: 28. veebruar 2020, kell 14:28

flowsto(ve,v).
flowsto(e,p).
flowsto(n,m).

flowsfrom(e,v).
flowsfrom(n,p).

-flowsfrom(X,Y) | canpaddle(Y,X).
-flowsto(X,Y) | canpaddle(X,Y).

-canpaddle(X,Y) | -canpaddle(Y,Z) | canpaddle(X,Z).

-flowsfrom(X,Y) | -flowsfrom(Y,Z) | flowsfrom(X,Z).
-flowsto(X,Y) | -flowsto(Y,Z) | flowsto(X,Z).

-flowsfrom(X,Y) | connectedw(X,Y).
-flowsto(X,Y) | connectedw(X,Y).
-connectedw(X,Y) | -connectedw(Y,Z) | connectedw(X,Z).
-connectedw(X,Y) | connectedw(Y,Z).

% our negated question

-canpaddle(ve,m).

% try also this:
% -connectedw(ve,p).

% the next outcommented version of the negated question
% is a way to tell gkc that this is indeed a question
% and gkc should heavily focus on that clause

% fof(q,negated_conjecture,
% -canpaddle(ve,m)).