The Proportional class is a RuleBlock Activation method that activates the rules utilizing activation degrees proportional to the activation degrees of the other rules, thus the sum of the activation degrees is equal to one.
More...
#include <Proportional.h>
The Proportional class is a RuleBlock Activation method that activates the rules utilizing activation degrees proportional to the activation degrees of the other rules, thus the sum of the activation degrees is equal to one.
- Author
- Juan Rada-Vilela, Ph.D.
- See also
- Rule
-
RuleBlock
-
ActivationFactory
- Since
- 6.0
Definition at line 36 of file Proportional.h.
◆ Proportional()
fl::Proportional::Proportional |
( |
| ) |
|
◆ ~Proportional()
virtual fl::Proportional::~Proportional |
( |
| ) |
|
|
virtual |
◆ activate()
virtual void fl::Proportional::activate |
( |
RuleBlock * |
ruleBlock | ) |
|
|
virtual |
Activates the rules utilizing activation degrees proportional to the activation degrees of the other rules in the rule block.
- Parameters
-
ruleBlock | is the rule block to activate. |
Implements fl::Activation.
◆ className()
virtual std::string fl::Proportional::className |
( |
| ) |
const |
|
virtual |
◆ clone()
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::Proportional::configure |
( |
const std::string & |
parameters | ) |
|
|
virtual |
No parameters are required to configure the activation method.
- Parameters
-
parameters | is an empty string |
Implements fl::Activation.
◆ constructor()
static Activation* fl::Proportional::constructor |
( |
| ) |
|
|
static |
◆ parameters()
virtual std::string fl::Proportional::parameters |
( |
| ) |
const |
|
virtual |
No parameters are required to configure the activation method.
- Returns
- an empty string
Implements fl::Activation.
The documentation for this class was generated from the following file: