Anda di halaman 1dari 5

# 1.

" ",
,
, .
1.
.
:

,
: (If-Then ),
: ,
.

: .
" ... " ("IF ... THEN").
.
()
. ,
.

1.

2.
:
IF s THEN a
IF THEN p
IF p THEN s TO DEGREE d

,
,
,
.
1

(. forward chaining).
. ;
(. backward chaining).
. ;
(. bi-directional).

Algoritam zakljuivanja
1. Match: (If );
2. Conflict resolution: ;
,
(conflict-resolution strategy);
3. Act: .

No duplication: ;
Do one: ;
Do all: ;
Do the most specific: ;
Do the most recent: .
: = (, - 8).
:
1: IF , THEN -
2: IF --- THEN
3: IF OR -, THEN
4: IF -8 AND AND NOT , THEN -
5: IF AND -8 THEN
6: IF -8 AND - THEN
: .
.
. :

1)
2)
3)

1)
2)
3)

, ,
, , ,
;
,
,
, .

, . ,
, .
. .
, , +1 -1.
, ,
.
2

. , 1) " ",
:
1 - " ",
0,5 - " ",
0 - " ",
-0,5 - " ",
-1 - " ".
.
, ,
, ,
:

/
x /
y.

, :

,
,
, ,
.

,
,
.

3.
2. ,
( : , , , )
, ( ... ).

2.

,
. ,
, , .
: ,
x "" .
1) :
I x ( ) x;
II x 39 " "
x ;
III x 10 39 "X" x 10;
IV x 9 "X" x 0;
V x 5 8 "" x 5;
VI x 4 "" x 0;
VII x 1 3 "" x 1;
VIII x 0 "" x ( ).
2) : x.
3) , ,
.
, . ,
, ("") .
, x 7, (V),
:

"" x 5, "".

,
, .
, ,
.

4.
,
, .
,
. .
,
, .

, AND
.

. ,
.
. () .
4

,
.
,
.

.
,
. ,
.

, , IF ... THEN
, .:
IF THEN
:
15% ,
15%
.
:
:
IF > 1.15 *
THEN = +( -1.15 * )
: 15%,
15% .
,
.

, . ,

. , ,
.