Class MeasureFactory
- java.lang.Object
-
- org.aksw.limes.core.measures.measure.MeasureFactory
-
public class MeasureFactory extends Object
Implements the measure factory class. For each measure name, the factory returns an object of the corresponding measure.- Version:
- 1.0
- Author:
- Axel-C. Ngonga Ngomo (ngonga@informatik.uni-leipzig.de), Kleanthi Georgala (georgala@informatik.uni-leipzig.de), Mohamed Sherif (sherif@informatik.uni-leipzig.de)
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description MeasureFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AIndexcreateIndexer()static AMeasurecreateMeasure(MeasureType type)Factory function for retrieving the desired measure instance.static MeasureTypegetMeasureType(String expression)Factory function for retrieving a measure name from the set of allowed types.
-
-
-
Field Detail
-
COSINE
public static final String COSINE
- See Also:
- Constant Field Values
-
EXACTMATCH
public static final String EXACTMATCH
- See Also:
- Constant Field Values
-
JACCARD
public static final String JACCARD
- See Also:
- Constant Field Values
-
JARO
public static final String JARO
- See Also:
- Constant Field Values
-
JAROWINKLER
public static final String JAROWINKLER
- See Also:
- Constant Field Values
-
LEVENSHTEIN
public static final String LEVENSHTEIN
- See Also:
- Constant Field Values
-
MONGEELKAN
public static final String MONGEELKAN
- See Also:
- Constant Field Values
-
OVERLAP
public static final String OVERLAP
- See Also:
- Constant Field Values
-
QGRAMS
public static final String QGRAMS
- See Also:
- Constant Field Values
-
LESS_THAN
public static final String LESS_THAN
- See Also:
- Constant Field Values
-
RATCLIFF
public static final String RATCLIFF
- See Also:
- Constant Field Values
-
SOUNDEX
public static final String SOUNDEX
- See Also:
- Constant Field Values
-
DOUBLEMETA
public static final String DOUBLEMETA
- See Also:
- Constant Field Values
-
KOELN
public static final String KOELN
- See Also:
- Constant Field Values
-
TRIGRAM
public static final String TRIGRAM
- See Also:
- Constant Field Values
-
META
public static final String META
- See Also:
- Constant Field Values
-
NYSIIS
public static final String NYSIIS
- See Also:
- Constant Field Values
-
CAVERPHONE1
public static final String CAVERPHONE1
- See Also:
- Constant Field Values
-
CAVERPHONE2
public static final String CAVERPHONE2
- See Also:
- Constant Field Values
-
REFINEDSOUNDEX
public static final String REFINEDSOUNDEX
- See Also:
- Constant Field Values
-
MATCHRATING
public static final String MATCHRATING
- See Also:
- Constant Field Values
-
DAITCHMOKOTOFF
public static final String DAITCHMOKOTOFF
- See Also:
- Constant Field Values
-
EUCLIDEAN
public static final String EUCLIDEAN
- See Also:
- Constant Field Values
-
MANHATTAN
public static final String MANHATTAN
- See Also:
- Constant Field Values
-
GEO_ORTHODROMIC
public static final String GEO_ORTHODROMIC
- See Also:
- Constant Field Values
-
GEO_GREAT_ELLIPTIC
public static final String GEO_GREAT_ELLIPTIC
- See Also:
- Constant Field Values
-
GEO_CENTROID_INDEXED_HAUSDORFF
public static final String GEO_CENTROID_INDEXED_HAUSDORFF
- See Also:
- Constant Field Values
-
GEO_FAST_HAUSDORFF
public static final String GEO_FAST_HAUSDORFF
- See Also:
- Constant Field Values
-
GEO_HAUSDORFF
public static final String GEO_HAUSDORFF
- See Also:
- Constant Field Values
-
GEO_INDEXED_HAUSDORFF
public static final String GEO_INDEXED_HAUSDORFF
- See Also:
- Constant Field Values
-
GEO_NAIVE_HAUSDORFF
public static final String GEO_NAIVE_HAUSDORFF
- See Also:
- Constant Field Values
-
GEO_SCAN_INDEXED_HAUSDORFF
public static final String GEO_SCAN_INDEXED_HAUSDORFF
- See Also:
- Constant Field Values
-
GEO_SYMMETRIC_HAUSDORFF
public static final String GEO_SYMMETRIC_HAUSDORFF
- See Also:
- Constant Field Values
-
GEO_MAX
public static final String GEO_MAX
- See Also:
- Constant Field Values
-
GEO_MEAN
public static final String GEO_MEAN
- See Also:
- Constant Field Values
-
GEO_MIN
public static final String GEO_MIN
- See Also:
- Constant Field Values
-
GEO_AVG
public static final String GEO_AVG
- See Also:
- Constant Field Values
-
GEO_FRECHET
public static final String GEO_FRECHET
- See Also:
- Constant Field Values
-
GEO_LINK
public static final String GEO_LINK
- See Also:
- Constant Field Values
-
GEO_SUM_OF_MIN
public static final String GEO_SUM_OF_MIN
- See Also:
- Constant Field Values
-
GEO_SURJECTION
public static final String GEO_SURJECTION
- See Also:
- Constant Field Values
-
GEO_FAIR_SURJECTION
public static final String GEO_FAIR_SURJECTION
- See Also:
- Constant Field Values
-
TMP_CONCURRENT
public static final String TMP_CONCURRENT
- See Also:
- Constant Field Values
-
TMP_PREDECESSOR
public static final String TMP_PREDECESSOR
- See Also:
- Constant Field Values
-
TMP_SUCCESSOR
public static final String TMP_SUCCESSOR
- See Also:
- Constant Field Values
-
TMP_AFTER
public static final String TMP_AFTER
- See Also:
- Constant Field Values
-
TMP_BEFORE
public static final String TMP_BEFORE
- See Also:
- Constant Field Values
-
TMP_DURING
public static final String TMP_DURING
- See Also:
- Constant Field Values
-
TMP_DURING_REVERSE
public static final String TMP_DURING_REVERSE
- See Also:
- Constant Field Values
-
TMP_EQUALS
public static final String TMP_EQUALS
- See Also:
- Constant Field Values
-
TMP_FINISHES
public static final String TMP_FINISHES
- See Also:
- Constant Field Values
-
TMP_IS_FINISHED_BY
public static final String TMP_IS_FINISHED_BY
- See Also:
- Constant Field Values
-
TMP_IS_MET_BY
public static final String TMP_IS_MET_BY
- See Also:
- Constant Field Values
-
TMP_IS_OVERLAPPED_BY
public static final String TMP_IS_OVERLAPPED_BY
- See Also:
- Constant Field Values
-
TMP_IS_STARTED_BY
public static final String TMP_IS_STARTED_BY
- See Also:
- Constant Field Values
-
TMP_MEETS
public static final String TMP_MEETS
- See Also:
- Constant Field Values
-
TMP_OVERLAPS
public static final String TMP_OVERLAPS
- See Also:
- Constant Field Values
-
TMP_STARTS
public static final String TMP_STARTS
- See Also:
- Constant Field Values
-
TOP_CONTAINS
public static final String TOP_CONTAINS
- See Also:
- Constant Field Values
-
TOP_COVERED_BY
public static final String TOP_COVERED_BY
- See Also:
- Constant Field Values
-
TOP_COVERS
public static final String TOP_COVERS
- See Also:
- Constant Field Values
-
TOP_CROSSES
public static final String TOP_CROSSES
- See Also:
- Constant Field Values
-
TOP_DISJOINT
public static final String TOP_DISJOINT
- See Also:
- Constant Field Values
-
TOP_EQUALS
public static final String TOP_EQUALS
- See Also:
- Constant Field Values
-
TOP_INTERSECTS
public static final String TOP_INTERSECTS
- See Also:
- Constant Field Values
-
TOP_OVERLAPS
public static final String TOP_OVERLAPS
- See Also:
- Constant Field Values
-
TOP_TOUCHES
public static final String TOP_TOUCHES
- See Also:
- Constant Field Values
-
TOP_WITHIN
public static final String TOP_WITHIN
- See Also:
- Constant Field Values
-
SET_JACCARD
public static final String SET_JACCARD
- See Also:
- Constant Field Values
-
SHORTEST_PATH
public static final String SHORTEST_PATH
- See Also:
- Constant Field Values
-
LCH
public static final String LCH
- See Also:
- Constant Field Values
-
LI
public static final String LI
- See Also:
- Constant Field Values
-
WUPALMER
public static final String WUPALMER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getMeasureType
public static MeasureType getMeasureType(String expression)
Factory function for retrieving a measure name from the set of allowed types.- Parameters:
expression- , The name/type of the measure.- Returns:
- a specific measure type
-
createMeasure
public static AMeasure createMeasure(MeasureType type)
Factory function for retrieving the desired measure instance.- Parameters:
type- , Type of the measure- Returns:
- a specific measure instance
-
createIndexer
public static AIndex createIndexer()
-
-