Expand description
§Genetic algorithms for solving TSPs.
This crates contains utitlities to run genetic algorithms and solve Traveling Salesman Problems.
Modules§
- distance_
mat - Represent a distance Matrix as a Vec<Vec
>. - route
- The
route-module contains theRoute-class, the individual element of the TSP that implements important methods likecrossoverormutate. - routes
- 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.