All Superinterfaces:
SimilarityMeasure
All Known Subinterfaces:
SMGraphDTW, SMGraphSWA, SMListDTW, SMListDTWWeighted, SMListSWA, SMListSWAWeighted
All Known Implementing Classes:
SMGraphDTWImpl, SMGraphSWAImpl, SMListDPImpl, SMListDTWImpl, SMListDTWWeightedImpl, SMListSWAImpl, SMListSWAWeightedImpl

public interface SMListDP extends SimilarityMeasure
  • Method Details

    • getHalvingDistancePercentage

      double getHalvingDistancePercentage()
    • setHalvingDistancePercentage

      void setHalvingDistancePercentage(double hDist)
      Set the percentage of the query length, at which the temporal factor shall equal one half.
      Parameters:
      hDist - Distance as percentage between 0 and 1.
    • getDataSimilarityToUse

      String getDataSimilarityToUse()
    • setDataSimilarityToUse

      void setDataSimilarityToUse(String name)
      Set the data similarity to be used during local node similarity calculation.
      Parameters:
      name - Name of the sim measure
    • getLocalSimilarityToUse

      String getLocalSimilarityToUse()
    • setLocalSimilarityToUse

      void setLocalSimilarityToUse(String name)
      Set the task similarity to be used during local node similarity calculation.
      Parameters:
      name - Name of the sim measure
    • setNormScore

      void setNormScore(boolean normScore)
    • getForceAlignmentEndsWithQuery

      boolean getForceAlignmentEndsWithQuery()
      Return property of similarity measure to find an alignment that ends with the query or not.
      Returns:
    • setForceAlignmentEndsWithQuery

      void setForceAlignmentEndsWithQuery(boolean endWithQuery)
      Set property of similarity measures to find an alignment that ends with the query.
      Parameters:
      endWithQuery - Whether the alignment shall end with the query. Defaults to true.
    • setIgnoreDifferentBeginnings

      void setIgnoreDifferentBeginnings(SMListDP.DIFFERENT_BEGINNINGS_STRATEGIES strategy)
      Sets a bool whether different beginnings are considered in the similarity calculation or not.
      Parameters:
      strategy - NONE, IGNORE_DIFFERENT_BEGINNINGS_CASE or IGNORE_DIFFERENT_BEGINNINGS_CASE_AND_QUERY
      See Also:
    • getIgnoreDifferentBeginnings

      SMListDP.DIFFERENT_BEGINNINGS_STRATEGIES getIgnoreDifferentBeginnings()
      Returns a bool whether different beginnings are considered in the similarity calculation or not.
      Returns:
      true or false
    • setReturnLocalSimilarities

      void setReturnLocalSimilarities(boolean returnLocalSimilarities)
      Sets a parameter weather a mapping of similarities of each query and case object should be calculated.
      Parameters:
      returnLocalSimilarities - true or false.
    • getReturnLocalSimilarities

      boolean getReturnLocalSimilarities()
      Returns a bool weather the local similarities should be calculated or not.
      Returns:
      true or false