Interface SMListMapping
-
- All Superinterfaces:
SimilarityMeasure,SMCollection
- All Known Implementing Classes:
SMListMappingImpl
public interface SMListMapping extends SMCollection
The SMListMapping performs a compare on the elements of two lists. The list elements are either compared in the elements at the same position or one list can be a sublist of the other, where the elements are compared at the starting element of the sublist. In both cases the comparison follows the exact list order.- Author:
- Alexander Schultheis
-
-
Field Summary
Fields Modifier and Type Field Description static booleanDEFAULT_CONTAINS_EXACTDefault value, if an exact match is searched, is false.static StringNAMEName of similarity measure is "ListMapping".-
Fields inherited from interface de.uni_trier.wi2.procake.similarity.SimilarityMeasure
COMPONENT, COMPONENT_KEY, LOG_ORDER_NAME_NOT_FOUND
-
Fields inherited from interface de.uni_trier.wi2.procake.similarity.base.collection.SMCollection
LOG_ATTRIBUTE_NAME_NOT_FOUND
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancontainsExact()Checks if an exact matching is wanted.booleancontainsInexact()Checks if an inexact matching is wanted.voidsetContainsExact()Sets the value for exact containing to truevoidsetContainsInexact()Sets the value for exact containing to false-
Methods inherited from interface de.uni_trier.wi2.procake.similarity.SimilarityMeasure
compute, getDataClass, getName, getSystemName, isForceOverride, isReusable, setForceOverride
-
Methods inherited from interface de.uni_trier.wi2.procake.similarity.base.collection.SMCollection
getSimilarityToUse, setSimilarityToUse
-
-
-
-
Field Detail
-
NAME
static final String NAME
Name of similarity measure is "ListMapping".- See Also:
- Constant Field Values
-
DEFAULT_CONTAINS_EXACT
static final boolean DEFAULT_CONTAINS_EXACT
Default value, if an exact match is searched, is false.- See Also:
- Constant Field Values
-
-
Method Detail
-
containsExact
boolean containsExact()
Checks if an exact matching is wanted.- Returns:
- True if an exact matching is wanted.
-
containsInexact
boolean containsInexact()
Checks if an inexact matching is wanted.- Returns:
- True if an inexact matching is wanted.
-
setContainsExact
void setContainsExact()
Sets the value for exact containing to true
-
setContainsInexact
void setContainsInexact()
Sets the value for exact containing to false
-
-