|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object viper.comparison.CompFilter
Classes that implement this take in a CompMatrix and upgrade all comparisons that meet a certain criterion.
Field Summary | |
static CompFilter[] |
filterSelect
Maps from matching type level numbers to function objects. |
static int |
MULTIPLE
This method of MultiMatching operates even and oddly stepping through options and trying to find a nice way of combining the candidates and targets to get the most general set of aggregate descriptors. |
static java.lang.String[] |
name
Names of the matching types, e.g. |
static int |
NONE
Don't do any match filtering. |
static int |
SINGLE_GREEDY
Match filtering 1 to 1, adding in a linear fashion. |
static int |
SINGLE_OPTIMUM
Match filtering 1 to 1, checking all possible permutation matrices. |
Constructor Summary | |
CompFilter()
|
Method Summary | |
abstract viper.comparison.Surreal |
filter(CompMatrix matrix,
EvaluationParameters.ScopeRules scope)
Runs the match filter on the set of comparisons. |
static int |
getCroppingType(java.lang.String S)
Gets the Cropping Type identified by the given string. |
static java.lang.String |
matchFilterTitle(int filterType)
Get the name of the matching type. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int NONE
public static final int SINGLE_GREEDY
CompMatrix.removeDuplicates(int)
,
Constant Field Valuespublic static final int SINGLE_OPTIMUM
CompMatrix.removeDuplicates(int)
,
Constant Field Valuespublic static final int MULTIPLE
Target Candidate +----------+ +----+ +---+ | T1 | | C1 | |C2 | +----------+ | | | | | | | | +----------+ | | | | | T2 | | | | | +----------+ +----+ +---+ Candidates | C1 | C2 | C1+C2 | T ------+------+------+-------+ a T1 | 0.62 | 0.58 | 0.47 | r ------+------+------+-------+ g T2 | 0.62 | 0.58 | 0.47 | e ------+------+------+-------+ t T1+T2 | 0.47 | 0.44 | 0.19 | s ------+------+------+-------+ (Distances are 1 - Dice Coefficient)
public static final java.lang.String[] name
Single Optimumor
Multiple.
public static final CompFilter[] filterSelect
Constructor Detail |
public CompFilter()
Method Detail |
public static final java.lang.String matchFilterTitle(int filterType)
filterType
- the level number for the matching type
public static final int getCroppingType(java.lang.String S)
S
- one of SINGLE-GREEDY, SINGLE-BEST, MULTIPLE or NONE
java.lang.IllegalArgumentException
- if it isn't a recognized cropping typepublic abstract viper.comparison.Surreal filter(CompMatrix matrix, EvaluationParameters.ScopeRules scope)
matrix
- the comparisons to filterscope
- the rules and measurements to use
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |