24.11.2014 Views

flex Expert System Toolkit - LPIS

flex Expert System Toolkit - LPIS

flex Expert System Toolkit - LPIS

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.

Appendix C - KSL Keyword Glossary 216<br />

relation<br />

remember<br />

remove<br />

KSL Context Sentence<br />

Description Define a relationship between objects.<br />

Used with if<br />

Example relation father( Pop, Child )<br />

if parent( Pop, Child )<br />

and male( Pop ) .<br />

KSL Context Formula<br />

Description Record new assertions in either the positive (facts)<br />

or negative (exceptions) database.<br />

Used with that<br />

Example if ...<br />

then remember that danger_level(red)<br />

KSL Context<br />

Description<br />

Used with<br />

Example<br />

Formula<br />

Remove elements from a set.<br />

from<br />

remove cod from the entree of meal<br />

removing<br />

KSL Context<br />

Description<br />

Used with<br />

Example<br />

Sentence<br />

Used in ruleset to remove each selected rule from<br />

the rule agenda.<br />

update ruleset by, each selected rule<br />

ruleset checking_rules<br />

contains all rules ;<br />

update ruleset by removing each<br />

selected rule .<br />

KSL Context Sentence<br />

Description Used in ruleset to update the rule agenda by<br />

removing any rule whose conditions were<br />

unsatisfied.<br />

Used with update<br />

rules<br />

ruleset by, any unsatisfied<br />

Example<br />

ruleset state_checker<br />

contains all rules ;<br />

update ruleset by removing any<br />

unsatisfied rules .<br />

6<br />

<strong>flex</strong> toolkit

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

Saved successfully!

Ooh no, something went wrong!