/* $Header: /tmp_mnt/vida/disks/disk5/Users/terry/r/gassy/RCS/defaults.h,v 1.2 1992/10/09 06:43:50 terry Exp terry $ */ #define DEFAULT_GENERATION_GAP ((DOUBLE) 1.0) #define DEFAULT_MUTATION_PROB ((PROBABILITY) 0.001) #define DEFAULT_CROSSOVER_PROB ((PROBABILITY) 0.75) #define DEFAULT_TOURNAMENT_PROB ((PROBABILITY) 0.75) #define DEFAULT_UNIFORM_PROB ((PROBABILITY) 0.5) #if defined(SCALING) #define DEFAULT_SCALING_FUNC "no_scaling" #endif #define DEFAULT_SURVIVOR_FUNC "random" #define DEFAULT_SELECTION_FUNC "tournament" #if defined(APP_INDIVIDUALS_HAVE_CONSTANT_SIZE) && defined(APP_INDIVIDUALS_ARE_STRINGS) #define DEFAULT_CROSSOVER_FUNC "two_point" #define DEFAULT_MUTATION_FUNC "simple" #else #define DEFAULT_CROSSOVER_FUNC "no_crossover" #define DEFAULT_MUTATION_FUNC "no_mutation" #endif /* DON'T change this next one (if you are using UNIX). Please. */ #define DEF_OUTPUT_FILENAME "/dev/null"