ABLE 2.0.0 07/02/2003 10:25:01

com.ibm.able.data
Class AbleFuzzySetTrapezoid

java.lang.Object
  |
  +--com.ibm.able.data.AbleLiteral
        |
        +--com.ibm.able.data.AbleFuzzySet
              |
              +--com.ibm.able.data.AbleFuzzySetTrapezoid
All Implemented Interfaces:
AbleRd, java.io.Serializable

public class AbleFuzzySetTrapezoid
extends AbleFuzzySet
implements java.io.Serializable

This class defines the Able data trapezoid fuzzy set. A trapezoid set is a rectangular shaped set, sometimes used in place of bell-shaped sets.

See Also:
Serialized Form

Fields inherited from class com.ibm.able.data.AbleFuzzySet
AlphaCutDefault, AlphaCutStrong, AlphaCutWeak, CorrelationMethodDefault, CorrelationMethodMinimise, CorrelationMethodProduct, DefuzzifyMethodAverageHeight, DefuzzifyMethodCentroid, DefuzzifyMethodDefault, DefuzzifyMethodMaxHeight, FUZZY_ADD, FuzzyInferenceMethodDefault, HedgeAbout, HedgeAbove, HedgeBelow, HedgeCloseTo, HedgeExtremely, HedgeGenerally, HedgeInVicinityOf, HedgeNot, HedgeNull, HedgePositively, HedgeSlightly, HedgeSomewhat, HedgeVery, MaxValues, MIN_MAX, myAlphaCut, myComplementFlag, myComplementName, myDomainHi, myDomainLo, myFlexFactor, myNumberOfValues, myParentVar, myPtBeg, myPtCenter, myPtEnd, myPtFlex, myPtLeft, myPtLeftCore, myPtRight, myPtRightCore, myScalarVecSav, mySetDir, mySetName, mySetType, myTruthVecSav, myTruthVector, myWeight, myWidth, PRODUCT_OR, SetDirectionDown, SetDirectionLeft, SetDirectionRight, SetDirectionUp, SetTypeBeta, SetTypeGaussian, SetTypeLinear, SetTypePi, SetTypeSegments, SetTypeShoulder, SetTypeSigmoid, SetTypeTrapezoid, SetTypeTriangle, SetTypeWork
 
Constructor Summary
AbleFuzzySetTrapezoid(AbleFuzzyVariable theParentVar, java.lang.String theName, double theAlphaCut, double thePtLeft, double thePtLeftCore, double thePtRightCore, double thePtRight)
          Create a new fuzzy set.
 
Method Summary
 java.lang.String arlString()
          Return a formal rule language string representation of this fuzzy set.
 java.lang.String toString()
          Retrieve a string describing (the contents of) the object.
 java.lang.String xmlString()
          Return a formal XML string representation of this fuzzy set.
 
Methods inherited from class com.ibm.able.data.AbleFuzzySet
arlCRdString, Copyright, CorrelationMethod, CorrelationMethodRl, CorrelationMethodXml, DefuzzifyMethod, DefuzzifyMethodRl, DefuzzifyMethodXml, FuzzyInferenceMethod, FuzzyInferenceMethodRl, FuzzyInferenceMethodXml, getAlphaCut, getBooleanValue, getDataType, getDataTypeClass, getDataTypeClassName, getDomainHi, getDomainLo, getFlexFactor, getFuzzyValue, getGenericValue, getNumberOfValues, getNumericValue, getPtBeg, getPtCenter, getPtEnd, getPtFlex, getPtLeft, getPtLeftCore, getPtRight, getPtRightCore, getReferent, getScalarVector, getSetDir, getSetName, getSetProperties, getSetType, getStringValue, getTruthValues, getTruthVector, getValue, getWeight, getWidth, Hedge, HedgeRl, HedgeXml, setAlphaCut, SetDirection, SetDirectionRl, SetDirectionXml, SetType, SetTypeRl, SetTypeXml, traceString, xmlCRdString
 
Methods inherited from class com.ibm.able.data.AbleLiteral
bitwiseAND, bitwiseNOT, bitwiseOR, bitwiseShiftLeft, bitwiseShiftRight, bitwiseShiftRightZeroFill, bitwiseXOR, cmpEq, cmpGt, cmpGtEq, cmpIs, cmpLt, cmpLtEq, cmpNeq, compDivide, compMinus, compModulo, compMultiply, compPlus, compUnaryMinus, getDataTypeAsString, getReferents, getTemplateString, isConstant, logicalAND, logicalNOT, logicalOR
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbleFuzzySetTrapezoid

public AbleFuzzySetTrapezoid(AbleFuzzyVariable theParentVar,
                             java.lang.String theName,
                             double theAlphaCut,
                             double thePtLeft,
                             double thePtLeftCore,
                             double thePtRightCore,
                             double thePtRight)
Create a new fuzzy set.
Parameters:
theParentVar - A reference to the fuzzy variable that contains this fuzzy set.

theSetName - The name of this fuzzy set.

theAlphaCut - The low cut-off value for this fuzzy set.

thePtLeft - The lower left corner.

thePtLeftCore - The upper left corner.

thePtRightCore - The upper right corner.

thePtRight - The lower right corner.

Method Detail

arlString

public java.lang.String arlString()
Return a formal rule language string representation of this fuzzy set.
Returns:
A String describing the object in rule language.

xmlString

public java.lang.String xmlString()
Return a formal XML string representation of this fuzzy set.
Returns:
A String describing the object in XML.

toString

public java.lang.String toString()
Retrieve a string describing (the contents of) the object.
Overrides:
toString in class AbleFuzzySet
Returns:
A String containing the current contents of the object.


ABLE 2.0.0 07/02/2003 10:25:01

(C) Copyright IBM Corporation 1999, 2003