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 B - Formal Definition of KSL 190<br />

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

template_form .<br />

template_form --><br />

sequence_separator( sequence( token ), ['^'] ) .<br />

KSL Formulae<br />

Condition<br />

The formulae of KSL are used to establish relationships between the objects<br />

of KSL. This falls into two distinct areas; conditions which test whether or<br />

not something is currently true, and directives which change the current<br />

state to some new state.<br />

condition --><br />

['['],<br />

disjunction( condition ),<br />

[']'] .<br />

condition --><br />

[not],<br />

condition .<br />

condition --><br />

control_statement .<br />

condition --><br />

procedure .<br />

condition --><br />

variable( frame/instance ),<br />

ako,<br />

name( frame ),<br />

optional( conjunction( slot_test ) ) .<br />

ako --><br />

[is,an,instance,of] |<br />

[is,a,kind,of] |<br />

[is,an] |<br />

[is,a] .<br />

slot_test --><br />

[whose],<br />

name( attribute ),<br />

comparison .<br />

condition --><br />

expression,<br />

comparison .

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

Saved successfully!

Ooh no, something went wrong!