Package org.terrier.structures.postings

Examples of org.terrier.structures.postings.BlockPostingImpl


    public int[] getPositions() {
      return blockIds;
    }
   
    public WritablePosting asWritablePosting() {
      WritablePosting bp = new BlockPostingImpl(docid, frequency, blockIds);
      return bp;
    }
View Full Code Here


      return blockIds;
    }

    @Override
    public WritablePosting asWritablePosting() {
      BlockPostingImpl fbp = new BlockPostingImpl(termIds[i], getFrequency(), getPositions());
      return fbp;
    }   
View Full Code Here

TOP

Related Classes of org.terrier.structures.postings.BlockPostingImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.