Expand description
§Genetic algorithms for solving TSPs.
This crates contains utitlities to run genetic algorithms and solve Traveling Salesman Problems.
Modules§
- function
- Represent a distance Matrix as a Vec<Vec
>. - solution
- The
route
-module contains theRoute
-class, the individual element of the TSP that implements important methods likecrossover
ormutate
. - solutions
- The
routes
-module contains the main class of this crate which is theRoutes
-class that contains your current subset of routes and with which you can evolve them. - test_
functions - Testing functions to optimize.