Crate genetic_algorithm_tsp

Source
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 the Route-class, the individual element of the TSP that implements important methods like crossover or mutate.
routes
The routes-module contains the main class of this crate which is the Routes-class that contains your current subset of routes and with which you can evolve them.