Next: Usage, Previous: Global Variables, Up: Implementation [Contents][Index]
Currently two high-level search functions are implemented. The
evolve search function has received much more testing and is
recommended.
Evolve the existing *population* of software objects using the
supplied TEST function to evaluate the fitness of software
objects. The fitness returned by the TEST function is
optimized. A steady state evolutionary computation algorithm is used
to evolve increasingly fit software objects in a process resembling
natural selection.
Preform Markov chain Monte Carlo search from the supplied
ORIGINAL software object using the supplied TEST
function to evaluate the fitness of software objects. The fitness
returned by the test function is optimized.
Both functions take the following optional keyword arguments
max-evalsstop after this many fitness evaluations
max-timestop after this many seconds
targetstop when an individual passes TARGET-FIT
periodinterval of fitness evaluations to run PERIOD-FN
period-fnfunction to run every PERIOD fitness evaluations
every-fnfunction to run before every fitness evaluation
In addition the evolve function takes an optional filter
keyword argument which when specified only includes individual for
which FILTER returns true, and the mcmc function takes
an optional accept-fn keyword argument which is a function of
current and new fitness that returns acceptance.