-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.interfaces.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 doublegetRate()final DiracComb<T>cloneOnNewNode(Node<T> destination, Time currentTime)StringtoString()-
Methods inherited from class it.unibo.alchemist.model.implementations.timedistributions.AbstractDistribution
getNextOccurence, update -
Methods inherited from class it.unibo.alchemist.model.interfaces.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
-
-
-
-