|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.georgetown.gucs.matcher.FingerprintMatcher
edu.georgetown.gucs.matcher.SimpleScoreFingerprintMatcher
public class SimpleScoreFingerprintMatcher
Provides a score to base a similarity match using a BitVectorFingerprinter.
Field Summary |
---|
Fields inherited from class edu.georgetown.gucs.matcher.FingerprintMatcher |
---|
matcherName, minimum_score |
Constructor Summary | |
---|---|
SimpleScoreFingerprintMatcher()
Constructor that sets the minimum score to use for matching two fingerprints to zero |
|
SimpleScoreFingerprintMatcher(int score)
Constructor that sets the minimum score to use for matching two fingerprints |
|
SimpleScoreFingerprintMatcher(java.lang.String score)
Constructor that sets the minimum score to use for matching two fingerprints. |
Method Summary | |
---|---|
int |
getScore(byte[] fp1,
byte[] fp2)
Determines a similarity score for these two fingerprints |
static void |
main(java.lang.String[] args)
|
boolean |
match(byte[] fp1,
byte[] fp2)
Determines that the two fingerprints are matching if their similarity score is above the minimum score for this fingerprinter |
Methods inherited from class edu.georgetown.gucs.matcher.FingerprintMatcher |
---|
getMatcherName, getMinimumScore, getScoreXML, match, setMinimumScore |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleScoreFingerprintMatcher()
public SimpleScoreFingerprintMatcher(int score)
score
- the minimum score needed to be considered a matchpublic SimpleScoreFingerprintMatcher(java.lang.String score)
score
- the string value of the minimum score needed to be considered a matchMethod Detail |
---|
public boolean match(byte[] fp1, byte[] fp2)
match
in class FingerprintMatcher
fp1
- the byte array containing the first fingerprintfp2
- the byte array containing the second fingerprint
public int getScore(byte[] fp1, byte[] fp2)
getScore
in class FingerprintMatcher
fp1
- the byte array containing the first fingerprintfp2
- the byte array containing the second fingerprint
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |