Package fuzzy :: Package operator :: Module Input :: Class Input
[hide private]
[frames] | no frames]

Class Input

source code


Special operator which gets it value from a fuzzy adjective.

Instance Methods [hide private]
 
__init__(self, adjective)
Constructor.
source code
float
__call__(self)
return membership of given adjective.
source code
string
__repr__(self)
Return representation of instance.
source code

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

Instance Variables [hide private]
fuzzy.Adjective.Adjective adjective
from which adjective get the membership value.
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, adjective)
(Constructor)

source code 

Constructor.

Parameters:
Overrides: object.__init__

__call__(self)
(Call operator)

source code 

return membership of given adjective.

Returns: float
result of operator calculation
Raises:
Overrides: Operator.Operator.__call__

__repr__(self)
(Representation operator)

source code 

Return representation of instance.

Returns: string
representation of instance
Overrides: object.__repr__