Package edu.brown.benchmark.wikipedia.util

Examples of edu.brown.benchmark.wikipedia.util.WikipediaUtil


        this.callbacks = new WikipediaCallback[num_txns];
        for (int i = 0; i < num_txns; i++) {
            this.callbacks[i] = new WikipediaCallback(i);
        } // FOR
       
        this.util = new WikipediaUtil(this.randGenerator, this.getScaleFactor());
       
        this.flat_users = new Flat(this.randGenerator, 1, util.num_users);
        this.zipf_pages = new Zipf(this.randGenerator, 1, util.num_pages, WikipediaConstants.USER_ID_SIGMA);
        this.flat_pages = new Flat(this.randGenerator, 1, util.num_pages);
    }
View Full Code Here


     * @param benchmark
     * @param c
     */
    public WikipediaLoader(String[] args) {
        super(args);
        this.util = new WikipediaUtil(this.randGenerator, this.getScaleFactor());
       
        this.user_revision_ctr = new int[this.util.num_users];
        this.page_last_rev_id = new int[this.util.num_pages];
        this.page_last_rev_length = new int[this.util.num_pages];
       
View Full Code Here

TOP

Related Classes of edu.brown.benchmark.wikipedia.util.WikipediaUtil

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.