net.sourceforge.jFuzzyLogic.membership
Class MembershipFunctionSigmoidal
java.lang.Object
net.sourceforge.jFuzzyLogic.membership.MembershipFunction
net.sourceforge.jFuzzyLogic.membership.MembershipFunctionContinuous
net.sourceforge.jFuzzyLogic.membership.MembershipFunctionSigmoidal
public class MembershipFunctionSigmoidal
- extends MembershipFunctionContinuous
Sigmoidal membership function
- Author:
- pcingola@users.sourceforge.net
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MembershipFunctionSigmoidal
public MembershipFunctionSigmoidal(double gain,
double t0)
- Constructor
- Parameters:
gain
- : Meant0
- : Standardt deviation
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