Sampler for a single p_uty
that samples weight-matrices
as used by ScalorFixedProjection
.
paradox::Sampler
-> SamplerRandomWeights
nobjectives
(numeric(1)
)
Number of objectives for which weights are generated.
nweights
(numeric(1)
)
Number of weight vectors generated for each configuration.
weights_component_id
(numeric(1)
)
search space component identifying the weights by which to scalarize.
Inherited methods
new()
Initialize the SamplerRandomWeights
object.
SamplerRandomWeights$new(
nobjectives = 2,
nweights = 1,
weights_component_id = "scalarization_weights"
)
nobjectives
(numeric(1)
)
Number of objectives for which weights are generated.
nweights
(numeric(1)
)
Number of weight vectors generated for each configuration.
weights_component_id
(character(1)
)
Id of the p_uty
. Default is "scalarization_weights"
.
Can be changed arbitrarily but should match the ScalorFixedProjection
's weights_component_id
.
clone()
The objects of this class are cloneable with this method.
SamplerRandomWeights$clone(deep = FALSE)
deep
Whether to make a deep clone.