buildingBlock(expr, hardness = 1)
buildingBlockq(expr, hardness = 1)
hardness
of 1.0
(the default) means that the building
block will never be subject to variation.buildingBlock
transforms an R expression to a building block
to be used as an element of the input variable (or function) set. The
parameter hardness
(a numerical value in the interval [0.0 , 1.0])
determines the protection strength against variation inside the building
building block. When hardness
is set to 1.0
(the default),
the building block will never be subject to variaton through mutation
or crossover.
buildingBlockq
is equivaltent to buildingBlock
, but
quotes it's argument expr
first.