|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISimFct
Has to be implemented by each similarity function such that one can always compute similarity of two attributes without casting the ISimFct to a specific object.
| Method Summary | |
|---|---|
Similarity |
calculateSimilarity(Attribute value1,
Attribute value2)
Computes the similarity of value1 and value2. |
void |
clone(AttributeDesc descNEW,
boolean active)
Creates a new function which is the same function as this but with a different description, namely descNEW. |
AttributeDesc |
getDesc()
Returns the description of the attributes which can be compared using this function |
MultipleConfig |
getMultipleConfig()
|
java.lang.String |
getName()
Returns the name of this function |
Project |
getProject()
|
boolean |
isSymmetric()
Specifies whether this function is symmetric or asymmetric |
void |
setMultipleConfig(MultipleConfig mc)
|
void |
setName(java.lang.String name)
Sets the name of this function to name |
void |
setSymmetric(boolean symmetric)
Specifies whether this function is symmetric or not. |
| Methods inherited from interface java.util.Observer |
|---|
update |
| Method Detail |
|---|
Similarity calculateSimilarity(Attribute value1,
Attribute value2)
throws java.lang.Exception
value1 - the first valuevalue2 - the second value
java.lang.Exceptionboolean isSymmetric()
java.lang.String getName()
void setName(java.lang.String name)
name - the new name of this functionAttributeDesc getDesc()
void setSymmetric(boolean symmetric)
sim is symmetric, sim(q,c) = sim(c,q)
should hold for all queries q and cases c this function is defined on.
Else the function is asymmetric.
symmetric - specifies whether this function is symmetric or not.MultipleConfig getMultipleConfig()
void setMultipleConfig(MultipleConfig mc)
Project getProject()
void clone(AttributeDesc descNEW,
boolean active)
descNEW - active -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||