1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//! https://en.wikipedia.org/wiki/Genetic_algorithm
//!
//! # Examples
//!
//! You can explicitly create the progres loop of the a `Universe<T>`:
//!
//! ```
//! use calco::Universe;
//!
//! // TO DO !!!
//!
//! // let world: Universe<i32> = Universe::from_pop(config, [600, -2000, 42]);
//! ```
//!
//! Or you can use the implemented one:
//!
//! ```
//! use calco::Universe;
//!
//! // TO DO !!!
//!
//! // let world: Universe<i32> = Universe::from_pop(config, [600, -2000, 42]);
//! ```

mod universe;
mod mutable;
mod reproducible;
mod evaluable;
// mod probaselection; // do this absolutly

pub use universe::Universe;
pub use universe::Config;
pub use universe::StopCondition;

pub use mutable::Mutable;
pub use reproducible::Reproducible;
pub use evaluable::Evaluable;
// pub use probaselection::ProbaSelection; // do this absolutly