COSC_4P82_Assignment_1/lib/beagle-3.0.3/examples/GA/tsp/README

37 lines
923 B
Plaintext
Raw Normal View History

2024-02-13 21:21:51 -05:00
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Traveling Salesman Problem (tsp): Indices integer vector GA example
Copyright (C) 2005
by Christian Gagne <cgagne@gmail.com>
and Marc Parizeau <parizeau@gel.ulaval.ca>
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Getting started
===============
Example is compiled in binary 'tsp'. Usage options is described by
executing it with command-line argument '-OBusage'. The detailed help can
also be obtained with argument '-OBhelp'.
Objective
=========
Find a the shortest path to visit all the nodes of a randomly generated
graph.
Representation
==============
Order in which the nodes of the graph are visited. The integers in the
vector represent the indices of the nodes to visit.
Fitness
=======
Sum of the inter-node distance given the path represented by an integer
vector.