turnOnGenerator

abstract fun turnOnGenerator(t: Double = 0.0)

If the generator was not started upon initialization at the beginning of a replication, then this method can be used to start the generator

The generator will be started t time units after the call

If this method is used when the generator is already started it does nothing. If this method is used after the generator is done it does nothing. If this method is used after the generator has been suspended it does nothing. Use suspend() and resume() to suspend and resume a generator that has already been started.

Parameters

t

The time until the generator should be turned on


abstract fun turnOnGenerator(r: RandomIfc)

If the generator was not started upon initialization at the beginning of a replication, then this method can be used to start the generator

The generator will be started r.getValue() time units after the call

If this method is used when the generator is already started it does nothing. If this method is used after the generator is done it does nothing. If this method is used after the generator has been suspended it does nothing. Use suspend() and resume() to suspend and resume a generator that has already been started.

Parameters

r

The time until the generator should be turned on