|
||||||||||
| 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.similarity.IntervalFct
public class IntervalFct
Not implemented yet.
| Constructor Summary | |
|---|---|
IntervalFct(Project prj,
IntervalDesc desc2,
java.lang.String name)
|
|
| 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. |
void |
update(java.util.Observable o,
java.lang.Object arg)
|
| 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, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IntervalFct(Project prj,
IntervalDesc desc2,
java.lang.String name)
| Method Detail |
|---|
public Similarity calculateSimilarity(Attribute value1,
Attribute value2)
throws java.lang.Exception
ISimFct
calculateSimilarity in interface ISimFctvalue1 - the first valuevalue2 - the second value
java.lang.Exceptionpublic AttributeDesc getDesc()
ISimFct
getDesc in interface ISimFctpublic MultipleConfig getMultipleConfig()
getMultipleConfig in interface ISimFctpublic java.lang.String getName()
ISimFct
getName in interface ISimFctpublic Project getProject()
getProject in interface ISimFctpublic boolean isSymmetric()
ISimFct
isSymmetric in interface ISimFctpublic void setMultipleConfig(MultipleConfig mc)
setMultipleConfig in interface ISimFctpublic void setName(java.lang.String name)
ISimFct
setName in interface ISimFctname - the new name of this functionpublic 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 update(java.util.Observable o,
java.lang.Object arg)
update in interface java.util.Observer
public void clone(AttributeDesc descNEW,
boolean active)
ISimFct
clone in interface ISimFct
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||