/*************************************************************/ /* */ /* Copyright (c) 1990 */ /* Darrell L. Whitley */ /* Computer Science Department */ /* Colorado State University */ /* */ /* Permission is hereby granted to copy all or any part of */ /* this program for free distribution. The author's name */ /* and this copyright notice must be included in any copy. */ /* */ /*************************************************************/ typedef struct citydata { int mom_position; int dad_position; int used; int select_list; /* this field is not used by cycle */ } CITY_DATA; extern CITY_DATA * get_city_table (/* int length */); extern void cycle (/* GENEDATA dad[], mom[], kid[]; int length; CITY_DATA *city_table */); extern void maketour( /* GENE_DATA gene[]; int num_points; */ );