SimJava
v2.0

eduni.simjava.distributions
Interface ContinuousGenerator

All Superinterfaces:
Generator
All Known Implementing Classes:
Sim_betaprime_obj, Sim_gamma_obj, Sim_negexp_obj, Sim_pareto_obj, Sim_random_obj, Sim_tstudent_obj, Sim_uniform_obj, Sim_weibull_obj, Sim_normal_obj, Sim_f_obj, Sim_beta_obj, Sim_invgamma_obj, Sim_lognormal_obj, Sim_erlang_obj, Sim_cauchy_obj, Sim_logistic_obj, Sim_chisquare_obj

public interface ContinuousGenerator
extends Generator

This interface defines the functionality that should be provided by random number generators based on continuous distributions.


Method Summary
 double sample()
          Sample the random number generator.
 
Methods inherited from interface eduni.simjava.distributions.Generator
get_name, get_seed, set_seed
 

Method Detail

sample

public double sample()
Sample the random number generator.
Returns:
The sample

SimJava
v2.0

The University of Edinburgh, 2002