|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eml.sir.retr.SearchResult
The result that a SearchRanker creates.
Constructor Summary | |
SearchResult()
Create a new SearchResult instance. |
Method Summary | |
void |
createAlphabeticalFile(java.lang.String fileName)
Create human readable file, ordered alphabeticaly. |
void |
createExplanationFile(java.lang.String fileName)
Create explanation file. |
void |
createRankedFile(java.lang.String fileName)
Create human readable file, ordered by relatedness. |
static void |
createTrecFile(java.util.ArrayList results,
java.lang.String fileName)
Create TREC file. |
void |
setAlphabet(java.util.ArrayList alphabet)
Set the alphabet. |
void |
setExplanations(java.util.HashMap explanations)
Set the explanations. |
void |
setIndexProperties(IndexProperties ip)
Set the index properties. |
void |
setProfNames(java.util.HashMap profNames)
Set the profession names. |
void |
setQueryFile(java.lang.String queryFile)
Set the query file. |
void |
setQueryGenerator(QueryGenerator qg)
Set the query generator. |
void |
setQueryString(java.lang.String queryString)
Set the query string. |
void |
setRanking(java.util.ArrayList ranking)
Set the ranking list. |
void |
setScores(java.util.HashMap scores)
Set the scores map. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SearchResult()
Method Detail |
public void setQueryFile(java.lang.String queryFile)
public void setIndexProperties(IndexProperties ip)
public void setQueryGenerator(QueryGenerator qg)
public void setAlphabet(java.util.ArrayList alphabet)
public void setExplanations(java.util.HashMap explanations)
public void setProfNames(java.util.HashMap profNames)
public void setQueryString(java.lang.String queryString)
public void setRanking(java.util.ArrayList ranking)
public void setScores(java.util.HashMap scores)
public void createRankedFile(java.lang.String fileName) throws java.io.IOException
java.io.IOException
public void createAlphabeticalFile(java.lang.String fileName) throws java.io.IOException
java.io.IOException
public static void createTrecFile(java.util.ArrayList results, java.lang.String fileName) throws java.io.IOException
results
- List of SearchResult instances in ranking order.
java.io.IOException
public void createExplanationFile(java.lang.String fileName) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |