Package fuzzy :: Package complement :: Module Base :: Class Base
[hide private]
[frames] | no frames]

Class Base

source code


Base class for all complement methods

Instance Methods [hide private]
 
__init__(self, *args, **keywords)
Initialize the complement instance
source code
float
__call__(self, value)
Calculate the complement of the 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__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, *args, **keywords)
(Constructor)

source code 

Initialize the complement instance

Overrides: object.__init__

__call__(self, value)
(Call operator)

source code 

Calculate the complement of the value.

Parameters:
  • value (float) - the value to complement
Returns: float
the complemented value

__repr__(self)
(Representation operator)

source code 

Return representation of instance.

Returns: string
representation of instance
Overrides: object.__repr__