dict_scalors_fixedprojection | R Documentation |
Scalor
that returns the maximum of a set of projections.
Priming PS must contain a "scalarization_weights"
tagged p_uty
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()
.
Supported Domain
classes are: p_lgl
('ParamLgl'), p_int
('ParamInt'), p_dbl
('ParamDbl'), p_fct
('ParamFct')
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:
# preferred: scl("fixedprojection") scls("fixedprojection") # takes vector IDs, returns list of Scalors # long form: dict_scalors$get("fixedprojection")
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")
weights_component_id
(character(1)
)
Id of the search space component identifying the weights by which to scalarize. Default "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.
ScalorFixedProjection$prime(param_set)
param_set
(ParamSet
)
Passed to MiesOperator
$prime()
.
invisible self
.
clone()
The objects of this class are cloneable with this method.
ScalorFixedProjection$clone(deep = FALSE)
deep
Whether to make a deep clone.
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
set.seed(1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.