org.cloudsimplus.distributions.ContinuousDistribution Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cloudsim-plus Show documentation
Show all versions of cloudsim-plus Show documentation
CloudSim Plus: A modern, highly extensible and easier-to-use Java 8+ Framework for Modeling and Simulation of Cloud Computing Infrastructures and Services
The newest version!
/*
* Title: CloudSim Toolkit
* Description: CloudSim (Cloud Simulation) 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.cloudsimplus.distributions;
import org.apache.commons.math3.distribution.RealDistribution;
/**
* Interface to be implemented by a Pseudo-Random Number Generator (PRNG)
* that follows a defined statistical continuous distribution.
*
* @author Marcos Dias de Assuncao
* @author Manoel Campos da Silva Filho
* @since CloudSim Toolkit 1.0
*/
public interface ContinuousDistribution extends StatisticalDistribution, RealDistribution {
/**
* An attribute that implements the Null Object Design Pattern for {@link ContinuousDistribution}
* objects.
*/
ContinuousDistribution NULL = new ContinuousDistributionNull();
@Override
default double sample() {
return StatisticalDistribution.super.sample();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy