Package edu.cornell.lassp.houle.RngPack

Examples of edu.cornell.lassp.houle.RngPack.Ranecu


    /** the generator for generating uniformly
     * distributed random number within [0, 1]. */
    protected RandomElement randomEle;

    public Distribution() {
        randomEle = new Ranecu();
    }
View Full Code Here


    public Distribution() {
        randomEle = new Ranecu();
    }

    public Distribution(int seed1, int seed2) {
        randomEle = new Ranecu(seed1, seed2);
    }
View Full Code Here

                || generatorClassValue.equals("DRand")) {
            _randomNumberGenerator = new DRand((int) seedValue);
        } else if (generatorClassValue.equals("MersenneTwister (MT19937)")) {
            _randomNumberGenerator = new MersenneTwister((int) seedValue);
        } else if (generatorClassValue.equals("Ranecu")) {
            _randomNumberGenerator = new Ranecu((int) seedValue);
        } else if (generatorClassValue.equals("Ranlux")) {
            _randomNumberGenerator = new Ranlux((int) seedValue);
        } else if (generatorClassValue.equals("Ranmar")) {
            _randomNumberGenerator = new Ranmar((int) seedValue);
        }
View Full Code Here

TOP

Related Classes of edu.cornell.lassp.houle.RngPack.Ranecu

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.