mies_filter_offspring | R Documentation |
Uses a Filtor
to extract a subset of individuals from a given set. The individuals are either returned directly (when get_indivs
is TRUE
)
or in form of an index into the given individuals (when get_indivs
is FALSE
).
Filtor
s must always select individuals without replacement, so selected individual indices are unique.
mies_filter_offspring(
inst,
individuals,
lambda,
filtor = NULL,
budget_id = NULL,
fidelity = NULL,
get_indivs = TRUE
)
inst |
( |
individuals |
( |
lambda |
( |
filtor |
( |
budget_id |
( |
fidelity |
( |
get_indivs |
( |
If get_indivs
is TRUE
: a data.frame
or data.table
(depending on the input type of individuals
) of filtered configurations.
If get_indivs
is FALSE
: an integer
vector indexing the filtered individuals.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.