ecrs 0.1.0-beta.4

Evolutionary computation tools & algorithms
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[cfg(feature = "ff")]
use ecrs::ff::FireflyAlgorithm;

#[cfg(feature = "ff")]
fn main() {
    let mut alg = FireflyAlgorithm::default();

    alg.run();
}

#[cfg(not(feature = "ff"))]
fn main() {
    panic!("Required feature \"ff\" is not enabled");
}