fuzzylite  6.0
A Fuzzy Logic Control Library in C++
fl::Proportional Class Reference

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>

Inheritance diagram for fl::Proportional:
Collaboration diagram for fl::Proportional:

Public Member Functions

 Proportional ()
 
virtual ~Proportional ()
 
virtual std::string className () const FL_IOVERRIDE
 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 FL_IOVERRIDE
 No parameters are required to configure the activation method. More...
 
virtual void configure (const std::string &parameters) FL_IOVERRIDE
 No parameters are required to configure the activation method. More...
 
virtual Complexity complexity (const RuleBlock *ruleBlock) const FL_IOVERRIDE
 Computes the estimated complexity of activating the given rule block. More...
 
virtual void activate (RuleBlock *ruleBlock) FL_IOVERRIDE
 Activates the rules utilizing activation degrees proportional to the activation degrees of the other rules in the rule block. More...
 
virtual Proportionalclone () const FL_IOVERRIDE
 Clones the activation method. More...
 
- Public Member Functions inherited from fl::Activation
 Activation ()
 
virtual ~Activation ()
 

Static Public Member Functions

static Activationconstructor ()
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ Proportional()

fl::Proportional::Proportional ( )

◆ ~Proportional()

virtual fl::Proportional::~Proportional ( )
virtual

Member Function Documentation

◆ 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
ruleBlockis the rule block to activate.

Implements fl::Activation.

◆ className()

virtual std::string fl::Proportional::className ( ) const
virtual

Returns the name of the activation method, which is also utilized to register the activation method in the ActivationFactory.

Returns
the name of the activation method
See also
ActivationFactory

Implements fl::Activation.

◆ clone()

virtual Proportional* fl::Proportional::clone ( ) const
virtual

Clones the activation method.

Returns
a clone of the activation method

Implements fl::Activation.

◆ complexity()

virtual Complexity fl::Proportional::complexity ( const RuleBlock ruleBlock) const
virtual

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
parametersis 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: