create_first_generation: create_first_generation

View source: R/modelling.R

create_first_generationR 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.


demsarjure/autohrf documentation built on Feb. 3, 2024, 6:38 a.m.