06.03.2013 Views

Artificial Intelligence and Soft Computing: Behavioral ... - Arteimi.info

Artificial Intelligence and Soft Computing: Behavioral ... - Arteimi.info

Artificial Intelligence and Soft Computing: Behavioral ... - Arteimi.info

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The user has to submit both types of rules in a specific menu driven format.<br />

This is a Pascal program, which also orders the rules, if they are pipelined<br />

(i.e., consequent of one rule is an antecedent of another rule).<br />

NOTE: SAVE THREE FILES fpnreas1, fpnreas2 <strong>and</strong> fpnreas3 TOGETHER<br />

IN A FLOPPY (A –Drive) before execution of the programs. The order of<br />

execution should be fpnreas1, fpnreas2 <strong>and</strong> fpnreas3 respectively.<br />

The sample run of the program Fpnreas1 is presented below.<br />

B:\>fpnreas1<br />

KEEP CAPS LOCK ON<br />

ARE YOU READY (Y/N)? Y<br />

ENTER generic filename without extension KONAR<br />

MAIN MENU:<br />

1- Create / Append static database<br />

2- Create / Append production rules<br />

3- Create / Append default rules<br />

4- Arrange production rules properly<br />

5- Delete clauses from database<br />

6- Delete clauses from pr rule base<br />

7- Delete clauses from def. rule base<br />

0- Terminate<br />

SELECT:<br />

1<br />

C to create, A to append: C<br />

enter predicate <strong>and</strong> arguments<br />

one by one for each clause<br />

if some argument is inapplicable or redundant in the context<br />

enter "END" as predicate to terminate<br />

press any key to continue<br />

Predicate: L<br />

Argument1: S<br />

Argument2: R<br />

Predicate: L<br />

Argument1: S<br />

Argument2: M

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!