fuzzylite  6.0
A Fuzzy Logic Control Library in C++
fl::Expression Class Referenceabstract

The Expression class is the base class to build an expression tree. More...

#include <Expression.h>

Inheritance diagram for fl::Expression:
Collaboration diagram for fl::Expression:

Public Types

enum  Type { Proposition, Operator }
 

Public Member Functions

 Expression ()
 
virtual ~Expression ()
 
virtual Type type () const =0
 Returns the type of the expression. More...
 
virtual std::string toString () const =0
 

Detailed Description

The Expression class is the base class to build an expression tree.

Author
Juan Rada-Vilela, Ph.D.
See also
Antecedent
Consequent
Rule
Since
4.0

Definition at line 41 of file Expression.h.

Member Enumeration Documentation

◆ Type

Enumerator
Proposition 
Operator 

Definition at line 44 of file Expression.h.

Constructor & Destructor Documentation

◆ Expression()

fl::Expression::Expression ( )

◆ ~Expression()

virtual fl::Expression::~Expression ( )
virtual

Member Function Documentation

◆ toString()

virtual std::string fl::Expression::toString ( ) const
pure virtual

Implemented in fl::FL_IFINAL, and fl::FL_IFINAL.

◆ type()

virtual Type fl::Expression::type ( ) const
pure virtual

Returns the type of the expression.

Returns
the type of the expression

Implemented in fl::FL_IFINAL, and fl::FL_IFINAL.


The documentation for this class was generated from the following file: