R/ScalorFixedProjections.R
dict_scalors_fixedprojection.RdScalor that returns the maximum of a set of projections.
Priming PS must contain a "scalarization_weights" tagged ParamUty that contains
weight matrices (Nobjectives x Nweights) or vectors (if Nweights is 1).
scalarization :: function
Function taking a fitness-matrix fitnesses (Nindivs x Nobjectives, with higher values indicating higher desirability)
and a list of weight matrices weights (Nindivs elements of Nobjectives x Nweights matrices; positive weights should indicate a positive contribution
to scale)
and returns a matrix of scalarizations (Nindivs x Nweights, with higher values indicating greater desirability).
While custom functions can be used, it is recommended to use a Scalarizer, such as scalarizer_linear(), or scalarizer_chebyshev().
This Scalor can be created with the short access form scl()
(scls() to get a list), or through the the dictionary
dict_scalors in the following way:
Other scalors:
Scalor,
dict_scalors_aggregate,
dict_scalors_domcount,
dict_scalors_hypervolume,
dict_scalors_nondom,
dict_scalors_one,
dict_scalors_proxy,
dict_scalors_single
Other scalor wrappers:
dict_scalors_aggregate,
dict_scalors_proxy
miesmuschel::MiesOperator -> miesmuschel::Scalor -> ScalorFixedProjection
weights_component_id(numeric(1))
search space component identifying the weights by which to scalarize.
new()Initialize the ScalorFixedProjection object.
ScalorFixedProjection$new(weights_component_id = "scalarization_weights")prime()See MiesOperator method. Primes both this operator, as well as the operator given to the operation configuration parameter.
Note that this modifies the $param_set$values$operation object.
param_set(ParamSet)
Passed to MiesOperator$prime().
invisible self.
set.seed(1)