Class AggregationMatchingPolicies

java.lang.Object
  |
  +--AggregationMatchingPolicies

public class AggregationMatchingPolicies
extends java.lang.Object

The class `AggregationMatchingPolicies' implements various policies used for matching a pair of aggregations.


Constructor Summary
AggregationMatchingPolicies()
           
 
Method Summary
static boolean matchVectors(java.util.Vector vector1, java.util.Vector vector2, byte mode, java.lang.Object type, java.lang.Object subsForSelf, EntityPair entityPair)
          Matches two vectors, selecting an appropriate aggregation matching policy.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AggregationMatchingPolicies

public AggregationMatchingPolicies()
Method Detail

matchVectors

public static boolean matchVectors(java.util.Vector vector1,
                                   java.util.Vector vector2,
                                   byte mode,
                                   java.lang.Object type,
                                   java.lang.Object subsForSelf,
                                   EntityPair entityPair)
Matches two vectors, selecting an appropriate aggregation matching policy.
Parameters:
vector1 - The first vector.
vector2 - The second vector.
mode - Which mode it's comparing in (CORRESPONDENCE or PLAUSIBLE_CORRESPONDENCE).
type - The FIL type of the vectors (optional - can be null).
subsForSelf - A value to substitute for SELF (optional - can be null).
entityPair - The current entity-pair for the summarised output (optional).
Returns:
True if the vectors match, false otherwise.