24.11.2014 Views

flex Expert System Toolkit - LPIS

flex Expert System Toolkit - LPIS

flex Expert System Toolkit - LPIS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Appendix C - KSL Keyword Glossary 217<br />

repeat<br />

KSL Context<br />

Description<br />

Used with<br />

Example<br />

Formula<br />

Repeat-Until loop.<br />

until, end<br />

repeat ask question<br />

until valid_answer<br />

end repeat<br />

requested<br />

KSL Context<br />

Description<br />

Example<br />

Sentence<br />

Used in the definition of a watchdog to indicate the<br />

slot which it is attached to.<br />

watchdog account_security<br />

when the balance of account is<br />

requested<br />

then check the user`s access > 99 .<br />

resolution<br />

KSL Context<br />

Description<br />

Used with<br />

Example<br />

Sentence<br />

Used in ruleset to select rules using the built-in<br />

conflict resolution algorithm.<br />

select rule using conflict<br />

ruleset stock_take<br />

contains all rules ;<br />

select rule using conflict resolution<br />

with threshold 9 .<br />

rotation<br />

KSL Context<br />

Description<br />

Used with<br />

Example<br />

Sentence<br />

Used in ruleset to start the next rule agenda at the<br />

rule following the selected rule.<br />

update ruleset by cyclic, of rules<br />

ruleset moving_blocks<br />

contains all rules ;<br />

update ruleset by cyclic rotation of<br />

rules .<br />

rule<br />

KSL Context<br />

Description<br />

Example<br />

Sentence<br />

Defines a production rule within the forward<br />

chaining sub-system.<br />

rule prescribe_lomotil<br />

if complains(patient, diarrhoea) and<br />

not suffers(patient,liver_complaints)<br />

and not pregnant(patient)<br />

then prescribe( patient, lomotil ) .<br />

<strong>flex</strong> toolkit<br />

7

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

Saved successfully!

Ooh no, something went wrong!