Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

LocalParameter Namespace Reference

Application specific parameters. More...


Enumerations

enum  FBMethod {
  MIX = 0, DIV = 1, MAR = 2, RM1 = 3,
  RM2 = 4
}
enum  FBMethod {
  MIX = 0, DIV = 1, MAR = 2, RM1 = 3,
  RM2 = 4
}
enum  RetModel { TFIDF = 0, OKAPI = 1, KL = 2 }
enum  RetModel {
  TFIDF = 0, OKAPI = 1, KL = 2, CORIDOC = 3,
  COS = 5
}
enum  FBMethod {
  MIX = 0, DIV = 1, MAR = 2, RM1 = 3,
  RM2 = 4
}
enum  RetModel { TFIDF = 0, OKAPI = 1, KL = 2 }

Functions

void get ()
 Get the application specific parameters.

void freeMem ()
 Free memory created by the get function.


Variables

String index
String docID
int summLength
String inputFile
String outputPrefix
int maxDocuments
int maxMemory
int memory
string manager
string stopwords
string acronyms
string docFormat
string stemmer
int position
string dataFiles
bool countStopWords
char * df
char * ctf
char * dfDocs
char * dfCounts
char * d
char * kstemmer_dir
bool countStopWds
int cutoff
string ranksfile
char * textQuerySet2
double initialMu
enum FBMethod fbmethod
 retrieval model

String expandedQuery
String initQuery
String feedbackDocuments
bool TRECResultFormat
 retrieval model

String smoothSupportFile
String L2File
int psgSize
String query
char * qryOutFile
char * outFile
String dbManager
 database manager

char * listFile
 Filename for a list of databases to sample.

char * initModel
 Initial query selection model.

String queryModel
bool useWorkingSet
String workSetFile
enum RetModel mod
 retrieval model


Detailed Description

Application specific parameters.

This is a sample application that does distributed retrieval, using a resource selection index and individual indexes. resource selection is done using the CORI_CS (the only resource selection implemented thus far). results merging uses either CORIMergeMethod (The retrieval method of each individual databases should be INQUERY) or SingleRegrMergeMethod (The retrieval method of each individual databases should be INQUERY).

Parameters should be set as follows: index = the collection selection database collCounts = collection counts file for the csindex (needed by CORI) ranksFile = file to write rankings results to (optional) resultFile = file to write final results resultCount = maximum number of results to output for each query (default to 1000) textQuery = file of text queries in docstream format cutoff = maximum number of databases to search (default to 10) "dbids" = "db's param file" - required for each database in the collection selection index. key should be the dbcharid and value should be name of file that has parameters for that database: index = the individual database retModel = the retrieval model to use mergeMethod = the merging method to use "modelvals" - whatever parameters are required for that retModel CSTF_factor The TFfactor parameter in the CORI_CS resource selection method.

CSTF_baseline The TFbaseline parameter in the CORI_CS resource selection method.

mergeMethod resource merging method (0 for CORI results merging method, 1 for single regression results merging method)

Merginge Method-specific parameters:

For CORI mergine Method: None

For Single regression merging method:

1. csDbDataBaseIndex the centralized sampling database index

2. DOCTF_factor The TFfactor parameter in the INQUERY retrieval method for the centralized sampling database.

3. DOCTF_baseline The TFbaseline parameter in the INQUERY retrieval method for the centralized sampling database.


Enumeration Type Documentation

enum LocalParameter::FBMethod
 

Enumeration values:
MIX 
DIV 
MAR 
RM1 
RM2 

enum LocalParameter::FBMethod
 

Enumeration values:
MIX 
DIV 
MAR 
RM1 
RM2 

enum LocalParameter::FBMethod
 

Enumeration values:
MIX 
DIV 
MAR 
RM1 
RM2 

enum LocalParameter::RetModel
 

Enumeration values:
TFIDF 
OKAPI 
KL 

enum LocalParameter::RetModel
 

Enumeration values:
TFIDF 
OKAPI 
KL 
CORIDOC 
COS 

enum LocalParameter::RetModel
 

Enumeration values:
TFIDF 
OKAPI 
KL 


Function Documentation

void LocalParameter::freeMem  
 

Free memory created by the get function.

void LocalParameter::get  
 

Get the application specific parameters.


Variable Documentation

string LocalParameter::acronyms
 

bool LocalParameter::countStopWds
 

bool LocalParameter::countStopWords
 

char* LocalParameter::ctf
 

int LocalParameter::cutoff [static]
 

char* LocalParameter::d
 

char * LocalParameter::dataFiles
 

String LocalParameter::dbManager
 

database manager

char* LocalParameter::df
 

char* LocalParameter::dfCounts
 

char* LocalParameter::dfDocs
 

string LocalParameter::docFormat
 

String LocalParameter::docID
 

String LocalParameter::expandedQuery
 

enum FBMethod LocalParameter::fbmethod [static]
 

retrieval model

String LocalParameter::feedbackDocuments
 

char * LocalParameter::index
 

double LocalParameter::initialMu
 

char* LocalParameter::initModel
 

Initial query selection model.

String LocalParameter::initQuery
 

String LocalParameter::inputFile
 

char * LocalParameter::kstemmer_dir
 

String LocalParameter::L2File [static]
 

char* LocalParameter::listFile
 

Filename for a list of databases to sample.

string LocalParameter::manager
 

int LocalParameter::maxDocuments
 

int LocalParameter::maxMemory
 

int LocalParameter::memory
 

enum RetModel LocalParameter::mod [static]
 

retrieval model

char* LocalParameter::outFile
 

String LocalParameter::outputPrefix
 

int LocalParameter::position
 

int LocalParameter::psgSize
 

char * LocalParameter::qryOutFile
 

String LocalParameter::query
 

String LocalParameter::queryModel
 

string LocalParameter::ranksfile [static]
 

String LocalParameter::smoothSupportFile [static]
 

string LocalParameter::stemmer
 

string LocalParameter::stopwords
 

int LocalParameter::summLength
 

char* LocalParameter::textQuerySet2 [static]
 

bool LocalParameter::TRECResultFormat
 

retrieval model

bool LocalParameter::useWorkingSet
 

String LocalParameter::workSetFile
 


Generated on Tue Nov 25 11:27:26 2003 for Lemur Toolkit by doxygen1.2.18