Understanding justification plug-ins
Justification plug-ins are used to introduce custom behaviour into the conclusion and justification process. They enable you to justify a conclusion based on the properties of one or two concepts in the situation graph. Using a justification plug-in, it is possible to make complex comparisons, which might be domain specific. For example, you might want to check whether a concept literal is an IP address.
Justification plug-ins are used within the Conclusion & Justification screen of the Behaviour Authoring Environment. The options for selecting a justification only appear in the context menu when you have previously selected one or two concepts from the situation graph. When selecting two concepts, the order of selection is important. In the remainder of this section these are referred to as concept one and concept two. Justification plug-ins can apply to one or two concepts and the concepts' type, literal or both.
| Note Justification plug-ins were known as relation plug-ins in previous versions of the Erudine Behaviour Engine. |
The Erudine Behaviour Engine contains a number of standard justification plug-ins that are ready to use with any knowledge model. The following table lists all the justification plug-ins that are shipped with the Erudine Behaviour Engine.
| Plug-in context | Plug-in name | Applies to | Description |
| Type and Literal Equals |
Full Concept Equality | Two concepts, type and literal | Checks that the concepts' types and literals are both equal, using string equality. |
| Type and Literal Does Not Equal | Full Concept Equality | Two concepts, type and literal | Checks that the concepts' types and literals are not both equal, using string equality. |
| Type Equals | Concept Type Equality | Two concepts, type | Checks that the concepts' types are equal using string equality. |
| Type Does Not Equal | Concept Type Equality | Two concepts, type | Checks that the concepts' types are not equal, using string equality. |
| Is Contained As A Substring | Contains | Two concepts, literal | Checks that concept one's literal is a substring of concept two's literal. |
| Contains As A Substring | Contains | Two concepts, literal | Checks that concept two's literal is a substring of concept one's literal. |
| Is Not Contained As A Substring | Contains | Two concepts, literal | Checks that concept one's literal is not a substring of concept two's literal. |
| Does Not Contain As A Substring | Contains | Two concepts, literal | Checks that concept two's literal is not a substring of concept one's literal. |
| Is Blank | Is Blank | One concept, literal | Checks that the concept's literal is blank. |
| Is Not Blank | Is Blank | One concept, literal | Checks that the concept's literal is not blank. |
| Literal Equals | Literal Equality | Two concepts, literal | Checks that the concepts' literals are equal using string equality. |
| Literal Does Not Equal | Literal Equality |
Two concepts, literal | Checks that the concepts' literals are not equal using string equality. |
| Numerically Equals | Numeric Equality | Two concepts, literal | Checks that the concept's literals are numerically equal. |
| Does Not Numerically Equal | Numeric Equality | Two concepts, literal | Checks that the concept's literals are not numerically equal. |
| Is Greater Than | Numeric Comparison | Two concepts, literal | Checks that concept one's literal is greater than concept two's literal. |
| Is Less Than | Numeric Comparison | Two concepts, literal | Checks that concept one's literal is less than concept two's literal. |
| Is Less Than Or Equals | Numeric Comparison | Two concepts, literal | Checks that concept one's literal is not greater than concept two's literal. |
| Is Greater Than Or Equals | Numeric Comparison | Two concepts, literal | Checks that concept one's literal is not less than concept two's literal. |
| Is A Regular Expression Which Matches The Text | Regular Expression | Two concepts, literal | Checks that the Java syntax for a regular expression contained within concept one's literal matches concept two's literal. |
| Is Matched By Regular Expression | Regular Expression | Two concepts, literal | Checks that concept one's literal is matched by the Java syntax for a regular expression contained within concept two's literal. |
| Is A Regular Expression Which Does Not Match The Text | Regular Expression | Two concepts, literal | Checks that the Java syntax for a regular expression contained within concept one's literal does not match concept two's literal. |
| Is Not Matched By Regular Expression | Regular Expression | Two concepts, literal | Checks that concept one's literal is not matched by the Java syntax for a regular expression contained within concept two's literal. |
Platform: all
EBE Version: 2.4
Category: Development Reference Guide
Author: Patrick Peisker