initPopulation: initPopulation

Description Usage Arguments Value

View source: R/population.R

Description

Creates the initial population of solutions which is made up of popsize lists. Each list contains three data frames, one for each type of node (input, function, output).

Usage

1
2
initPopulation(popsize, functionSet, inputSize, outputSize, rowsFuncNodes,
  colsFuncNodes, levelsBack)

Arguments

popsize

the number of solutions to be generate

functionSet

the functions that can be used in the function nodes

inputSize

the number of input nodes required. This should be the same as the number of input fields in the provided dataset

outputSize

the number of output nodes required. This should be the same as the number of output fields in the provided dataset

rowsFuncNodes

the number of rows to use in the function node structure

colsFuncNodes

the number of columns to use in the function node structure

levelsBack

the number of columns back that a function node can access

Value

a list containing the created population


porteous54/caRtesian documentation built on May 30, 2019, 11:43 a.m.