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 boolean
DEFAULT_CONTAINS_EXACT
Default value, if an exact match is searched, is false.static String
NAME
Name 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 boolean
containsExact()
Checks if an exact matching is wanted.boolean
containsInexact()
Checks if an inexact matching is wanted.void
setContainsExact()
Sets the value for exact containing to truevoid
setContainsInexact()
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
-
-