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

Field Summary
(package private) static long serialVersionUID
           
 
Fields inherited from class infosapient.system.FzySCurve
highInflexionPt, lowInflexionPt, phighInflexionPt, plowInflexionPt, serialVersionUID
 
Fields inherited from class infosapient.system.FzySet
alfaCut, completeMembership, curveSide, domain, hasSolution, hedges, height, leftShouldered, membership, myAttribute, resolvedValue, rightShouldered, serialVersionUID, setType, twoSided, VECMAX
 
Fields inherited from class infosapient.system.FzyClauseComponent
owner, text
 
Fields inherited from class infosapient.system.FzySystemComponent
DEBUG_, myID, name, pcs, serialVersionUID, trace, vcs
 
Fields inherited from class infosapient.system.ObservableImpl
arr, changed, obs, serialVersionUID
 
Constructor Summary
FzyGaussian()
           
FzyGaussian(FzyAttribute fa, double center, double kFactor)
          Constructor for creating a fuzzy set using a gaussian function.
 
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.FzySCurve
getHighInflexionPt, getLowInflexionPt, initializeMembership, setHighInflexionPt, setLowInflexionPt
 
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.FzyClauseComponent
append, append, getOwner, getText, setOwnerClause, setText, toText
 
Methods inherited from class infosapient.system.FzySystemComponent
addPropertyChangeListener, addVetoableChangeListener, equals, getID, getName, getPropertyChangeSupport, getVetoableChangeSupport, hashCode, removePropertyChangeListener, removeVetoableChangeListener, setID, setName
 
Methods inherited from class infosapient.system.ObservableImpl
addObserver, clearChanged, containsObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
, finalize, getClass, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

serialVersionUID

static final long serialVersionUID
Constructor Detail

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 set
double - - 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 -  
Method Detail

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

License to use this program is provided under the TERMS OF THE COMMON PUBLIC LICENSE 0.5. ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.

Copyright (c) 2001, Workplace Performance Tools, All Rights Reserved