makeFunctionNode: makeFunctionNode

Description Usage Arguments Value

View source: R/population.R

Description

Creates a valid function node using the chromoID and value passed as a parameter. A random function is chosen from the functionSet and random inputs are chosen to satisfy the arity of the chosen function.

Usage

1
makeFunctionNode(chromoID, validInputs, functionSet)

Arguments

chromoID

the unique ID of the node

validInputs

a vector containing the valid input chromoIDs

functionSet

the functions to choose from

Value

the node created


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