neat_lib 0.1.1

Rust implementation of NeuroEvolution of Augmenting Topologies
Documentation
1
2
3
pub fn clamp(value: f64, min: f64, max: f64) -> f64 {
    value.min(max).max(min)
}