WeibullDistr (cloudsim 3.1-SNAPSHOT API)

org.cloudbus.cloudsim.distributions

## Class WeibullDistr

- java.lang.Object
- - org.cloudbus.cloudsim.distributions.WeibullDistr

- All Implemented Interfaces:
    ContinuousDistribution

      public class WeibullDistr
      extends Object
      implements ContinuousDistribution

  The Class WeibullDistr.
  Since:
    CloudSim Toolkit 1.0
  Author:
    Marcos Dias de Assuncao

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `WeibullDistr(double alpha, double beta)` Instantiates a new weibull distr.
    `WeibullDistr(Random seed, double alpha, double beta)` Instantiates a new weibull distr.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `double` | `sample()` Sample the random number generator.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### WeibullDistr

          public WeibullDistr(Random seed,
                      double alpha,
                      double beta)

      Instantiates a new weibull distr.
      Parameters:
        `seed` - the seed
        `alpha` - the alpha
        `beta` - the beta

    - #### WeibullDistr

          public WeibullDistr(double alpha,
                      double beta)

      Instantiates a new weibull distr.
      Parameters:
        `alpha` - the alpha
        `beta` - the beta

  - ### Method Detail

    - #### sample

          public double sample()

      Description copied from interface: `ContinuousDistribution`
      Sample the random number generator.
      Specified by:
        `sample` in interface `ContinuousDistribution`
      Returns:
        The sample

Copyright © 2013 The Cloud Computing and Distributed Systems (CLOUDS) Laboratory, The University of Melbourne. All Rights Reserved.