collect

open override fun collect(obs: Double)

Collect on the supplied value

Parameters

obs

a double representing the observation


abstract fun collect(obs: Double, weight: Double)

Collect on the supplied value

Parameters

obs

a double representing the observation

weight

a double representing the weight of the observation


open fun collect(observations: DoubleArray, weights: DoubleArray)

Collects on the values in the supplied array.

Parameters

observations

the values, must not be null

weights

the weights of the observations


Collects on the values returned by the supplied GetValueIfc

Parameters

v

the object that returns the value to be collected

w

the weight associated with the object