Reference &  User Manual 
  Release Level 7.0 Release Date 2016 12 Revision Level beta  
Last modified on:   Monday, 15-Aug-16 16:37 CEST

Rules: first order production rules
XPS: Backward Chaining Rules

Backward Chaining Rules define how values for DESCRIPTORs are derived from values of other DESCRIPTORs, user inputs, simulation model results or other information available (data bases, GIS, etc.).

Rule Syntax

    RULE <rule#>
    IF   <condition>
    THEN <action>
    <condition> := <condition <logical operator> <condition>
                := descriptor <comparative operator> <operand>
                := descriptor <singular operator>
                := TRUE
    <action>    := descriptor = <operand>
                := descriptor <meta operator> <constant>
    <operand>   := <operand> <arithmetic operator> <operand>
                := descriptor
                := <constant>
    <logical operator>     := AND | OR
    <comparative operator> :=  < | > | <= | >= | == | !=
    <singular operator>    := EXISTS | NOT_EXISTS
    <arithmetic operator>  := [ | ] | * | / | + | - 
    <meta operator>        := INCREASES_BY | DECREASES_BY
                           := BECOMES
    <constant>  := string
                := number    
Rules can result in the absolute assignment of DESCRIPTOR values, their relative, incremental modification, or they can be used to control the inference strategy depending on context. Rules can also include simple formulas; more complex functions can be used through the generic model interface.
       RULE 1020231
       IF      average_reservoir_depth  == small
       AND     retention_time            < 30
       THEN    reservoir_stratification  = unlikely

Also, the user can call up a knowledge base browser, that allows to navigate in the tree structure of the knowledge base within the context of individual problems. The browser can descend the inference tree, displaying sets of rules referring to a list of DESCRIPTORs and allow to inspect individual DESCRIPTOR definitions. The possibility to integrate models in place of rules in an expert system and at the same time use embedded rule-based components in models provides a very rich repertoire of building blocks for interactive software systems.

© Copyright 1995-2018 by:   ESS   Environmental Software and Services GmbH AUSTRIA | print page