Package fim
Interface PatternSet.PatSigCmp
- Enclosing class:
PatternSet
public static interface PatternSet.PatSigCmp
Interface for a comparator for pattern signatures.
- Since:
- 2015.08.12
-
Method Summary
Modifier and TypeMethodDescriptionint
compare
(int zA, int cA, int zB, int cB, int[] border) Compare two patterns/item sets.
-
Method Details
-
compare
int compare(int zA, int cA, int zB, int cB, int[] border) Compare two patterns/item sets.- Parameters:
zA
- the size of the 1st pattern (number of items)cA
- the support of the 1st pattern (coincidences)zB
- the size of the 2nd pattern (number of items)cB
- the support of the 2nd pattern (coincidences)border
- the decision border for pattern filtering- Returns:
- a negative integer, zero, or a positive integer, as the second argument is preferred to the first, neither is preferred to the other, or the first argument is preferred to the second, respectively.
- Since:
- 2015.08.12 (Christian Borgelt)
-