.


:




:

































 

 

 

 


,




, j . - I . ; , .

1. . , Prolog, , .

2. , , :

, Q, R.

, Prolog.

, , , . , , . , . , , :

:- =. b. : - .

: , b . :

<==> ! £ b) v

, . :

: - ,!, .

: - .

132 I. Prolog


: <:==> ( 6 v (- & )

: :- .

:- , 1, to.

: <==> v (a & b)-

, , . , .

, , , . , . , . "", . .

, , , . , , .

, fail. , (not) . , , , . not "' fail" ( ), , " fail".

, not , . , , not, , . , Prolog :?- not human [ ).

, , "yes". , Prolog , . Prolog , , , . , not Prolog . , , Prolog , not.

. , , . , - ( ), , , , . Prolog , -


5,



, .

human(),

, , !

, , not , , :

good standard(jeanluis). expensive[ j eanluis).





:


: 2015-10-01; !; : 375 |


:

:

.
==> ...

1444 - | 1379 -


© 2015-2024 lektsii.org - -

: 0.038 .