|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectefxtools.sample.application.Experimenter
public class Experimenter
This class allows to configure and run an experiment for the filtering framework and to print the performance results of this experiment afterwards. An application can create an object of this class and then call the corresponding methods.
| Constructor Summary | |
|---|---|
Experimenter(java.lang.String dataPath,
java.lang.String cpePath,
java.lang.String aePath,
java.lang.String queryString,
java.lang.String queryName,
int repetitions,
boolean doFiltering,
int[] relationTypes)
The constructor configures the experiment based on the given paths, the given query, the given number of repetitions and the indicator for whether to do filtering. |
|
| Method Summary | |
|---|---|
void |
finish()
Destroys the applied analysis engine and collection processing engine. |
void |
printPerformanceResults()
Prints the rounded performance results of this experiment using the given name of the query for the title. |
void |
runExperiment()
Runs the experiment. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Experimenter(java.lang.String dataPath,
java.lang.String cpePath,
java.lang.String aePath,
java.lang.String queryString,
java.lang.String queryName,
int repetitions,
boolean doFiltering,
int[] relationTypes)
throws java.lang.Exception
dataPath - The path of directory of the dataset to be processedcpePath - The path of the collection processing engine descriptoraePath - The path of the analysis engine processorqueryString - The query as a stringqueryName - The name of the query used for printingrepetitions - The number of repetitionsdoFiltering - Whether to do filteringrelationTypes - The relation types to be printed
java.lang.Exception - Thrown if I/O problems occur| Method Detail |
|---|
public void runExperiment()
throws java.lang.Exception
java.lang.Exception - Thrown if analysis or collection processing problems occurpublic void finish()
public void printPerformanceResults()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||