Crate genetic_algorithm_fn

Source
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 the Route-class, the individual element of the TSP that implements important methods like crossover or mutate.
solutions
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.
test_functions
Testing functions to optimize.