home *** CD-ROM | disk | FTP | other *** search
- /***************************************************************************
- * *
- * @@@@ @@@ @@@@@ @@@@@ @@@@@ @@@ @@@@ @ @ @@@@@ @@@@@ @@@@ @@@ *
- * @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ *
- * @ @ @ @@@@@ @ @@@@@ @ @@@@@ @ @ @ @@@@@ @ @ @ *
- * @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ *
- * @@@@ @@@ @@@@@ @ @ @ @@@ @@@@ @@@@@ @ @@@@@ @@@@ @@@ *
- * *
- * A compiler for distributed programming with C *
- * *
- * d e m o . c *
- * *
- * Version 1.0 CreationDate: 27.07.91 *
- * LastUpDate: 27.07.91 *
- * *
- * The traveling salesman problem. *
- * The data for a short example with five fictitious cities. *
- * *
- * Copyright (C) 1991 by Christoph Pleier. *
- * All rights reserved! *
- ***************************************************************************/
-
- #include "config.h"
-
- /* table relating real city names to intern city names and vice versa */
- NAMEINFO data_cities[CITYNUM] = {
- { "A", 0 }, { "B", 1 }, { "C", 2 }, { "D", 3 }, { "E", 4 }
- };
-
- /* unity of distance data */
- char *unity = "miles";
-
- /* distance table */
- int d_tab[CITYNUM][CITYNUM] = {
- /* A, B, C, D, E */
- /* A */ 0, 10, 20, 5, 17,
- /* B */ -1, 0, 10, 5, 23,
- /* C */ -1, -1, 0, 10, 50,
- /* D */ -1, -1, -1, 0, 4,
- /* E */ -1, -1, -1, -1, 0
- };
-
-
-