|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jess.Token | +--nrc.fuzzy.jess.FuzzyToken
Extends the Jess Token Class to allow the NRC FuzzyJ extensions to be used.
Constructor Summary | |
FuzzyToken(jess.Fact firstFact,
int tag)
|
|
FuzzyToken(jess.Token t)
|
|
FuzzyToken(jess.Token t,
jess.Fact newFact)
|
|
FuzzyToken(jess.Token lt,
jess.Token rt)
|
Method Summary | |
void |
addExtensionData(java.lang.Object obj)
Add an Object to the m_extensionData Vector (in this case the Object will always be a FuzzyValueVector so we could change this Object to be a FuzzyValueVector). |
void |
clearExtensionData()
Clear the values in the extension data Vector |
java.util.Vector |
getExtensionData()
Get the Vector which is the extension data. |
nrc.fuzzy.jess.FuzzyToken |
getParent()
Get the Parent of this token. |
jess.Token |
prepare(boolean success)
Duplicate the token, if necessary, passing the extensionData to the new FuzzyToken and clearing it from the original. |
Methods inherited from class jess.Token |
dataEquals, equals, fact, fastDataEquals, hashCode, size, topFact, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public FuzzyToken(jess.Fact firstFact, int tag) throws jess.JessException
public FuzzyToken(jess.Token t, jess.Fact newFact) throws jess.JessException
public FuzzyToken(jess.Token lt, jess.Token rt) throws jess.JessException
public FuzzyToken(jess.Token t) throws jess.JessException
Method Detail |
public final void addExtensionData(java.lang.Object obj)
public final java.util.Vector getExtensionData()
public final void clearExtensionData()
public nrc.fuzzy.jess.FuzzyToken getParent()
public jess.Token prepare(boolean success) throws jess.JessException
prepare
in class jess.Token
success
- true if the pattern match for the fact associated
with this token was true, else false.
jess.JessException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |