genetic_algorithm_fn/lib.rs
1#![deny(rustdoc::missing_doc_code_examples)]
2#![deny(missing_docs)]
3//! # Genetic algorithms for solving TSPs.
4//!
5//! This crates contains utitlities to run genetic algorithms and solve Traveling Salesman Problems.
6/// Represent a distance Matrix as a Vec<Vec<f64>>.
7pub mod function;
8/// The `route`-module contains the `Route`-class, the individual element of the TSP that implements
9/// important methods like `crossover` or `mutate`.
10pub mod solution;
11/// The `routes`-module contains the main class of this crate which is the `Routes`-class that contains
12/// your current subset of routes and with which you can evolve them.
13pub mod solutions;
14/// Testing functions to optimize.
15pub mod test_functions;
16/// functions to create default objects for testing.
17/// Both for convenience (not having to create them over and over again)
18/// as well as standardization (test against the same common cases).
19mod test_objects;