Package one.microstream.util.similarity
Class MultiMatch.Default<E>
java.lang.Object
one.microstream.util.similarity.MultiMatch.Default<E>
- All Implemented Interfaces:
MultiMatch<E>
- Enclosing interface:
- MultiMatch<E>
public static class MultiMatch.Default<E> extends Object implements MultiMatch<E>
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.util.similarity.MultiMatch
MultiMatch.Default<E>
-
Constructor Summary
Constructors Constructor Description Default()
-
Method Summary
Modifier and Type Method Description MultiMatchAssembler<E>
assembler()
double
averageSimilarity()
static int
calculateMatchCount(int[] s2tMapping)
double
highestSimilarity()
double
lowestSimilarity()
static double
maxSourceQuantifier(double[][] quantifiers, int t)
static double
maxTargetQuantifier(double[] sTargets)
MultiMatchResult<E>
result()
double
similarityThreshold()
double
singletonPrecedenceBonus()
double
singletonPrecedenceThreshold()
-
Constructor Details
-
Default
public Default()
-
-
Method Details
-
calculateMatchCount
public static int calculateMatchCount(int[] s2tMapping) -
maxTargetQuantifier
public static double maxTargetQuantifier(double[] sTargets) -
maxSourceQuantifier
public static double maxSourceQuantifier(double[][] quantifiers, int t) -
similarityThreshold
public double similarityThreshold()- Specified by:
similarityThreshold
in interfaceMultiMatch<E>
-
singletonPrecedenceThreshold
public double singletonPrecedenceThreshold()- Specified by:
singletonPrecedenceThreshold
in interfaceMultiMatch<E>
-
singletonPrecedenceBonus
public double singletonPrecedenceBonus()- Specified by:
singletonPrecedenceBonus
in interfaceMultiMatch<E>
-
averageSimilarity
public double averageSimilarity()- Specified by:
averageSimilarity
in interfaceMultiMatch<E>
-
lowestSimilarity
public double lowestSimilarity()- Specified by:
lowestSimilarity
in interfaceMultiMatch<E>
-
highestSimilarity
public double highestSimilarity()- Specified by:
highestSimilarity
in interfaceMultiMatch<E>
-
result
- Specified by:
result
in interfaceMultiMatch<E>
-
assembler
- Specified by:
assembler
in interfaceMultiMatch<E>
-