1D sampler, abstract base class for Sampler like Sampler1DUnif, Sampler1DRfun, Sampler1DCateg and Sampler1DNormal.
paradox::Sampler
-> Sampler1D
param
(ParamSet
)
Returns the one-dimensional ParamSet
that is sampled from.
Inherited methods
new()
Creates a new instance of this R6 class.
Note that this object is typically constructed via derived classes,
e.g., Sampler1DUnif
.
Sampler1D$new(param)
param
(ParamSet
)
Domain / support of the distribution we want to sample from.
Must be one-dimensional.
clone()
The objects of this class are cloneable with this method.
Sampler1D$clone(deep = FALSE)
deep
Whether to make a deep clone.
Other Sampler:
Sampler
,
Sampler1DCateg
,
Sampler1DNormal
,
Sampler1DRfun
,
Sampler1DUnif
,
SamplerHierarchical
,
SamplerJointIndep
,
SamplerUnif