create_first_generation {autohrf} | R Documentation |
create_first_generation
Description
A helper function for creating the first generation.
Usage
create_first_generation(current_model, n_events, population, allow_overlap)
Arguments
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. |
Value
Returns the first generation of models.
[Package autohrf version 1.1.3 Index]