// System.out.println(index);
// System.out.println(topics);
// System.out.println(qrels);
TrecRetrieval trecsearch = new TrecRetrieval();
trecsearch.batch(index, topics, qrels, appProp
.getProperty("panda.var"));
}
else if (evaluation) {
buf = FileReader.openFileReader(appProp.getProperty("panda.etc")
+ fileseparator + "IndexDir.config");
String index = buf.readLine();
buf = FileReader.openFileReader(appProp.getProperty("panda.etc")
+ fileseparator + "Topics.config");
String topics = buf.readLine();
buf = FileReader.openFileReader(appProp.getProperty("panda.etc")
+ fileseparator + "Qrels.config");
String qrels = buf.readLine();
// System.out.println(index);
// System.out.println(topics);
// System.out.println(qrels);
TrecRetrieval trecsearch = new TrecRetrieval();
trecsearch.process(index, topics, qrels, appProp
.getProperty("panda.var"),algorithm);
} else if (variance) {
buf = FileReader.openFileReader(appProp.getProperty("panda.etc")
+ fileseparator + "IndexDir.config");
String index = buf.readLine();
buf = FileReader.openFileReader(appProp.getProperty("panda.etc")
+ fileseparator + "Topics.config");
String topics = buf.readLine();
buf = FileReader.openFileReader(appProp.getProperty("panda.etc")
+ fileseparator + "Qrels.config");
String qrels = buf.readLine();
// System.out.println(index);
// System.out.println(topics);
// System.out.println(qrels);
TrecRetrieval trecsearch = new TrecRetrieval();
trecsearch.process_var(index, topics, qrels, appProp
.getProperty("panda.var"));
} else if (variance) {
buf = FileReader.openFileReader(appProp.getProperty("panda.etc")
+ fileseparator + "IndexDir.config");
String index = buf.readLine();
buf = FileReader.openFileReader(appProp.getProperty("panda.etc")
+ fileseparator + "Topics.config");
String topics = buf.readLine();
buf = FileReader.openFileReader(appProp.getProperty("panda.etc")
+ fileseparator + "Qrels.config");
String qrels = buf.readLine();
// System.out.println(index);
// System.out.println(topics);
// System.out.println(qrels);
TrecRetrieval trecsearch = new TrecRetrieval();
trecsearch.process_var(index, topics, qrels, appProp
.getProperty("panda.var"));
} else if (plot) {
buf = FileReader.openFileReader(appProp.getProperty("panda.etc")
+ fileseparator + "IndexDir.config");
String index = buf.readLine();
buf = FileReader.openFileReader(appProp.getProperty("panda.etc")
+ fileseparator + "Topics.config");
String topics = buf.readLine();
buf = FileReader.openFileReader(appProp.getProperty("panda.etc")
+ fileseparator + "Qrels.config");
String qrels = buf.readLine();
// System.out.println(index);
// System.out.println(topics);
// System.out.println(qrels);
TrecRetrieval trecsearch = new TrecRetrieval();
trecsearch.process_plot(index, topics, qrels, appProp
.getProperty("panda.var"));
} else if (indexing) {
buf = FileReader.openFileReader(appProp.getProperty("panda.etc")