edu.georgetown.gucs.experiment
Class ExperimentTrial

java.lang.Object
  extended by edu.georgetown.gucs.experiment.Trial
      extended by edu.georgetown.gucs.experiment.ExperimentTrial
All Implemented Interfaces:
java.lang.Runnable

public class ExperimentTrial
extends Trial

Author:
Clay Shields, Lindsay Neubauer

Field Summary
 
Fields inherited from class edu.georgetown.gucs.experiment.Trial
comparisonType, dataset, datasetFiles, datasetPath, dictionary, dictionaryCountNotPercent, dictionarySetting, experiment, fingerprinter, fingerprintIDfingerprintHash, fingerprintIDManglerIDHash, language, manglerIDs, manglerSettings, matcher, matcherParameter, maxIDF, minIDF, random, randomSeed, sampleCountNotPercent, sampleSetting, tokenizers
 
Constructor Summary
ExperimentTrial(java.lang.String newDataset, java.lang.Integer newExperimentID)
           
 
Method Summary
protected  FileLister createDictionaryFromDirectory()
           
protected  FileLister createDictionaryFromFileLister()
           
 void doComparisons()
           
 void insertTrialResultsInDB()
           
 int runTrial()
           
protected  void sanityCheckParameters()
           
 void setMatchesDebugging(boolean debug)
           
 void setRandomSeed(java.lang.Long seed)
           
protected  void takeFingerprints(java.lang.String manglerSettingString, java.util.Iterator<java.io.File> files)
           
 
Methods inherited from class edu.georgetown.gucs.experiment.Trial
getManglerResults, getTrialParameters, printParameters, run, setComparison, setDatasetFiles, setDatasetPath, setDictionaryCountNotPercent, setDictionaryLanguage, setDictionarySetting, setFingerprinter, setFingerprinter, setManglerSettings, setMatcher, setMatcher, setMatcherScore, setMaxIDF, setMinIDF, setSampleCountNotPercent, setSampleSetting, setTokenizerList, showManglerSetting, takeFingerprints
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExperimentTrial

public ExperimentTrial(java.lang.String newDataset,
                       java.lang.Integer newExperimentID)
Method Detail

setRandomSeed

public void setRandomSeed(java.lang.Long seed)
Overrides:
setRandomSeed in class Trial

setMatchesDebugging

public void setMatchesDebugging(boolean debug)

sanityCheckParameters

protected void sanityCheckParameters()
Overrides:
sanityCheckParameters in class Trial

createDictionaryFromFileLister

protected FileLister createDictionaryFromFileLister()
Overrides:
createDictionaryFromFileLister in class Trial

createDictionaryFromDirectory

protected FileLister createDictionaryFromDirectory()
Overrides:
createDictionaryFromDirectory in class Trial

takeFingerprints

protected void takeFingerprints(java.lang.String manglerSettingString,
                                java.util.Iterator<java.io.File> files)

doComparisons

public void doComparisons()
Overrides:
doComparisons in class Trial

insertTrialResultsInDB

public void insertTrialResultsInDB()

runTrial

public int runTrial()
Overrides:
runTrial in class Trial