The Lowest class is a RuleBlock Activation method that activates a given number of rules with lowest activation degrees in ascending order.
More...
#include <Lowest.h>
The Lowest class is a RuleBlock Activation method that activates a given number of rules with lowest activation degrees in ascending order.
- Author
- Juan Rada-Vilela, Ph.D.
- See also
- Highest
-
Rule
-
RuleBlock
-
ActivationFactory
- Since
- 6.0
Definition at line 37 of file Lowest.h.
◆ Lowest()
fl::Lowest::Lowest |
( |
int |
numberOfRules = 1 | ) |
|
|
explicit |
◆ ~Lowest()
virtual fl::Lowest::~Lowest |
( |
| ) |
|
|
virtual |
◆ activate()
virtual void fl::Lowest::activate |
( |
RuleBlock * |
ruleBlock | ) |
|
|
virtual |
Activates the rules with the lowest activation degrees in the given rule block.
- Parameters
-
ruleBlock | is the rule block to activate |
Implements fl::Activation.
◆ className()
virtual std::string fl::Lowest::className |
( |
| ) |
const |
|
virtual |
◆ clone()
virtual Lowest* fl::Lowest::clone |
( |
| ) |
const |
|
virtual |
Clones the activation method.
- Returns
- a clone of the activation method
Implements fl::Activation.
◆ complexity()
Computes the estimated complexity of activating the given rule block.
- Returns
- the estimated complexity of activating the given rule block
Implements fl::Activation.
◆ configure()
virtual void fl::Lowest::configure |
( |
const std::string & |
parameters | ) |
|
|
virtual |
Configures the activation method with the number of rules to activate.
- Parameters
-
parameters | contains the number of rules to activate |
Implements fl::Activation.
◆ constructor()
◆ getNumberOfRules()
virtual int fl::Lowest::getNumberOfRules |
( |
| ) |
const |
|
virtual |
Returns the number of rules to activate.
- Returns
- the number of rules to activate
◆ parameters()
virtual std::string fl::Lowest::parameters |
( |
| ) |
const |
|
virtual |
Returns the number of rules to activate.
- Returns
- number of rules to activate
Implements fl::Activation.
◆ setNumberOfRules()
virtual void fl::Lowest::setNumberOfRules |
( |
int |
numberOfRules | ) |
|
|
virtual |
Sets the number of rules to activate.
- Parameters
-
numberOfRules | is the number of rules to activate |
The documentation for this class was generated from the following file: