|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gov.nist.nlpir.irf.result.BasicRetrievalResult
Represents a the lowest level result of a search - a single indexing feature (from within a single field within a single document within a single index)
IndexingFeature
Field Summary | |
private ProxyIndexingFeature |
IF
The indexing feature which is the basic result of the search. |
private double |
matchingDegree
The degree to which the indexing feature in this result matches the corresponding feature in the query. |
private double |
score
The score held in the index for this feature. |
Constructor Summary | |
BasicRetrievalResult(ProxyIndexingFeature IF)
Creates a BasicRetrievalResult, but assumes the score and the matching degree are 0. |
|
BasicRetrievalResult(ProxyIndexingFeature IF,
double matchingDegree,
double score)
Creates a BasicRetrievalResult with the score and the degree given. |
Method Summary | |
ProxyIndexingFeature |
getIndexingFeature()
Retrieves the Indexing Feature. |
double |
getMatchingDegree()
Gets the matching degree. |
double |
getScore()
Gets the score. |
void |
setMatchingDegree(double matchingDegree)
Sets the matching degree. |
void |
setScore(double score)
Sets the score. |
java.lang.String |
toString()
Returns string representation of BasicRetrievalResult including indexing feature, matching degree, and score. |
Methods inherited from class java.lang.Object |
|
Field Detail |
private double matchingDegree
private double score
private ProxyIndexingFeature IF
Constructor Detail |
public BasicRetrievalResult(ProxyIndexingFeature IF, double matchingDegree, double score)
IF
- the Indexing Feature concernedmatchingDegree
- the matching degreescore
- the score of the represented matchingpublic BasicRetrievalResult(ProxyIndexingFeature IF)
IF
- the Indexing Feature concernedMethod Detail |
public ProxyIndexingFeature getIndexingFeature()
public double getMatchingDegree()
public double getScore()
public void setMatchingDegree(double matchingDegree)
md
- matching degreepublic void setScore(double score)
score
- the value of the scorepublic java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |