Class RandomDiracComb
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.TimeDistribution
,java.io.Serializable
,java.lang.Cloneable
public class RandomDiracComb<T> extends DiracComb<T>
A DiracComb whose rate is determined (uniformly) randomly within the provided bounds.
-
-
Constructor Summary
Constructors Constructor Description RandomDiracComb(RandomGenerator rng, Time start, double minRate, double maxRate)
RandomDiracComb(RandomGenerator rng, double minRate, double maxRate)
-
Method Summary
Modifier and Type Method Description -
Methods inherited from class it.unibo.alchemist.model.timedistributions.DiracComb
cloneOnNewNode, getRate, toString
-
Methods inherited from class it.unibo.alchemist.model.timedistributions.AbstractDistribution
cloneOnNewNode, getNextOccurence, update
-
Methods inherited from class it.unibo.alchemist.model.TimeDistribution
cloneOnNewNode, getNextOccurence, getRate, update
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
RandomDiracComb
RandomDiracComb(RandomGenerator rng, Time start, double minRate, double maxRate)
- Parameters:
rng
- the RandomGeneratorstart
- the start TimeminRate
- the minimum ratemaxRate
- the maximum rate
-
RandomDiracComb
RandomDiracComb(RandomGenerator rng, double minRate, double maxRate)
- Parameters:
rng
- the RandomGeneratorminRate
- the minimum ratemaxRate
- the maximum rate
-
-
-
-