|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gov.nist.nlpir.irf.result.ResultForDocMatchingQueryCondition
The result of a search modelling the match between a document and a query
condition - at the level of a feature (e.g., a keyword in a text document
query)
| Field Summary | |
private java.util.Vector |
basicResults
The collection of BasicRetrievalResults contributing to this result |
private double |
combinedScore
A value reflecting some combination of the scores of features in the document which match features in the query |
private QueryCondition |
condition
The query condition met by this result |
private ProxyDocument |
doc
The document associated with this result |
private double |
weightOfFeatureInDocument
The weight of a feature in the document. |
private double |
weightOfFeatureInQuery
The weight of a feature in the query. |
| Constructor Summary | |
ResultForDocMatchingQueryCondition(QueryCondition condition,
ProxyDocument doc,
java.util.Vector basicResults)
Creates a ResultForDocMatchingQueryCondition for the supplied query condition, document and results. |
|
| Method Summary | |
java.util.Vector |
getBasicResults()
Gets the basicResults. |
double |
getCombinedScore()
Gets the combinedScore |
ProxyDocument |
getDocument()
Gets the document. |
QueryCondition |
getQueryCondition()
Gets the condition. |
double |
getWeightOfFeatureInDocument()
Gets the weightOfFeatureInDocument. |
double |
getWeightOfFeatureInQuery()
Gets the weightOfFeatureInQuery. |
void |
setBasicResults(java.util.Vector results)
Sets the basicResults to the supplied value. |
void |
setCombinedScore(double idf)
Sets the combinedScore to the supplied value. |
void |
setWeightOfFeatureInDocument(double w)
Sets the weightOfFeatureInDocument to the supplied value. |
void |
setWeightOfFeatureInQuery(double w)
Sets the weightOfFeatureInQuery to the supplied value. |
java.lang.String |
toString()
Creates a string representation for a ResultForDocMatchingQueryCondition |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
private QueryCondition condition
private ProxyDocument doc
private double combinedScore
private double weightOfFeatureInDocument
private double weightOfFeatureInQuery
private java.util.Vector basicResults
| Constructor Detail |
public ResultForDocMatchingQueryCondition(QueryCondition condition,
ProxyDocument doc,
java.util.Vector basicResults)
c - A query condition.d - A document.results - results.| Method Detail |
public java.lang.String toString()
public void setCombinedScore(double idf)
idf - The new combinedScore.public double getCombinedScore()
public QueryCondition getQueryCondition()
public ProxyDocument getDocument()
public void setWeightOfFeatureInDocument(double w)
w - The new weight of the feature in the document.public double getWeightOfFeatureInDocument()
public void setWeightOfFeatureInQuery(double w)
w - The new weight of the feature in the query.public double getWeightOfFeatureInQuery()
public java.util.Vector getBasicResults()
public void setBasicResults(java.util.Vector results)
results - the new basic result.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||