public interface IFilter
| Modifier and Type | Method and Description |
|---|---|
AMapping |
filter(AMapping map1,
AMapping map2,
double coef1,
double coef2,
double threshold,
String operation)
Filter for linear combinations when operation is set to "add", given the
expression a*sim1 + b*sim2 >= t or multiplication given the
expression (a*sim1)*(b*sim2) >= t, which is not likely to be
used.
|
AMapping |
filter(AMapping map,
double threshold)
Naive filter function for mapping using a threshold as filtering
criterion.
|
AMapping |
filter(AMapping map,
String condition,
double threshold,
ACache source,
ACache target,
String sourceVar,
String targetVar)
Filter function for mapping using a condition and a threshold as
filtering criterion.
|
AMapping |
filter(AMapping map,
String condition,
double threshold,
double mainThreshold,
ACache source,
ACache target,
String sourceVar,
String targetVar)
Filter function for mapping using a condition and two thresholds as
filtering criterion.
|
AMapping |
reversefilter(AMapping map,
String condition,
double threshold,
double mainThreshold,
ACache source,
ACache target,
String sourceVar,
String targetVar)
Reverse filter function for mapping using a condition and two thresholds
as filtering criterion.
|
AMapping filter(AMapping map, double threshold)
map - Map bearing the results of Link Specificationthreshold - Value of thresholdAMapping filter(AMapping map, String condition, double threshold, ACache source, ACache target, String sourceVar, String targetVar)
map - Map bearing the results of Link Specificationcondition - The condition for filteringthreshold - Value of thresholdsource - Source knowledge basetarget - Target knowledge basesourceVar - Source propertytargetVar - Target propertyAMapping filter(AMapping map, String condition, double threshold, double mainThreshold, ACache source, ACache target, String sourceVar, String targetVar)
map - map bearing the results of Link Specificationcondition - The condition for filteringthreshold - Value of the first thresholdmainThreshold - Value of second thresholdsource - Source knowledge basetarget - Target knowledge basesourceVar - Source propertytargetVar - Target propertyAMapping reversefilter(AMapping map, String condition, double threshold, double mainThreshold, ACache source, ACache target, String sourceVar, String targetVar)
map - Map bearing the results of Link Specificationcondition - The condition for filteringthreshold - Value of the first thresholdmainThreshold - Value of second thresholdsource - Source knowledge basetarget - Target knowledge basesourceVar - Source propertytargetVar - Target propertyAMapping filter(AMapping map1, AMapping map2, double coef1, double coef2, double threshold, String operation)
map1 - Map bearing the results of sim1 >= (t-b)/a for add,
sim1 >= t/(a*b) for multmap2 - Map bearing the results of sim2 >= (t-a)/b for add,
sim2 >= t/(a*b) for multcoef1 - Value of first coefficientcoef2 - Value of second coefficientthreshold - Value of thresholdoperation - Mathematical operationCopyright © 2018. All rights reserved.