GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - SharpCoder/algen: Algen is a platform, written in rust, for running genetic algorithms.

BranchesTags
Open more actions menu

Latest commit

 

History

17 Commits
17 Commits

Folders and files

NameName
Last commit message
Last commit date
examples/hello_world
examples/hello_world
 
 
src
src
 
 
.gitignore
.gitignore
 
 
Cargo.toml
Cargo.toml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

algen

Algen is a platform, written in rust, for running genetic algorithms.

Installation

Add the dependency to your crates

[package]
name = "my-app"
version = "0.1.0"
edition = "2021"

[dependencies]
algen = "0.1.2"

And then you can run cargo to fetch it.

cargo build

Usage

Algen provides an abstraction on top of genetic algorithms. On its own, it does not provide a working implementation. That's up to you! So here are the traits you need to implement in order to use Algen:

  • Algorithm to define how input data is manipulated to solve a particular problem.
  • Analyzer to score the result of the algorithm and produce a numeric value representing how well it did.

In addition to these traits, you need to provide TestParameters and some kind of Input Data which is fed to your algorithm.

See the example in the examples folder for more details.

    run_algorithm(
        &parameters,
        &test_data,
        &algo,
        &analyzer,
        Some(after_generation),
    );

Features

Optionally, you can include the tracing feature if you would like the library to emit traces using the tracing crate.

[dependencies]
algen = { version = "0.2.0", features = ["tracing"] }

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

Algen is a platform, written in rust, for running genetic algorithms.

Resources

Readme
MIT license
Activity

Stars

2 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.