Class MaximumMatcher

java.lang.Object
com.aquima.interactions.matching.impl.model.MultiValueMatcher
com.aquima.interactions.matching.impl.model.MaximumMatcher
All Implemented Interfaces:
IMatchFunction

public final class MaximumMatcher extends MultiValueMatcher

Maximum match strategy.
This multi value strategy calculates gets the best scoring request value, and uses it as the result. This strategy used to be called IsMember or Contains (depending on the match direction).

Copyright: Copyright (c) 2002

Company: Everest b.v.

Since:
6.0
Author:
O. Kerpershoek
  • Constructor Details

  • Method Details

    • match

      public int match(IMatchValue vraag, IMatchValue aanbod)
      Description copied from interface: IMatchFunction
      This method should compare the demand value against the supply value and determine the match score.
      Parameters:
      vraag - The value that is demanded.
      aanbod - The value that is supplied.
      Returns:
      The match score for the supply and demand combination.