|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
E
- the class representing the results of the operationpublic interface Operation<E>
This interface represents an operation on the SemanticSpace
of a Corpus
.
Method Summary | |
---|---|
void |
addOperationListener(OperationListener listener)
|
Corpus |
getBackgroundKnowledgeCorpus()
|
Corpus |
getCorpus()
|
int |
getMaxResults()
|
java.lang.String |
getName()
|
java.util.List<E> |
getResults()
|
java.lang.String |
getResultsCSVString()
|
int |
getResultsNumber()
|
java.lang.String[][] |
getResultsStringTable()
|
java.lang.Object[][] |
getResultsTable()
|
java.lang.Object[] |
getResultsTableHeader()
|
java.lang.String |
getResultsXML()
|
long |
getTimeElapsed()
|
void |
printResultsCSV()
Prints the results on the console using a comma as separator |
void |
printResultsMatlab()
Prints the results on the console a'la Matlab |
void |
removeOperationListener(OperationListener listener)
|
void |
setBackgroundKnowledgeCorpus(Corpus backgroundKnowledgeCorpus)
|
void |
setCorpus(Corpus corpus)
|
void |
setMaxResults(int maxResults)
|
void |
start()
Starts the operation execution |
Method Detail |
---|
java.lang.String getName()
void setCorpus(Corpus corpus)
corpus
- sets the Corpus
that will be used for the operationCorpus getCorpus()
Corpus
used for the operationlong getTimeElapsed()
void start() throws java.lang.Exception
java.lang.Exception
int getResultsNumber()
java.util.List<E> getResults()
java.lang.Object[][] getResultsTable()
java.lang.String[][] getResultsStringTable()
java.lang.Object[] getResultsTableHeader()
void setMaxResults(int maxResults)
maxResults
- the maximum results the operation will returnint getMaxResults()
void printResultsCSV()
java.lang.String getResultsCSVString()
java.lang.String getResultsXML()
void printResultsMatlab()
void setBackgroundKnowledgeCorpus(Corpus backgroundKnowledgeCorpus)
Corpus getBackgroundKnowledgeCorpus()
void addOperationListener(OperationListener listener)
void removeOperationListener(OperationListener listener)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |