create_first_generation | R Documentation |
A helper function for creating the first generation.
create_first_generation(current_model, n_events, population, allow_overlap)
current_model |
The constraints of the current model. |
n_events |
Number of events in the model. |
population |
The size of the population in the genetic algorithm. |
allow_overlap |
Whether to allow overlap between events. |
Returns the first generation of models.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.