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

The General class is a RuleBlock Activation method that activates every rule following the order in which the rules were added to the rule block. More...

#include <General.h>

Inheritance diagram for fl::General:
Collaboration diagram for fl::General:

Public Member Functions

 General ()
 
virtual ~General ()
 
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 every rule in the given rule block following the order in which the rules were added. More...
 
virtual Generalclone () 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 General class is a RuleBlock Activation method that activates every rule following the order in which the rules were added to the rule block.

Author
Juan Rada-Vilela, Ph.D.
See also
Rule
RuleBlock
ActivationFactory
Since
6.0

Definition at line 37 of file General.h.

Constructor & Destructor Documentation

◆ General()

fl::General::General ( )

◆ ~General()

virtual fl::General::~General ( )
virtual

Member Function Documentation

◆ activate()

virtual void fl::General::activate ( RuleBlock ruleBlock)
virtual

Activates every rule in the given rule block following the order in which the rules were added.

Parameters
ruleBlockis the rule block to activate

Implements fl::Activation.

◆ className()

virtual std::string fl::General::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 General* fl::General::clone ( ) const
virtual

Clones the activation method.

Returns
a clone of the activation method

Implements fl::Activation.

◆ complexity()

virtual Complexity fl::General::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::General::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::General::constructor ( )
static

◆ parameters()

virtual std::string fl::General::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: