fuzzy.norm.HamacherIntersection
index
/fuzzy/norm/HamacherIntersection.py @ Get pyfuzzy at SourceForge.net. Fast, secure and Free Open Source software downloads

# -*- coding: utf-8 -*-
#
# Copyright (C) 2009  Rene Liebscher
#
# This program is free software; you can redistribute it and/or modify it under
# the terms of the GNU Lesser General Public License as published by the Free 
# Software Foundation; either version 3 of the License, or (at your option) any
# later version.
#
# This program is distributed in the hope that it will be useful, but WITHOUT 
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
# details.

# You should have received a copy of the GNU Lesser General Public License
# along with this program; if not, see <http://www.gnu.org/licenses/>. 
#

 
Classes
       
fuzzy.norm.ParametricNorm.ParametricNorm(fuzzy.norm.Norm.Norm)
HamacherIntersection

 
class HamacherIntersection(fuzzy.norm.ParametricNorm.ParametricNorm)
    Hamacher 1978
 
 
Method resolution order:
HamacherIntersection
fuzzy.norm.ParametricNorm.ParametricNorm
fuzzy.norm.Norm.Norm
__builtin__.object

Methods defined here:
__call__(self, *args)
__init__(self, param=1.0)

Methods inherited from fuzzy.norm.ParametricNorm.ParametricNorm:
__repr__(self)
Return representation of instance.
        
@return: representation of instance
@rtype: string

Data descriptors inherited from fuzzy.norm.ParametricNorm.ParametricNorm:
p
x
@type: float
p_range
range(s) of valid values for p

Methods inherited from fuzzy.norm.Norm.Norm:
checkArgs2(self, args)
Checks args to be 2 float values.
 
@param args: list of arguments
@type args: list of float?
@return: first two args as float values
@rtype: (float,float)
checkArgsN(self, args)
Checks args to be at least 2 float values.
 
@param args: list of arguments
@type args: list of float?
@return: arguments as float values
@rtype: list of float
getType(self)
Return type of norm:
0 = not defined or not classified
1 = t-norm ( = Norm.T_NORM)
2 = s-norm ( = Norm.S_NORM)

Data descriptors inherited from fuzzy.norm.Norm.Norm:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes inherited from fuzzy.norm.Norm.Norm:
S_NORM = 2
T_NORM = 1
UNKNOWN = 0

 
Data
        __revision__ = '$Id: HamacherIntersection.py,v 1.8 2009-10-27 20:06:27 rliebscher Exp $'
inf_p = inf