NHPPTimeBtwEventRV

open class NHPPTimeBtwEventRV(parent: ModelElement, rateFunction: InvertibleCumulativeRateFunctionIfc, lastRate: Double = Double.NaN, streamNum: Int = 0, name: String? = null) : ModelElement, StreamNumberIfc, SampleIfc, GetValueIfc, PreviousValueIfc, RandomElementIfc(source)

Parameters

parent

the parent

rateFunction

the rate function

lastRate

the last rate

name

the name

Inheritors

Constructors

Link copied to clipboard
constructor(parent: ModelElement, rateFunction: InvertibleCumulativeRateFunctionIfc, lastRate: Double = Double.NaN, streamNum: Int = 0, name: String? = null)

Properties

Link copied to clipboard

If true, the stream will automatically participate in having its stream advanced to the next sub-stream via stream managers

Link copied to clipboard
open override var antithetic: Boolean

Tells the stream to start producing antithetic variates

Link copied to clipboard
open override var previousValue: Double

The previous value from the sequence of values a double representing the last value in the sequence

Link copied to clipboard

the rate function for the random variable.

Link copied to clipboard
open override var resetStartStreamOption: Boolean

If true, the stream will automatically participate in having its stream reset to its start stream via stream managers

Link copied to clipboard
open override val streamNumber: Int

Functions

Link copied to clipboard
open override fun advanceToNextSubStream()

Positions the RNG at the beginning of its next substream

Link copied to clipboard
open override fun resetStartStream()

The resetStartStream method will position the RNG at the beginning of its stream. This is the same location in the stream as assigned when the RNG was created and initialized.

Link copied to clipboard
open override fun resetStartSubStream()

Resets the position of the RNG at the start of the current substream

Link copied to clipboard
open override fun sample(): Double
Link copied to clipboard
open override fun value(): Double

This method simply returns the value.