Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

ireval::Main Class Reference

List of all members.

Static Public Member Functions

TreeMap< String, ArrayList<
Judgment > > 
loadJudgments (String filename) throws IOException, FileNotFoundException
TreeMap< String, ArrayList<
Document > > 
loadRanking (String filename) throws IOException, FileNotFoundException
SetRetrievalEvaluator create (TreeMap< String, ArrayList< Document > > allRankings, TreeMap< String, ArrayList< Judgment > > allJudgments)
String singleQuery (String query, RetrievalEvaluator evaluator)
String singleEvaluation (SetRetrievalEvaluator setEvaluator, boolean showIndividual)
String comparisonEvaluation (SetRetrievalEvaluator baseline, SetRetrievalEvaluator treatment, String baselineName, String treatmentName)
void usage ()
void main (String[] args) throws IOException

Detailed Description

Author:
trevor


Member Function Documentation

String ireval::Main::comparisonEvaluation SetRetrievalEvaluator  baseline,
SetRetrievalEvaluator  treatment,
String  baselineName,
String  treatmentName
[inline, static]
 

SetRetrievalEvaluator ireval::Main::create TreeMap< String, ArrayList< Document > >  allRankings,
TreeMap< String, ArrayList< Judgment > >  allJudgments
[inline, static]
 

Creates a SetRetrievalEvaluator from data from loadRanking and loadJudgments.

TreeMap< String, ArrayList<Judgment> > ireval::Main::loadJudgments String  filename  )  throws IOException, FileNotFoundException [inline, static]
 

Loads a TREC judgments file.

Parameters:
filename The filename of the judgments file to load.
Returns:
Maps from query numbers to lists of judgments for each query.

TreeMap< String, ArrayList<Document> > ireval::Main::loadRanking String  filename  )  throws IOException, FileNotFoundException [inline, static]
 

Reads in a TREC ranking file.

Parameters:
filename The filename of the ranking file.
Returns:
A map from query numbers to document ranking lists.

void ireval::Main::main String[]  args  )  throws IOException [inline, static]
 

String ireval::Main::singleEvaluation SetRetrievalEvaluator  setEvaluator,
boolean  showIndividual
[inline, static]
 

Returns an output string very similar to that of trec_eval.

String ireval::Main::singleQuery String  query,
RetrievalEvaluator  evaluator
[inline, static]
 

Returns an output string very similar to that of trec_eval.

void ireval::Main::usage  )  [inline, static]
 


The documentation for this class was generated from the following file:
Generated on Tue Jun 15 11:03:04 2010 for Lemur by doxygen 1.3.4