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
)
A child model created from two parents.
A list with model's event start times.
A list with model's event end times.
Number of events in the model.
The mutation rate in the genetic algorithm.
The mutation factor in the genetic algorithm.
The constraints of the current model.
The first selected parent.
The second selected parent.
Whether to allow overlap between events.