The function described below creates a population of individuals(values).
Usageinitialize_population(population_size, min = -100, max = 100)
Arguments
The number of individuals of the population.
The minimum number an individual could have.
The maximum number an individual could have.
The output expected should be a list of individuals of the population with the size indicated in the input.
Details(Note: the values are random and the population should be highly diversified)
The space of x value is kept integer type and on range from 0 to 3, for simplification.
# example of usage
genetic.algo.optimizeR::initialize_population(population_size = 3, min = 0, max = 3)
#> [1] 3 0 2
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4