EventGeneratorTimeBtwEventsRVIfc

Properties

Link copied to clipboard

Controls the time between event random source. Must not always evaluate to 0.0, if the current setting of the maximum number of events is infinite (Long.MAX_VALUE). This is only for the current replication.

Functions

Link copied to clipboard
abstract fun setTimeBetweenEvents(timeBtwEvents: RVariableIfc, maxNumEvents: Long = Long.MAX_VALUE)

Sets the time between events and the maximum number of events for the generator. These two parameters are dependent. The time between events cannot always evaluate to 0.0 if the maximum number of events is infinite (Long.MAX_VALUE). This method only changes these parameters for the current replication. The changes take effect when the next event is generated. If current number of events that have been generated is greater than or equal to the supplied maximum number of events, the generator will be turned off.