Package benchmarks.webgraph

Examples of benchmarks.webgraph.Webdoc


    public void run()
    {
      Map<Integer, Integer> counts = pre_results[index] = new PDefaultMap<Integer, Integer>(0);

      for (int i = start; i < stop; i++) {
        Webdoc doc = Generator.documents_array[i];

        for (int word_id : doc.words) {
          counts.put(Env.canonicalInteger(word_id),
               counts.get(word_id) + 1);
        }
View Full Code Here

TOP

Related Classes of benchmarks.webgraph.Webdoc

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.