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

add<br />

all<br />

always<br />

KSL Context Formula<br />

Description Arithmetic addition.<br />

Used with to<br />

Example if ...<br />

then add 1 to running_total<br />

KSL Context<br />

Description<br />

Object<br />

Universal quantifier over groups (refers to all the<br />

members of a group) and frames (refers to all<br />

instances or sub-classes of a frame).<br />

Example if the colour of the flag includes<br />

all colours then ...<br />

KSL Context<br />

Description<br />

Used with<br />

Example<br />

Sentence<br />

Indicates an unconditional forward chaining rule.<br />

do<br />

rule catchall<br />

always do write('No more rules!') .<br />

and<br />

KSL Context<br />

Description<br />

Formula<br />

Joins together conditions in the IF part of a rule, or<br />

directives in the THEN part of a rule.<br />

Example if the door is open<br />

and the time_of_day is evening<br />

then shut_the_door<br />

and lock_the_door<br />

KSL Context Object<br />

Description Enumerates the individuals in a set.<br />

Used with { }<br />

Example if the staff include { john and mary<br />

}<br />

then ...<br />

another<br />

see new.<br />

<strong>flex</strong> toolkit

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

Saved successfully!

Ooh no, something went wrong!