|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjcolibri.method.retrieve.NNretrieval.NNConfig
public class NNConfig
This class stores the configuration for the NN retrieval method. It stores:
Constructor Summary | |
---|---|
NNConfig()
|
Method Summary | |
---|---|
void |
addMapping(Attribute attribute,
GlobalSimilarityFunction similFunction)
Sets the global similarity function to apply to a compound attribute. |
void |
addMapping(Attribute attribute,
LocalSimilarityFunction similFunction)
Sets the local similarity function to apply to a simple attribute. |
GlobalSimilarityFunction |
getDescriptionSimFunction()
|
GlobalSimilarityFunction |
getGlobalSimilFunction(Attribute attribute)
Gets the global similarity function configured for a given compound attribute. |
LocalSimilarityFunction |
getLocalSimilFunction(Attribute attribute)
Gets the local similarity function configured for a given simple attribute. |
java.lang.Double |
getWeight(Attribute attribute)
Gets the weight for an attribute. |
void |
setDescriptionSimFunction(GlobalSimilarityFunction descriptionSimFunction)
|
void |
setWeight(Attribute attribute,
java.lang.Double weight)
Sets the weight for an attribute. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NNConfig()
Method Detail |
---|
public GlobalSimilarityFunction getDescriptionSimFunction()
public void setDescriptionSimFunction(GlobalSimilarityFunction descriptionSimFunction)
descriptionSimFunction
- The description similarity function. to set.public void addMapping(Attribute attribute, LocalSimilarityFunction similFunction)
public LocalSimilarityFunction getLocalSimilFunction(Attribute attribute)
public void addMapping(Attribute attribute, GlobalSimilarityFunction similFunction)
public GlobalSimilarityFunction getGlobalSimilFunction(Attribute attribute)
public void setWeight(Attribute attribute, java.lang.Double weight)
public java.lang.Double getWeight(Attribute attribute)
|
GAIA - Group for Artificial Intelligence Applications http://gaia.fdi.ucm.es |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |