org.terrier.structures.postings
Interface BlockPosting

All Superinterfaces:
Posting
All Known Implementing Classes:
BlockFieldIterablePosting, BlockFieldORIterablePosting, BlockFieldPostingImpl, BlockFieldPostingInRun.bfPIRPostingIterator, BlockIterablePosting, BlockORIterablePosting, BlockPostingImpl, BlockPostingInRun.BlockPIRPostingIterator

public interface BlockPosting
extends Posting

Interface implemented by Posting objects that have position information recorded. Position information can be obtained from the getPositions() method.

Since:
3.0
Author:
Craig Macdonald

Method Summary
 int[] getPositions()
          Return positions of occurrences
 
Methods inherited from interface org.terrier.structures.postings.Posting
asWritablePosting, getDocumentLength, getFrequency, getId, setId
 

Method Detail

getPositions

int[] getPositions()
Return positions of occurrences



Terrier 3.5. Copyright © 2004-2011 University of Glasgow