Hierarchical sampling for arbitrary param sets with dependencies, where the user specifies 1D samplers per param.
Dependencies are topologically sorted, parameters are then sampled in topological order,
and if dependencies do not hold, values are set to NA
in the resulting data.table
.
R6::R6Class inheriting from Sampler.
smpl = SamplerHierarchical$new(param_set, samplers)
See Sampler. Additionally, the class provides:
See Sampler.
Other Sampler: Sampler1DCateg
,
Sampler1DNormal
,
Sampler1DRfun
, Sampler1DUnif
,
Sampler1D
, SamplerJointIndep
,
SamplerUnif
, Sampler