ga_Population: Population initialization in genetic algorithms

Description Usage Arguments Details Value Author(s) See Also

Description

Functions for creating a random initial population to be used in genetic algorithms.

Usage

1
2
3
4
5

Arguments

object

An object of class "ga", usually resulting from a call to function ga.

...

Further arguments passed to or from other methods.

Details

gabin_Population generates a random population of object@nBits binary values;

gareal_Population generates a random (uniform) population of real values in the range [object@min, object@max];

gaperm_Population generates a random (uniform) population of integer values in the range [object@min, object@max].

Value

Return a matrix of dimension object@popSize times the number of decision variables.

Author(s)

Luca Scrucca

See Also

ga


GA documentation built on May 30, 2017, 5:35 a.m.

Search within the GA package
Search all R packages, documentation and source code