|
ABLE 2.0.0 07/02/2003 10:25:01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines the behavior of a data Context provider which is used by all Variables in the data package. A data Context is backed by a BitSet which is used to track and map variables by using their unique variable identifier. When the value of a Variable is changed, it uses the data context to set the bit associated with that Variable in the context BitSet.
This is used by the AbleRuleSet bean to track which variables are set during inferencing.
Method Summary | |
---|---|
int |
getCorrelationMethod()
Retrieve the current correlation method. |
java.util.BitSet |
getCurrentFactBase()
Retrieve the current fact base. |
int |
getDefuzzifyMethod()
Retrieve the current defuzzification method. |
int |
getFuzzyInferenceMethod()
Retrieve the current fuzzy inference method. |
AbleLogger |
getInferTraceLogger()
Retrieve the inferencing tracer logger. |
java.util.BitSet |
getInitialFactBase()
Retrieve the initial fact base. |
java.lang.Class |
getInnerClass(java.lang.String theClassName)
Retrieve an inner class given its name |
java.util.ResourceBundle |
getResourceBundle()
Retrieve the resource bundle for use with variable prompts. |
AbleRd |
parseExpressionFromARL(java.lang.String theArlSource)
Turn a String into an AbleExpression object |
void |
setCurrentFactBase(java.util.BitSet theFactBase)
Set the current fact base, the set of bound variables. |
void |
updateCurrentFactBase(int theVarId)
Update the current fact base by setting the bit representing a newly bound variable. |
Method Detail |
public java.util.BitSet getInitialFactBase()
public java.util.BitSet getCurrentFactBase()
public void setCurrentFactBase(java.util.BitSet theFactBase)
public void updateCurrentFactBase(int theVarId)
public java.util.ResourceBundle getResourceBundle()
public java.lang.Class getInnerClass(java.lang.String theClassName)
public AbleLogger getInferTraceLogger()
public int getCorrelationMethod()
public int getDefuzzifyMethod()
public int getFuzzyInferenceMethod()
public AbleRd parseExpressionFromARL(java.lang.String theArlSource) throws AbleException
|
ABLE 2.0.0 07/02/2003 10:25:01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |