public class NNConfig extends Object
| Constructor and Description |
|---|
NNConfig() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
Double |
getWeight(Attribute attribute)
Gets the weight for an attribute.
|
void |
setDescriptionSimFunction(GlobalSimilarityFunction descriptionSimFunction) |
void |
setWeight(Attribute attribute,
Double weight)
Sets the weight for an attribute.
|
public NNConfig()
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, Double weight)
Copyright © 2018 Group of Artificial Intelligence Applications (GAIA). All rights reserved.