Interface SMListMapping

All Superinterfaces:
SimilarityMeasure, SMCollection
All Known Subinterfaces:
SMListMappingWeighted
All Known Implementing Classes:
SMListMappingImpl, SMListMappingWeightedImpl

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 Details

    • NAME

      static final String NAME
      Name of similarity measure is "ListMapping".
      See Also:
    • DEFAULT_CONTAINS_EXACT

      static final boolean DEFAULT_CONTAINS_EXACT
      Default 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
    • setReturnLocalSimilarities

      void setReturnLocalSimilarities(boolean returnLocalSimilarities)
      Sets a parameter to return the local similarities.
      Parameters:
      returnLocalSimilarities -
    • getReturnLocalSimilarities

      boolean getReturnLocalSimilarities()
      Returns a bool if the local similarities are returned.