Code for The Continuous Genetic Algorithm:
Code for a
continuous (hybrid) genetic algorithm
(periodically calls a local search algorithms) while working thought the book:
continuous_GA_Script.m
(the main driver script with an example call)
continuous_GA.m
(the main function)
Needed subroutines
var_encode.m
(encode the natural domain of the variables into a normalized range)
var_decode.m
(undoes the above encoding)
enforce_bounds.m
(makes sure randomly generated trial points are inside the given finite domain)
select_mates.m
(implements various ways of selecting the parents)
crossover.m
(implements various crossover methods)
mutate.m
(implements the mutation procedure)
John Weatherwax
Last modified: Sun May 15 03:46:24 EDT 2005