ecrs

Crates.ioecrs
lib.rsecrs
version0.1.0-beta.4
sourcesrc
created_at2022-11-24 10:19:11.448268
updated_at2023-05-28 13:56:21.916747
descriptionEvolutionary computation tools & algorithms
homepagehttps://github.com/ecrs-org/ecrs
repositoryhttps://github.com/ecrs-org/ecrs
max_upload_size
id722139
size491,884
Kacper Kafara (kkafar)

documentation

README

ECRS - Evolutionary Computation for Rust

Disclaimer Please note that this library is in early development phase and breaking changes may occur without any notice.

Evolutionary computation tools & algorithms.

The library provides:

For genetic algorithm there are various genetic operators & utility predefined:

  • Crossover operators:
    • SinglePoint
    • TwoPoint
    • MultiPoint
    • Uniform
    • Ordered
    • PMX
  • Selection operators:
    • RouletteWheel
    • Random
    • Rank
    • RankR
    • Tournament
    • StochasticUniversalSampling
    • Boltzmann
  • Mutation operators:
    • Identity
    • FlipBit
    • Interchange
    • Reversing
  • Population generatos
    • RandomPoints
    • BitStrings

Each operator can be used in plug-in style to alternate algorithm behaviour.

The library also offers highly customizable logging system based on "probing". You can check out our examples

Get started

Installation

To add ecrs to your project simply make use of cargo add command:

cargo add ecrs

Usage

Work in progess...

For now the best method to get started is checking out our examples

MSRV

During this stage of development there is not MSRV policy estabilished yet. Currently MSRV == 1.65.0 as there are some usages of syntax introduced in 1.65.0 in the codebase.

Clone & repo setup

# Clone the repository
git clone git@github.com:ecrs-org/ecrs.git ecrs

# Install the hooks
git config core.hooksPath .githooks
Commit count: 217

cargo fmt