This is the abstract base class for sampling objects like Sampler1D, SamplerHierarchical or SamplerJointIndep.
param_set
(ParamSet)
Domain / support of the distribution we want to sample from.
new()
Creates a new instance of this R6 class.
Note that this object is typically constructed via derived classes, e.g., Sampler1D.
Sampler$new(param_set)
param_set
(ParamSet)
Domain / support of the distribution we want to sample from.
ParamSet is cloned on construction.
n
(integer(1)
).
Design.
...
(ignored).
...
(ignored).
clone()
The objects of this class are cloneable with this method.
Sampler$clone(deep = FALSE)
deep
Whether to make a deep clone.
Other Sampler:
Sampler1DCateg
,
Sampler1DNormal
,
Sampler1DRfun
,
Sampler1DUnif
,
Sampler1D
,
SamplerHierarchical
,
SamplerJointIndep
,
SamplerUnif