Does anybody know production rule?# Database - 数据库
h*n
1 楼
I am using production rules in my project. But I am not very clear about its
form. I know it can be written in the following form:
IF...
THEN...
DEFAULT...
I am wondering whether I can write it like this:
IF...
IF...
THEN...
ELSE...
(There are two IF statements and an ELSE statement in it.)
Is this still a production rule? Thanks a lot.
form. I know it can be written in the following form:
IF...
THEN...
DEFAULT...
I am wondering whether I can write it like this:
IF...
IF...
THEN...
ELSE...
(There are two IF statements and an ELSE statement in it.)
Is this still a production rule? Thanks a lot.