All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.cloudbus.cloudsim.distributions.WeibullDistr Maven / Gradle / Ivy

Go to download

CloudSim Plus: A modern, highly extensible and easier-to-use Java 8 Framework for Modeling and Simulation of Cloud Computing Infrastructures and Services

There is a newer version: 8.0.0
Show newest version
/*
 * Title:        CloudSim Toolkit
 * Descripimport java.util.Random;
mulation) Toolkit for Modeling and Simulation of Clouds
 * Licence:      GPL - http://www.gnu.org/copyleft/gpl.html
 *
 * Copyright (c) 2009-2012, The University of Melbourne, Australia
 */
package org.cloudbus.cloudsim.distributions;

import org.apache.commons.math3.distribution.WeibullDistribution;

/**
 * A pseudo random number generator following the
 * Weibull
 * distribution.
 *
 * @author Marcos Dias de Assuncao
 * @since CloudSim Toolkit 1.0
 */
public class WeibullDistr extends ContinuousDistributionAbstract {

    /**
     * Instantiates a new Weibull pseudo random number generator.
     *
     * @param seed the seed
     * @param alpha the alpha
     * @param beta the beta
     */
    public WeibullDistr(long seed, double alpha, double beta) {
        super(new WeibullDistribution(alpha, beta), seed);
    }

    /**
     * Instantiates a new Weibull pseudo random number generator.
     *
     * @param alpha the alpha
     * @param beta the beta
     */
    public WeibullDistr(double alpha, double beta) {
        this(-1, alpha, beta);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy