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

com.ibm.able.data
Class AbleFuzzySetLinear

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

public class AbleFuzzySetLinear
extends AbleFuzzySet
implements java.io.Serializable

This class defines the Able data linear fuzzy set. A linear fuzzy set is a straight-line set. The slope can be increasing, decreasing, or zero.

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
AbleFuzzySetLinear(AbleFuzzyVariable theParentVar, java.lang.String theSetName, double theAlphaCut, double thePtBeg, double thePtEnd, int theSetDirection)
          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

AbleFuzzySetLinear

public AbleFuzzySetLinear(AbleFuzzyVariable theParentVar,
                          java.lang.String theSetName,
                          double theAlphaCut,
                          double thePtBeg,
                          double thePtEnd,
                          int theSetDirection)
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.

thePtBeg - The start point of the line.

thePtEnd - The end point of the line.

theSetDirection - A SetDirection constant, either Up for an increasing slope, or Down for a decreasing slope.

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