|
- Method resolution order:
- PiFunction
- fuzzy.set.Function.Function
- fuzzy.set.Set.Set
- __builtin__.object
Methods defined here:
- __call__(self, x)
- Return membership of x in this fuzzy set.
This method makes the set work like a function.
@param x: value for which the membership is to calculate
@type x: float
@return: membership
@rtype: float
- __init__(self, a=0.0, delta=1.0)
- Initialize a Pi-shaped fuzzy set.
@param a: center of set
@type a: float
@param delta: absolute distance between x-values for minimum and maximum
@type delta: float
- __repr__(self)
- Return representation of instance.
@return: representation of instance
@rtype: string
- getCOG(self)
- Return center of gravity.
- getValuesX(self)
- Return sequence of x-values so we get a smooth function.
Methods inherited from fuzzy.set.Set.Set:
- getValuesXY(self, flat=True)
- Internal helper function to help convert arbitrary fuzzy sets in
fuzzy sets represented by a polygon.
Data descriptors inherited from fuzzy.set.Set.Set:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|