swarm.random
Interface ExponentialDist

All Known Implementing Classes:
ExponentialDistImpl

public interface ExponentialDist
extends DoubleDistribution, DoubleDistributionS

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
getCurrentCount, getGenerator, getOptionsInitialized, getVirtualGenerator
 
Methods inherited from interface swarm.objectbase.SwarmObject
getCompleteProbeMap, getProbeForMessage, getProbeForVariable, getProbeMap
 
Methods inherited from interface swarm.random.InternalState
getMagic, getStateSize
 
Methods inherited from interface swarm.defobj.Drop
drop
 
Methods inherited from interface swarm.defobj.DefinedObject
compare, describe, describeID, getDisplayName, getTypeName, getZone, perform, perform$with, perform$with$with, perform$with$with$with, respondsTo, setDisplayName, xfprint, xfprintid, xprint, xprintid
 
Methods inherited from interface swarm.defobj.GetName
getName
 

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.