public class BulkMatcher
extends java.lang.Object
Constructor and Description |
---|
BulkMatcher(java.lang.String matcherType,
java.util.SortedMap<java.lang.Integer,java.util.List<java.lang.String>> results,
int maxThread)
A constructor for when you want to limit the number of threads that are run
|
Modifier and Type | Method and Description |
---|---|
void |
cmpFingToDirectory(Fingerprint fing,
java.util.List<Fingerprint> fingerprint) |
java.util.List<Pair<java.lang.String,java.lang.Integer>> |
compareAllFingerprints(java.util.List<Fingerprint> fingerprint) |
void |
updateStdOut() |
public BulkMatcher(java.lang.String matcherType, java.util.SortedMap<java.lang.Integer,java.util.List<java.lang.String>> results, int maxThread)
matcherType
- the name of the matcher that will be used to make comparisonsresults
- a map to insert the results inmaxThread
- limit on number of threads to be usedpublic java.util.List<Pair<java.lang.String,java.lang.Integer>> compareAllFingerprints(java.util.List<Fingerprint> fingerprint)
fingerprint
- (s) to N2 comparisonpublic void cmpFingToDirectory(Fingerprint fing, java.util.List<Fingerprint> fingerprint)
public void updateStdOut()