Package edu.brown.rand

Examples of edu.brown.rand.DefaultRandomGenerator


     * testPop
     */
    @SuppressWarnings("unchecked")
    public void testPop() {
        String expected[] = new String[11];
        DefaultRandomGenerator rng = new DefaultRandomGenerator();
        for (int i = 0; i < expected.length; i++) {
            expected[i] = rng.astring(1, 32);
        } // FOR
       
        Collection<String> collections[] = new Collection[] {
            CollectionUtil.addAll(new ListOrderedSet<String>(), expected),
            CollectionUtil.addAll(new HashSet<String>(), expected),
View Full Code Here


            String msg = String.format("Unable to start benchmark. The data directory %s does not exist",
                                       this.airline_data_dir.getAbsolutePath());
            throw new RuntimeException(msg);
        }
       
        this.rng = new DefaultRandomGenerator();
        this.profile = new SEATSProfile(this.getCatalogContext(), this.rng);
        this.profile.scale_factor = this.getScaleFactor();
       
        CatalogContext catalogContext = this.getCatalogContext();
        int table_ctr = 0;
View Full Code Here

    }

    public SEATSClient(String[] args) {
        super(args);

        this.rng = new DefaultRandomGenerator();
        this.config = SEATSConfig.createConfig(this.getCatalogContext(), m_extraParams);
        this.profile = new SEATSProfile(this.getCatalogContext(), this.rng);
   
        if (this.noClientConnections() == false) {
            this.profile.loadProfile(this.getClientHandle());
View Full Code Here

TOP

Related Classes of edu.brown.rand.DefaultRandomGenerator

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.