public interface ISimFct
extends java.util.Observer
| Modifier and Type | Method and Description |
|---|---|
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.
|
Similarity calculateSimilarity(Attribute value1, Attribute value2) throws java.lang.Exception
value1 - the first valuevalue2 - the second valuejava.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 -