|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Observable
de.dfki.mycbr.core.casebase.Attribute
de.dfki.mycbr.core.casebase.SimpleAttribute
de.dfki.mycbr.core.casebase.SymbolAttribute
de.dfki.mycbr.core.casebase.SpecialAttribute
public final class SpecialAttribute
Represents special values in queries or cases. The semantics can be defined
separately. There is one SpecialValueAttribute for each attribute description
that wraps one SpecialValue object. This assures consistency since we expect
that each value occurring in query or case knows its attribute description
and is of type SimpleAttribute. Objects of this class are
maintained by ranges defined in AttributeDesc objects.
| Method Summary | |
|---|---|
Similarity |
calculateSimilarity(SimpleAttribute att)
Returns similarity of this attribute to the given attribute. |
| Methods inherited from class de.dfki.mycbr.core.casebase.SymbolAttribute |
|---|
getNodes, getValue, getValueAsString, setValue, toString |
| Methods inherited from class de.dfki.mycbr.core.casebase.SimpleAttribute |
|---|
getAttributeDesc, getDesc, getExpType, getName, setDesc |
| Methods inherited from class java.util.Observable |
|---|
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public Similarity calculateSimilarity(SimpleAttribute att)
throws java.lang.Exception
Project.calculateSpecialSimilarity(Attribute, Attribute)
to calculate the requested similarity
att - the attribute this should be compared with
java.lang.Exception - if something went wrong during similarity calculations
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||