Class NormDistMatchFactory

java.lang.Object
com.aquima.interactions.matching.impl.functions.normdist.NormDistMatchFactory
All Implemented Interfaces:
IMatchFunctionFactory

public final class NormDistMatchFactory extends Object implements IMatchFunctionFactory
Match function factory for Gaussian distribution match functions.
Since:
6.2
Author:
O. Kerpershoek, F. van der Meer
  • Field Details

    • PARAM_VARIANCE

      public static final String PARAM_VARIANCE
      This member defines the name of the parameter that is used to specify the variance (also called standard deviation) of the match function.
      See Also:
  • Constructor Details

    • NormDistMatchFactory

      public NormDistMatchFactory()
  • Method Details

    • getTypeName

      public String getTypeName()
      Description copied from interface: IMatchFunctionFactory
      This method returns the type name of the match functions this factory can provide for.
      Specified by:
      getTypeName in interface IMatchFunctionFactory
      Returns:
      the type name of the match functions this factory can provide for.
    • getMatchFunction

      public IMatchFunction getMatchFunction(String name, IMatchFunctionParameters parameters)
      Description copied from interface: IMatchFunctionFactory
      This method constructs a match function for a specific match type definition with the specified name and parameters. After construction of this function the object is expected to be reentrant. When a match function could not be created the factory should throw an exception, when the match function could not be found a null pointer should be returned.
      Specified by:
      getMatchFunction in interface IMatchFunctionFactory
      Parameters:
      name - The name of the user created match function.
      parameters - The parameters which can be used to initialize a match function with specific settings.
      Returns:
      A match function implementation object. If the match function was unknown null can be returned.