Interface SMListMapping
- All Superinterfaces:
SimilarityMeasure
,SMCollection
- All Known Implementing Classes:
SMListMappingImpl
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
FieldsModifier and TypeFieldDescriptionstatic final boolean
Default value, if an exact match is searched, is false.static final String
Name of similarity measure is "ListMapping".Fields inherited from interface de.uni_trier.wi2.procake.similarity.SimilarityMeasure
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
Modifier and TypeMethodDescriptionboolean
Checks if an exact matching is wanted.boolean
Checks if an inexact matching is wanted.void
Sets the value for exact containing to truevoid
Sets the value for exact containing to falseMethods 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 Details
-
NAME
Name of similarity measure is "ListMapping".- See Also:
-
DEFAULT_CONTAINS_EXACT
static final boolean DEFAULT_CONTAINS_EXACTDefault value, if an exact match is searched, is false.- See Also:
-
-
Method Details
-
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
-