org.gscg.experiment
Class DistTriangularDiscrete
java.lang.Object
nl.tudelft.simulation.jstats.distributions.Dist
nl.tudelft.simulation.jstats.distributions.DistContinuous
nl.tudelft.simulation.jstats.distributions.DistTriangular
org.gscg.experiment.DistTriangularDiscrete
- All Implemented Interfaces:
- java.io.Serializable
- public class DistTriangularDiscrete
- extends nl.tudelft.simulation.jstats.distributions.DistTriangular
The discrete Triangular distribution
Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX
Delft, the Netherlands. All rights reserved.
See for project information
www.simulation.tudelft.nl .
The source code and binary code of this software is proprietary information
of Delft University of Technology.
- Since:
- 1.0.0
- Version:
- $Revision: 1.1 $ $Date: 2005/06/16 12:34:00 $
- Author:
- Alexander
Verbraeck
- See Also:
- Serialized Form
Constructor Summary |
DistTriangularDiscrete(nl.tudelft.simulation.jstats.streams.StreamInterface stream,
double a,
double b,
double c)
|
Method Summary |
double |
draw()
|
double |
getA()
|
double |
getB()
|
double |
getC()
|
nl.tudelft.simulation.jstats.streams.StreamInterface |
getStream()
|
Methods inherited from class nl.tudelft.simulation.jstats.distributions.DistTriangular |
probDensity, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DistTriangularDiscrete
public DistTriangularDiscrete(nl.tudelft.simulation.jstats.streams.StreamInterface stream,
double a,
double b,
double c)
- Parameters:
stream
- the streama
- long ab
- long bc
- long c
getA
public double getA()
- Returns:
- Returns the a.
getB
public double getB()
- Returns:
- Returns the b.
getC
public double getC()
- Returns:
- Returns c.
getStream
public nl.tudelft.simulation.jstats.streams.StreamInterface getStream()
- Returns:
- Returns the stream.
draw
public double draw()
- See Also:
DistTriangular.draw()
Copyright © 2002-2005 Delft University of Technology, the Netherlands. All Rights Reserved.