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

Class Not

source code


Take value of input operator and calculate complement of it.

Instance Methods [hide private]
 
__init__(self, input)
Constructor.
source code
float
__call__(self)
Get input value and return 1.0-value.
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.operator.Operator.Operator input
input which result is to complement.
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, input)
(Constructor)

source code 

Constructor.

Parameters:
Overrides: object.__init__

__call__(self)
(Call operator)

source code 

Get input value and return 1.0-value.

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__