Class MaximumMatcher
java.lang.Object
com.aquima.interactions.matching.impl.model.MultiValueMatcher
com.aquima.interactions.matching.impl.model.MaximumMatcher
- All Implemented Interfaces:
IMatchFunction
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
match
(IMatchValue vraag, IMatchValue aanbod) This method should compare the demand value against the supply value and determine the match score.Methods inherited from class com.aquima.interactions.matching.impl.model.MultiValueMatcher
demandValueFor, getMatchFunction, getMatchType, getName, getSupportedTypes, match, onLoadComplete, onStartup, supplyValueFor
-
Constructor Details
-
Method Details
-
match
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.
-