{"id":18924516,"url":"https://github.com/sharpcoder/algen","last_synced_at":"2025-04-15T12:32:32.790Z","repository":{"id":63365263,"uuid":"566606964","full_name":"SharpCoder/algen","owner":"SharpCoder","description":"Algen is a platform, written in rust, for running genetic algorithms.","archived":false,"fork":false,"pushed_at":"2022-11-26T15:42:43.000Z","size":26,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-28T21:21:49.644Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SharpCoder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-11-16T02:51:17.000Z","updated_at":"2024-03-20T20:16:31.000Z","dependencies_parsed_at":"2023-01-22T09:30:59.045Z","dependency_job_id":null,"html_url":"https://github.com/SharpCoder/algen","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SharpCoder%2Falgen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SharpCoder%2Falgen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SharpCoder%2Falgen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SharpCoder%2Falgen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SharpCoder","download_url":"https://codeload.github.com/SharpCoder/algen/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249072463,"owners_count":21208190,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T11:07:02.479Z","updated_at":"2025-04-15T12:32:32.518Z","avatar_url":"https://github.com/SharpCoder.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# algen\n\nAlgen is a platform, written in rust, for running genetic algorithms.\n\n## Installation\n\nAdd the dependency to your crates\n\n```toml\n[package]\nname = \"my-app\"\nversion = \"0.1.0\"\nedition = \"2021\"\n\n[dependencies]\nalgen = \"0.1.2\"\n```\n\nAnd then you can run cargo to fetch it.\n\n```bash\ncargo build\n```\n\n## Usage\n\nAlgen provides an abstraction on top of genetic algorithms. On its own, it\ndoes not provide a working implementation. That's up to you! So here are the\ntraits you need to implement in order to use Algen:\n\n- **Algorithm** to define how input data is manipulated to solve a particular\n  problem.\n- **Analyzer** to score the result of the algorithm and produce a numeric\n  value representing how well it did.\n\nIn addition to these traits, you need to provide [TestParameters](https://docs.rs/algen/latest/algen/models/test_parameters/index.html) and\nsome kind of **Input Data** which is fed to your algorithm.\n\nSee the example in the examples folder for more details.\n\n```rust\n    run_algorithm(\n        \u0026parameters,\n        \u0026test_data,\n        \u0026algo,\n        \u0026analyzer,\n        Some(after_generation),\n    );\n```\n\n## Features\n\nOptionally, you can include the tracing feature if you would like the library\nto emit traces using the [tracing](https://crates.io/crates/tracing) crate.\n\n```toml\n[dependencies]\nalgen = { version = \"0.2.0\", features = [\"tracing\"] }\n```\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first\nto discuss what you would like to change.\n\nPlease make sure to update tests as appropriate.\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsharpcoder%2Falgen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsharpcoder%2Falgen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsharpcoder%2Falgen/lists"}