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

Class Parametric

source code


Abstract base class for any parametric fuzzy complement

Instance Methods [hide private]
 
__init__(self, p, *args, **keywords)
Initialize type and parameter
source code
 
_checkParam(self, value)
check parameter if allowed for parameter p
source code
string
__repr__(self)
Return representation of instance.
source code

Inherited from Base.Base: __call__

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

Class Variables [hide private]
  _range = None
Instance Variables [hide private]
float p
parameter for complement
Properties [hide private]
  p_range
range(s) of valid values for p

Inherited from object: __class__

Method Details [hide private]

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

source code 

Initialize type and parameter

Parameters:
  • p (float) - parameter for complement
Overrides: object.__init__

_checkParam(self, value)

source code 

check parameter if allowed for parameter p

Parameters:
  • value (float) - the value to be checked

__repr__(self)
(Representation operator)

source code 

Return representation of instance.

Returns: string
representation of instance
Overrides: object.__repr__

Instance Variable Details [hide private]

p

parameter for complement
Get Method:
unreachable.fget(self)
Set Method:
unreachable.fset(self, value)
Type:
float

Property Details [hide private]

p_range

range(s) of valid values for p

Get Method:
unreachable.fget(self)