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 208<br />

do<br />

see also include and while<br />

KSL Context Sentence<br />

Description Prefix to a directive.<br />

Used with action<br />

Example action jug_update ;<br />

do the contents of the jug := 7.5 and<br />

the position of the jug := upright .<br />

KSL Context<br />

Description<br />

Example<br />

Formula<br />

An optional prefix to a directive.<br />

if ... then do danger_level is red<br />

does<br />

see include.<br />

doing<br />

KSL Context<br />

Description<br />

Used with<br />

Example<br />

Sentence<br />

Used in ruleset to define a set of actions to be<br />

performed prior to forward chaining.<br />

initiate by<br />

ruleset start<br />

contains all rules ;<br />

initiate by doing restart .<br />

each<br />

KSL Context Sentence<br />

Description Used in ruleset to remove, promote or demote each<br />

selected rule from the rule agenda.<br />

Used with update ruleset by [removing,<br />

promoting, demoting], selected rule<br />

Example<br />

ruleset spelling_checker<br />

contains all rules ;<br />

update ruleset by demoting each<br />

selected rule .<br />

else<br />

KSL Context Object<br />

Description Indicates the alternative object within an IF-THEN-<br />

ELSE construct.<br />

Used with if, then<br />

Example the result is if parameter > 0 then 1<br />

else 0<br />

empty<br />

see nothing / nobody.<br />

<strong>flex</strong> toolkit

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

Saved successfully!

Ooh no, something went wrong!