|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcern.colt.PersistentObject
cern.jet.random.AbstractDistribution
cern.jet.random.AbstractContinousDistribution
cern.jet.random.Normal
jas.random.NormalDistribution
public class NormalDistribution
Well known probability distribution. This class is a wrapper for the Normal class of the COLT library. See cern.jet.random.Normal API documentation for more details.
Title: JAS
Description: Java Agent-based Simulation library
Copyright (C) 2002 Michele Sonnessa
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
| Constructor Summary | |
|---|---|
NormalDistribution(double mean,
double standardDeviation)
Create a normal random generator with given parameters and the default generator of JAS engine (Sim.getRnd() generator). |
|
NormalDistribution(double mean,
double standardDeviation,
cern.jet.random.engine.RandomEngine randomGenerator)
Create a normal random generator with given parameters and a given generator. |
|
| Method Summary | |
|---|---|
static double |
staticNextDouble(double mean,
double standardDeviation)
Unsupported operation. |
| Methods inherited from class cern.jet.random.Normal |
|---|
cdf, nextDouble, nextDouble, pdf, setState, toString |
| Methods inherited from class cern.jet.random.AbstractDistribution |
|---|
apply, apply, clone, makeDefaultGenerator, nextInt |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NormalDistribution(double mean,
double standardDeviation)
mean - Well known parameter of Normal distribution.standardDeviation - Well known parameter of Normal distribution.
public NormalDistribution(double mean,
double standardDeviation,
cern.jet.random.engine.RandomEngine randomGenerator)
mean - Well known parameter of Normal distribution.standardDeviation - Well known parameter of Normal distribution.randomGenerator - A random number generator. It is taken
from COLT library. See cern.jet.random.engine.RandomEngine for
more details.| Method Detail |
|---|
public static double staticNextDouble(double mean,
double standardDeviation)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||