java.lang.Object
com.aquima.interactions.matching.impl.functions.crosstable.CrossTableDefinition

public class CrossTableDefinition extends Object
This class contains a single cross-table definition.
Since:
6.2
Author:
O. Kerpershoek, F. van der Meer
  • Constructor Details

    • CrossTableDefinition

      public CrossTableDefinition(IDomainDefinition domain, ICrosstableDS datasource)
      Constructs a cross-table definition for the specified domain using the provided datasource.
      Parameters:
      domain - The domain for which the cross-table is constructed.
      datasource - The data source providing the cross-table distances.
      Throws:
      InitializationException - This exception is thrown when the cross table definition could not be initialized due to invalid data from the data source.
  • Method Details

    • setDistance

      protected void setDistance(IPrimitiveValue fromValue, IPrimitiveValue toValue, int distance)
    • getInternalIdFor

      protected int getInternalIdFor(IPrimitiveValue domainValue)
    • match

      protected int match(int aanbodId, int vraagId)