Package fuzz :: Module fnumber :: Class TriangularFuzzyNumber
[hide private]
[frames] | no frames]

Class TriangularFuzzyNumber

source code

        object --+        
                 |        
       FuzzyNumber --+    
                     |    
TrapezoidalFuzzyNumber --+
                         |
                        TriangularFuzzyNumber

Triangular fuzzy number class (special case of trapezoidal fuzzy number).

Instance Methods [hide private]
 
__init__(self, kernel=0.0, support=(0.0, 0.0))
Constructor.
source code

Inherited from TrapezoidalFuzzyNumber: __add__, __sub__, alpha, mu, to_polygonal

Inherited from FuzzyNumber: __and__, __iand__, __ior__, __or__, __repr__, __str__, intersection, normalize, union

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Static Methods [hide private]

Inherited from FuzzyNumber (private): _binary_sanity_check

Class Variables [hide private]

Inherited from FuzzyNumber: height, kernel, support

Properties [hide private]

Inherited from TrapezoidalFuzzyNumber: triangular

Inherited from object: __class__

Method Details [hide private]

__init__(self, kernel=0.0, support=(0.0, 0.0))
(Constructor)

source code 

Constructor.

Parameters:
  • kernel (float) - The kernel value of the fuzzy number.
  • support (tuple) - The support of the fuzzy number.
Overrides: object.__init__