public abstract class NumberFct extends java.util.Observable implements ISimFct
| Constructor and Description |
|---|
NumberFct(Project p,
SimpleAttDesc d,
java.lang.String n) |
| Modifier and Type | Method and Description |
|---|---|
AttributeDesc |
getDesc()
Returns the description of the attributes which can be compared
using this function
|
DistanceConfig |
getDistanceFct()
Returns the mode of 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 |
setDistanceFct(DistanceConfig df)
Sets the mode of this function to mode
|
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.
|
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObserversequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcalculateSimilarity, clonepublic NumberFct(Project p, SimpleAttDesc d, java.lang.String n)
public MultipleConfig getMultipleConfig()
getMultipleConfig in interface ISimFctpublic java.lang.String getName()
ISimFctpublic Project getProject()
getProject in interface ISimFctpublic boolean isSymmetric()
ISimFctisSymmetric in interface ISimFctpublic void setMultipleConfig(MultipleConfig mc)
setMultipleConfig in interface ISimFctpublic void setName(java.lang.String name)
ISimFctpublic void setSymmetric(boolean symmetric)
ISimFctsim 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.setSymmetric in interface ISimFctsymmetric - specifies whether this function is symmetric or not.public void setDistanceFct(DistanceConfig df)
df - the new mode of this functionpublic DistanceConfig getDistanceFct()
public AttributeDesc getDesc()
ISimFct