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.

Person3: M<br />

Person4: END<br />

enter T if true, F if false<br />

L(S,S): F<br />

L(S,R): T<br />

L(S,M): T<br />

L(R,S): F<br />

L(R,R): F<br />

L(R,M): F<br />

L(M,S): F<br />

L(M,R): F<br />

L(M,M): F<br />

suspects selected by DRs are:<br />

S<br />

R<br />

M<br />

Enter the name of the conclusion Nodes<br />

Enter "END" to terminate<br />

S<br />

END<br />

A.3 The Fpnreas3 Program<br />

This also is a Pascal program that computes the belief for all predicates<br />

located at the places of the FPN. The belief revision cycles are continued,<br />

until the steady-state is reached, following which there will be no more<br />

changes in beliefs at a place. The program can also construct an FPN from the<br />

rules <strong>and</strong> data supplied in Fpnreas1 program. The program finally determines<br />

the culprit place from many possible suspects <strong>and</strong> gives an explanation for the<br />

selection of the culprit.<br />

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

B:\> fpnreas3<br />

net to display (y / n)? Y<br />

Nodes displayed in the following fashion

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

Saved successfully!

Ooh no, something went wrong!