Package edu.brown.rand

Examples of edu.brown.rand.WrappingRandomDistribution


            // starting at the middle of A_ID
            // It's kind of lame but it's something for now
            long num_a_records = Math.round(MarkovConstants.TABLESIZE_TABLEA * m_scalefactor);
            RandomDistribution.Zipf zipf = new RandomDistribution.Zipf(m_rng, 0, (int) num_a_records, 1.001d);

            this.rands = new WrappingRandomDistribution[] { new WrappingRandomDistribution(zipf, 0), new WrappingRandomDistribution(zipf, (int) (num_a_records / 2.0)), };
        }
View Full Code Here

TOP

Related Classes of edu.brown.rand.WrappingRandomDistribution

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.