Description Usage Arguments Value
Function to generate suggestions to initialise the genetic algorithm with.
1 2 | generateSuggestions(items, sample_size, n_suggestions = 1000,
required_items = NULL)
|
items |
a character vector containing the items in the population |
sample_size |
the number of items to sample |
n_suggestions |
number of suggestions to initialise the GA with |
required_items |
character vector of any items required to be included in the solution |
a matrix suggestions to be passed to the genetic algorithm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.