integerToBoolean
converts a scalar positive integer (or zero) to its
binary representation as list of logicals.
booleanFunctionVector
returns the boolean vector of result values of
f
, given a boolean function f
.
numberOfDifferentBits
given two lists of booleans of equal length,
returns the number of differing bits.
makeBooleanFitnessFunction
given a boolean target function, returns
a fitness function that returns the number of different places in the output
of a given boolean function and the target function.
integerToLogicals(i, width = floor(log(base = 2, i) + 1))
booleanFunctionAsList(f)
numberOfDifferentBits(a, b)
makeBooleanFitnessFunction(targetFunction)