ABLE, Version 1.1b

com.ibm.able.beans.fuzzy
Interface FsRd

All Known Implementing Classes:
com.ibm.able.beans.fuzzy.FsLhs, FsLit

public abstract interface FsRd

This class defines the Fuzzy System interface for "Readable" classes; that is, classes that implement this interface can appear on the righthand side of a fuzzy clause.

Version:
$Revision: 1.2 $, $Date: 2000/06/05 18:24:04 $

Method Summary
 boolean getBooleanValue()
          Retrieve the value of this object as a boolean value.
 FsSet getFuzzyValue()
          Retrieve the value of this object as a fuzzy value.
 double getNumericValue()
          Retrieve the value of this object as a numeric value.
 int getReferent()
          Retrieve the Id of the variable to which this object refers.
 java.lang.String getSymbolicValue()
          Retrieve the value of this object as a symbolic value.
 int getType()
          Retrieve the type of this object.
 FsLit getValue()
          Retrieve the value of this object as a Literal object.
 java.lang.String rlCString()
          Return a formal fuzzy rule language string.
 java.lang.String xmlCRdString()
          Return a formal XML string.
 

Method Detail

getBooleanValue

public boolean getBooleanValue()
                        throws FsException
Retrieve the value of this object as a boolean value.
Returns:
A boolean, if the value of this object can be represented as a boolean value.

Throws:
FsException - If the value of this object cannot be represented as a boolean value.


getFuzzyValue

public FsSet getFuzzyValue()
                    throws FsException
Retrieve the value of this object as a fuzzy value.
Returns:
An FsSet, if the value of this object can be represented as a fuzzy value.

Throws:
FsException - If the value of this object cannot be represented as a fuzzy value.


getNumericValue

public double getNumericValue()
                       throws FsException
Retrieve the value of this object as a numeric value.
Returns:
A double, if the value of this object can be represented as a numeric value.

Throws:
FsException - If the value of this object cannot be represented as a numeric value.


getSymbolicValue

public java.lang.String getSymbolicValue()
                                  throws FsException
Retrieve the value of this object as a symbolic value.
Returns:
A String, if the value of this object can be represented as a symbolic value.

Throws:
FsException - If the value of this object cannot be represented as a symbolic value.


getValue

public FsLit getValue()
               throws FsException
Retrieve the value of this object as a Literal object.
Returns:
An FsLit object.

Throws:
FsException - If the value of this object cannot be represented as a literal.


getReferent

public int getReferent()
Retrieve the Id of the variable to which this object refers.
Returns:
The Id of the variable to which this value refers, or Fs.VarIdNull if the value is a literal.


getType

public int getType()
Retrieve the type of this object.
Returns:
An Fs.


rlCString

public java.lang.String rlCString()
Return a formal fuzzy rule language string.
Returns:
A String describing the object in fuzzy rule language.


xmlCRdString

public java.lang.String xmlCRdString()
Return a formal XML string.
Returns:
A String describing the object in XML.


ABLE, Version 1.1b

ABLE: Produced by Joe, Don, and Jeff who say, 'Thanks for your support.'