infosapient.system
Class FzyGaussian
java.lang.Object
|
+--infosapient.system.ObservableImpl
|
+--infosapient.system.FzySystemComponent
|
+--infosapient.system.FzyClauseComponent
|
+--infosapient.system.FzySet
|
+--infosapient.system.FzySCurve
|
+--infosapient.system.FzyGaussian
- public class FzyGaussian
- extends FzySCurve
Class FzyGaussian builds a fuzzy set surface based on the classic Gaussian
function rather than a sigmoidal function.
f(x) = e^(-K(cp - x)^2)
where K = width factor
cp = central point of the curve
Slope of membership of this function goes to zero very quickly.
To be useful, values of k should range from .9 to 5.0.
- Version:
- $Revision: 1.1.1.1 $
- See Also:
- Serialized Form
Fields inherited from class infosapient.system.FzySet |
alfaCut,
completeMembership,
curveSide,
domain,
hasSolution,
hedges,
height,
leftShouldered,
membership,
myAttribute,
resolvedValue,
rightShouldered,
serialVersionUID,
setType,
twoSided,
VECMAX |
Method Summary |
java.lang.Object |
clone()
Method for Cloneable interface -- provides a deep copy of the current
set, EXCEPT the hedges. |
void |
save(int ntabs)
|
java.lang.String |
toString()
Used to provide a text description of this fuzzy set. |
java.lang.String |
typeAsString()
|
Methods inherited from class infosapient.system.FzySet |
addHedge,
doesContain,
domainForMembership,
dump,
dumpAsStringBuffer,
getAlphaCut,
getAttribute,
getCmpMembership,
getDOM,
getDomain,
getDomainArray,
getHedges,
getHighDomain,
getIndexForDomain,
getLowDomain,
getMaxHeight,
getMemberArray,
getMembership,
getMinHeight,
getQualifiedName,
getSides,
getSolution,
getSolutionDOM,
getVECMAX,
hasSolution,
initializeDomain,
integrateMbr,
integrateMbr,
isLeftShouldered,
isNormal,
isRightShouldered,
isTwoSided,
lessThanOrEquals,
printOn,
reset,
setAttribute,
setCmpMembership,
setDomain,
setDomainArray,
setHedges,
setHighDomain,
setLeftShouldered,
setLowDomain,
setMembership,
setMembershipArray,
setRightShouldered,
setSolution,
setTwoSided,
sumDomain,
toXML,
validate,
validate |
Methods inherited from class infosapient.system.FzySystemComponent |
addPropertyChangeListener,
addVetoableChangeListener,
equals,
getID,
getName,
getPropertyChangeSupport,
getVetoableChangeSupport,
hashCode,
removePropertyChangeListener,
removeVetoableChangeListener,
setID,
setName |
Methods inherited from class java.lang.Object |
,
finalize,
getClass,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
serialVersionUID
static final long serialVersionUID
FzyGaussian
public FzyGaussian()
FzyGaussian
public FzyGaussian(FzyAttribute fa,
double center,
double kFactor)
throws FzySystemException
- Constructor for creating a fuzzy set using a gaussian function.
NOTE: You cannot create a shouldered set using a gaussian function. Nor can you specify the low and high domain as these are calculated.
- Parameters:
FzyAttribute
- - the owning attribute for this setdouble
- - center (the center of the set (aka 100% membership))kfactor
- - the width factor to be used in the construction. Useful values should range from .9 to 5.0.
Cannot be <= zero.- Throws:
- FzySystemException -
clone
public java.lang.Object clone()
- Method for Cloneable interface -- provides a deep copy of the current
set, EXCEPT the hedges.
- Overrides:
- clone in class FzySCurve
- Returns:
- Object the new FzyGaussian cloned.
save
public void save(int ntabs)
toString
public java.lang.String toString()
- Used to provide a text description of this fuzzy set.
- Overrides:
- toString in class FzySCurve
typeAsString
public java.lang.String typeAsString()
- Overrides:
- typeAsString in class FzySCurve
Copyright (c) 2001, Workplace Performance Tools, All Rights Reserved