The Activation class is the abstract class for RuleBlock activation methods. More...
#include <Activation.h>
Public Member Functions | |
Activation () | |
virtual | ~Activation () |
virtual std::string | className () const =0 |
Returns the name of the activation method, which is also utilized to register the activation method in the ActivationFactory. More... | |
virtual std::string | parameters () const =0 |
Returns the parameters of the activation method, which can be used to configure other instances of the activation method. More... | |
virtual void | configure (const std::string ¶meters)=0 |
Configures the activation method with the given parameters. More... | |
virtual Complexity | complexity (const RuleBlock *ruleBlock) const =0 |
Computes the estimated complexity of activating the given rule block. More... | |
virtual void | activate (RuleBlock *ruleBlock)=0 |
Activates the rule block. More... | |
virtual Activation * | clone () const =0 |
Clones the activation method. More... | |
The Activation class is the abstract class for RuleBlock activation methods.
An activation method implements the criteria to activate the rules within a given rule block. An activation method needs to process every rule and determine whether the rule is to be activated or deactivated. The activation methods were first introduced in version 6.0, but in earlier versions the term activation
referred to the TNorm that modulated the consequent of a rule, which is now referred to as the implication
operator.
Definition at line 44 of file Activation.h.
|
inline |
Definition at line 47 of file Activation.h.
|
inlinevirtual |
Definition at line 49 of file Activation.h.
References FL_DEFAULT_COPY_AND_MOVE.
|
pure virtual |
Activates the rule block.
ruleBlock | is the rule block to activate |
Implemented in fl::Threshold, fl::Last, fl::First, fl::Lowest, fl::Highest, fl::General, and fl::Proportional.
|
pure virtual |
Returns the name of the activation method, which is also utilized to register the activation method in the ActivationFactory.
Implemented in fl::Threshold, fl::Last, fl::First, fl::Highest, fl::Lowest, fl::General, and fl::Proportional.
|
pure virtual |
Clones the activation method.
Implemented in fl::Threshold, fl::Last, fl::First, fl::Lowest, fl::Highest, fl::General, and fl::Proportional.
|
pure virtual |
Computes the estimated complexity of activating the given rule block.
Implemented in fl::Threshold, fl::Last, fl::First, fl::Lowest, fl::Highest, fl::General, and fl::Proportional.
|
pure virtual |
Configures the activation method with the given parameters.
parameters | contains a list of space-separated parameter values |
Implemented in fl::Threshold, fl::Last, fl::First, fl::Highest, fl::Lowest, fl::General, and fl::Proportional.
|
pure virtual |
Returns the parameters of the activation method, which can be used to configure other instances of the activation method.
Implemented in fl::Threshold, fl::Last, fl::First, fl::Highest, fl::Lowest, fl::General, and fl::Proportional.