|
| Consequent () |
|
virtual | ~Consequent () |
|
virtual void | setText (const std::string &text) |
| Sets the text of the consequent. More...
|
|
virtual std::string | getText () const |
| Gets the text of the consequent. More...
|
|
virtual Complexity | complexity (const TNorm *implication) const |
| Computes the estimated complexity of modifying the consequents. More...
|
|
virtual const std::vector< Proposition * > & | conclusions () const |
| Returns an immutable vector of the propositions that represent the Consequent of a Rule. More...
|
|
virtual std::vector< Proposition * > & | conclusions () |
| Returns the vector of propositions that represent the Consequent of a Rule. More...
|
|
virtual bool | isLoaded () |
| Indicates whether the consequent is loaded. More...
|
|
virtual void | unload () |
| Unloads the consequent. More...
|
|
virtual void | load (const Engine *engine) |
| Loads the consequent with text given from Consequent::getText() and uses the engine to identify and retrieve references to the input variables and output variables as required. More...
|
|
virtual void | load (const std::string &consequent, const Engine *engine) |
| Loads the consequent with the given text and uses the engine to identify and retrieve references to the input variables and output variables as required. More...
|
|
virtual void | modify (scalar activationDegree, const TNorm *implication) |
| Modifies the proposition set according to the activation degree (computed in the Antecedent of the Rule) and the implication operator (given in the RuleBlock) More...
|
|
virtual std::string | toString () const |
| Returns a string representation of the Consequent. More...
|
|
The Consequent class is a proposition set that represents and evaluates the consequent of a Rule.
. The structure of a rule is: if (antecedent) then (consequent)
. The structure of the consequent of a rule is:
then variable is [hedge]* term [and variable is [hedge]* term]* [with w]?
where *
-marked elements may appear zero or more times, elements in brackets are optional, elements in parentheses are compulsory, and ?
-marked elements may appear once or not at all.
- Author
- Juan Rada-Vilela, Ph.D.
- See also
- Antecedent
-
Rule
- Since
- 4.0
Definition at line 51 of file Consequent.h.