create_child | R Documentation |
A helper function for creating a child from parents.
create_child(
start_time,
end_time,
n_events,
mutation_rate,
mutation_factor,
current_model,
p1,
p2,
allow_overlap
)
start_time |
A list with model's event start times. |
end_time |
A list with model's event end times. |
n_events |
Number of events in the model. |
mutation_rate |
The mutation rate in the genetic algorithm. |
mutation_factor |
The mutation factor in the genetic algorithm. |
current_model |
The constraints of the current model. |
p1 |
The first selected parent. |
p2 |
The second selected parent. |
allow_overlap |
Whether to allow overlap between events. |
A child model created from two parents.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.