/*************************************************************/ /* */ /* 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. */ /* */ /*************************************************************/ #include #include #include "gene.h" #include "op_edge_recomb.h" int **DistArray; int **CoordArray; float tsp_eval (tour, num_points) GENE_DATA tour[]; int num_points; { int i; float sum; sum = 0.0; for (i=0; i