|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.galagosearch.core.eval.RetrievalEvaluator.Document
public static class RetrievalEvaluator.Document
This class represents a document returned by a retrieval system. It can be subclassed if you want to add system-dependent information to the document representation.
| Field Summary | |
|---|---|
java.lang.String |
documentNumber
The document identifier. |
int |
rank
The rank of the document in a retrieved ranked list. |
double |
score
The score given to this document by the retrieval system. |
| Constructor Summary | |
|---|---|
RetrievalEvaluator.Document(java.lang.String documentNumber)
Constructs a new Document object. |
|
RetrievalEvaluator.Document(java.lang.String documentNumber,
int rank,
double score)
Constructs a new Document object. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int rank
public java.lang.String documentNumber
public double score
| Constructor Detail |
|---|
public RetrievalEvaluator.Document(java.lang.String documentNumber,
int rank,
double score)
documentNumber - The document identifier.rank - The rank of the document in a retrieved ranked list.score - The score given to this document by the retrieval system.public RetrievalEvaluator.Document(java.lang.String documentNumber)
documentNumber - The document identifier.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||