|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gov.nist.nlpir.irf.result.ResultForDocMatchingQueryModalityUnit
The result of a search modelling the match between a document and a
query modality unit - at the level of a single document field.
Field Summary | |
private double |
docScore
The score of the document, computed with an index-dependent heuristic (derived from gov.nist.nlpir.irf.index.braf.IoAddrIntern.getScore()) |
private ProxyDocument |
document
The document associated with this result |
private double |
maxRSV
The maximum Retrieval Status Value for any document in this modality |
private int |
numQueryFeatures
Number of features in the query |
private int |
numUniqueQueryFeatures
Number of unique features in the query |
private java.util.Vector |
partialResults
Collection of lower-level results (ResultForDocMatchingQueryCondition) comprised by this result |
private QueryModalityUnit |
QMU
The query modality unit associated with this result |
private double |
RSV
Retrieval status value for the document at this level of result |
Constructor Summary | |
ResultForDocMatchingQueryModalityUnit(QueryModalityUnit QMU,
ProxyDocument document,
double docScore,
java.util.Vector partialResults,
double maxRSV)
Creates a ResultForDocMatchingQueryModalityUnit for the supplied query modality unit, document, score, results and maximum RSV. |
Method Summary | |
void |
addPartialResult(ResultForDocMatchingQueryCondition aPR)
Adds the ResultForDocMatchingQueryCondition to the partialResults. |
int |
getCountOfPartialResults()
Gets number of entries in partialResults |
double |
getDocScore()
Gets the docScore |
ProxyDocument |
getDocument()
Gets the document associated with this result. |
java.util.Vector |
getIndexingFeatures()
Gets a vector of the indexing features comprised by this result |
double |
getMaxRSV()
Gets the maxRSV. |
int |
getNumQueryFeatures()
Gets the number of query features. |
int |
getNumUniqueQueryFeatures()
Gets the number of unique query features |
java.util.Vector |
getPartialResults()
Gets the partialResults. |
QueryModalityUnit |
getQueryModalityUnit()
Gets the query modality unit associated with this result |
double |
getRSV()
Gets the RSV. |
void |
present()
Displays information about this Result |
void |
setMaxRSV(double v)
Sets the maxRSV to the supplied value. |
void |
setNumQueryFeatures(int n)
Sets the number of query features to the supplied value. |
void |
setNumUniqueQueryFeatures(int n)
Sets the number of unique query features to the supplied value. |
void |
setRSV(double r)
Sets the RSV to the supplied value. |
java.lang.String |
toString()
Creates a string representation for a ResultForDocMatchingQueryModalityUnit |
Methods inherited from class java.lang.Object |
|
Field Detail |
private double RSV
private double docScore
private int numQueryFeatures
private int numUniqueQueryFeatures
private QueryModalityUnit QMU
private double maxRSV
private ProxyDocument document
private java.util.Vector partialResults
Constructor Detail |
public ResultForDocMatchingQueryModalityUnit(QueryModalityUnit QMU, ProxyDocument document, double docScore, java.util.Vector partialResults, double maxRSV)
q
- A query modality unit.d
- A document.s
- The document score,results
- partial results. Must be a Vector of
ResultForDocMatchingQueryConditions.mr
- Maximum retrieval status value.Method Detail |
public QueryModalityUnit getQueryModalityUnit()
public ProxyDocument getDocument()
public void setRSV(double r)
r
- The new RSV.public double getRSV()
public void addPartialResult(ResultForDocMatchingQueryCondition aPR)
aPR
- result for doc matching query condition.public int getCountOfPartialResults()
public double getDocScore()
public void setNumQueryFeatures(int n)
n
- The new number of query features.public int getNumQueryFeatures()
public void setNumUniqueQueryFeatures(int n)
n
- The new number unique of query features.public int getNumUniqueQueryFeatures()
public java.util.Vector getIndexingFeatures()
public void setMaxRSV(double v)
v
- The new maxRSV.public double getMaxRSV()
public java.util.Vector getPartialResults()
public void present()
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |