Class DiracComb
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.TimeDistribution
,java.io.Serializable
,java.lang.Cloneable
public class DiracComb<T> extends AbstractDistribution<T>
A DiracComb is a sequence of events that happen every fixed time interval.
-
-
Method Summary
Modifier and Type Method Description final double
getRate()
final DiracComb<T>
cloneOnNewNode(@Nonnull() Node<T> destination, @Nonnull() Time currentTime)
String
toString()
-
Methods inherited from class it.unibo.alchemist.model.timedistributions.AbstractDistribution
getNextOccurence, update
-
Methods inherited from class it.unibo.alchemist.model.TimeDistribution
cloneOnNewNode, getNextOccurence, update
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
DiracComb
DiracComb(Time start, double rate)
- Parameters:
start
- initial timerate
- how many events should happen per time unit
-
DiracComb
DiracComb(double rate)
- Parameters:
rate
- how many events should happen per time unit
-
-
-
-