genetic-algorithm-traits 0.1.0

Traits that can be used to implement genetic-algorithms for a specific domain.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// I allow unused imports here, because I just want to test in this file, that these
// two traits can be imported from the trait.
#[allow(unused_imports)]
use genetic_algorithm_traits::Individual;
#[allow(unused_imports)]
use genetic_algorithm_traits::Population;

#[test]
fn test_imports_have_run() {
    // If we get here, we have successfully imported
    // `Inidivual` as well as `Population` and are ready
    // to use it now.
    assert!(true);
}