swarm.random
Interface ExponentialDist

All Known Implementing Classes:
ExponentialDistImpl

public abstract interface ExponentialDist
extends DoubleDistributionS, DoubleDistribution

Exponential distribuiton . A well-known continuous probability distribution returning doubles.


Method Summary
 double getMean()
          The getMean method returns the mean of the distribution.
 double getSampleWithMean(double mean)
          The getSampleWithMean: method returns a sample value from a distribution with the specified mean.
 
Methods inherited from interface swarm.random.DoubleDistribution
getDoubleSample
 
Methods inherited from interface swarm.random.ProbabilityDistribution
getGenerator, getOptionsInitialized, getVirtualGenerator
 
Methods inherited from interface swarm.objectbase.SwarmObject
getCompleteProbeMap, getProbeForMessage, getProbeForVariable, getProbeMap
 
Methods inherited from interface swarm.random.InternalState
describe, getMagic, getName, getStateSize
 
Methods inherited from interface swarm.defobj.Drop
drop
 
Methods inherited from interface swarm.defobj.DefinedObject
compare, describeID, getDisplayName, getTypeName, getZone, perform, perform$with, perform$with$with, perform$with$with$with, respondsTo, setDisplayName, xfprint, xfprintid, xprint, xprintid
 

Method Detail

getMean

public double getMean()
The getMean method returns the mean of the distribution.

getSampleWithMean

public double getSampleWithMean(double mean)
The getSampleWithMean: method returns a sample value from a distribution with the specified mean.