gaintegerPopulationFactory: GA Integer Population Factory

View source: R/gaintegerPopulationFactory.R

gaintegerPopulationFactoryR Documentation

GA Integer Population Factory

Description

Creates a factory function for generating initial populations for genetic algorithms with integer chromosomes, where a specified fraction of variables are set to zero.

Usage

gaintegerPopulationFactory(zeroFraction, verbose = FALSE)

Arguments

zeroFraction

Numeric value between 0 and 1 specifying the fraction of variables to set to zero in each individual

verbose

Logical indicating whether to print information about zero fraction

Value

A function that takes a GA object and returns an initial population matrix


SIMPLICA documentation built on Sept. 11, 2025, 1:08 a.m.