All Known Implementing Classes:
ListWeightImpl

public interface ListWeight
ListWeights are used to perform a weighted similarity calculation. The reason for this is that low similarity values can be penalized more and high similarity values are less important. The ListWeights specify the interval in which they take effect and the value with which the similarities are to be evaluated.
Author:
Justin Weich
  • Field Details

    • DEFAULT_LOWER_BOUND_INCLUSIVE

      static final boolean DEFAULT_LOWER_BOUND_INCLUSIVE
      Represents the value if the lower bound is included or not.
      See Also:
    • DEFAULT_UPPER_BOUND_INCLUSIVE

      static final boolean DEFAULT_UPPER_BOUND_INCLUSIVE
      Represents the value if the upper bound is included or not.
      See Also:
  • Method Details

    • setWeight

      void setWeight(double weight)
      Sets the weight value for the ListWeight.
      Parameters:
      weight -
    • getWeight

      double getWeight()
      Returns the weight value of the ListWeight.
    • setLowerBound

      void setLowerBound(double lowerBound)
      Sets the value for the lower bound.
      Parameters:
      lowerBound -
    • getLowerBound

      double getLowerBound()
      Returns the value of the lower bound.
    • setUpperBound

      void setUpperBound(double upperBound)
      Sets the value of the upper bound.
      Parameters:
      upperBound -
    • getUpperBound

      double getUpperBound()
      Returns the value of the upper bound.
    • getLowerBoundInclusive

      boolean getLowerBoundInclusive()
      Returns the value if the lower bound is included or not.
    • setLowerBoundInclusive

      void setLowerBoundInclusive(boolean lowerBoundInclusive)
      Sets the value if the lower bound should be included or not.
      Parameters:
      lowerBoundInclusive -
    • getUpperBoundInclusive

      boolean getUpperBoundInclusive()
      Returns the value if the upper bound is included or not.
    • setUpperBoundInclusive

      void setUpperBoundInclusive(boolean upperBoundInclusive)
      Sets the value if the upper bound should be included or not.
      Parameters:
      upperBoundInclusive -
    • hasSameValueAsIn

      boolean hasSameValueAsIn(ListWeight listWeight)