|
- Method resolution order:
- Singleton
- fuzzy.set.Polygon.Polygon
- fuzzy.set.Set.Set
- __builtin__.object
Methods defined here:
- __call__(self, x)
- Get membership of value x.
- __init__(self, x=0.0)
- __repr__(self)
- Return representation of instance.
@return: representation of instance
@rtype: string
- add(self, x, y, where=1)
- Don't let anyone destroy our singleton.
- clear(self)
- Don't let anyone destroy our singleton.
- getCOG(self)
- Return center of gravity.
- remove(self, x, where=1)
- Don't let anyone destroy our singleton.
Data descriptors defined here:
- x
- x
@type: float
Methods inherited from fuzzy.set.Polygon.Polygon:
- getValuesX(self)
- Return sequence of x-values for set.
- getValuesXY(self, flat=True)
- Return sequence of (x,y)-values for set.
In case of vertical slopes, y is a tuple of y-values for flat = False.
Otherwise several (x,y)-values will be generated having identical x-values.
Data descriptors inherited from fuzzy.set.Polygon.Polygon:
- points
- points of the polygon.
@type: list of 2-tuple (x,y)
Data and other attributes inherited from fuzzy.set.Polygon.Polygon:
- BEGIN = 0
- END = 1
- X = 0
- Y = 1
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)
|