Package org.terrier.matching.daat
Class FatCandidateResult
- java.lang.Object
-
- org.terrier.matching.daat.CandidateResult
-
- org.terrier.matching.daat.FatCandidateResult
-
- All Implemented Interfaces:
java.lang.Comparable<CandidateResult>
public class FatCandidateResult extends CandidateResult
A version ofCandidateResult
suitable for use within the Fat framework byFatCandidateResultSet
.- Since:
- 4.0
- Author:
- Eric Sutherland, Craig Macdonald
-
-
Field Summary
Fields Modifier and Type Field Description protected WritablePosting[]
postings
-
Constructor Summary
Constructors Constructor Description FatCandidateResult(int id, int postingCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WritablePosting[]
getPostings()
void
setPosting(int term, WritablePosting p)
-
Methods inherited from class org.terrier.matching.daat.CandidateResult
compareTo, equals, getDocId, getOccurrence, getScore, hashCode, updateOccurrence, updateScore
-
-
-
-
Field Detail
-
postings
protected WritablePosting[] postings
-
-
Method Detail
-
setPosting
public void setPosting(int term, WritablePosting p)
-
getPostings
public WritablePosting[] getPostings()
-
-