/* ---------------------------------------------------------------------------- btest.C ( a slight modification of ex18.C) ---------------------------------------------------------------------------- */ #include #include //#include //#include #include #include #include float objective(GAGenome &); int main(int argc, char *argv[]) { cout << "My test program for realGA\n\n"; cout.flush(); // See if we've been given a seed to use (for testing purposes). When you // specify a random seed, the evolution will be exactly the same each time // you use that seed number. unsigned int seed = 0; for(int ii=1; ii