net.sourceforge.jFuzzyLogic.membership
Class MembershipFunctionGenBell
java.lang.Object
net.sourceforge.jFuzzyLogic.membership.MembershipFunction
net.sourceforge.jFuzzyLogic.membership.MembershipFunctionContinuous
net.sourceforge.jFuzzyLogic.membership.MembershipFunctionGenBell
public class MembershipFunctionGenBell
- extends MembershipFunctionContinuous
Generalized bell membership function
- Author:
- pcingola@users.sourceforge.net
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MembershipFunctionGenBell
public MembershipFunctionGenBell(double a,
double b,
double mean)
- Constructor
- Parameters:
a
- : 'a' paramb
- : 'b' parammean
- : Mean
checkParamters
public boolean checkParamters(java.lang.StringBuffer errors)
- Specified by:
checkParamters
in class MembershipFunction
estimateUniverse
public void estimateUniverse()
- Description copied from class:
MembershipFunction
- Try to guess the universe (if not setted)
- Specified by:
estimateUniverse
in class MembershipFunction
membership
public double membership(double in)
- Description copied from class:
MembershipFunction
- Get membership function's value.
- Specified by:
membership
in class MembershipFunction
- Parameters:
in
- : Variable's 'x' value
Note: Output mu be in range [0,1]- See Also:
MembershipFunction.membership(double)
toString
public java.lang.String toString()
- Overrides:
toString
in class MembershipFunction
- See Also:
Object.toString()
toStringFCL
public java.lang.String toStringFCL()
- FCL representation
- Specified by:
toStringFCL
in class MembershipFunction