{"id":19025230,"url":"https://github.com/nightblade9/genetic-engine","last_synced_at":"2025-09-05T16:39:37.339Z","repository":{"id":116474772,"uuid":"207345274","full_name":"nightblade9/genetic-engine","owner":"nightblade9","description":"A lightweight solution allowing you to solve problems using genetic programming and genetic algorithms.","archived":false,"fork":false,"pushed_at":"2020-02-26T13:30:53.000Z","size":141,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-02T02:13:55.308Z","etag":null,"topics":["ai","genetic-engine","genetic-programming"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nightblade9.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-09T15:43:55.000Z","updated_at":"2023-04-27T07:51:10.000Z","dependencies_parsed_at":"2024-07-14T20:30:22.972Z","dependency_job_id":null,"html_url":"https://github.com/nightblade9/genetic-engine","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nightblade9%2Fgenetic-engine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nightblade9%2Fgenetic-engine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nightblade9%2Fgenetic-engine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nightblade9%2Fgenetic-engine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nightblade9","download_url":"https://codeload.github.com/nightblade9/genetic-engine/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240072132,"owners_count":19743526,"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":["ai","genetic-engine","genetic-programming"],"created_at":"2024-11-08T20:42:50.513Z","updated_at":"2025-02-21T19:14:09.551Z","avatar_url":"https://github.com/nightblade9.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Genetic Engine\r\n\r\n[![Build Status](https://travis-ci.com/nightblade9/genetic-engine.svg?branch=master)](https://travis-ci.com/nightblade9/genetic-engine)\r\n\r\nA simple genetic engine, for applying genetic programming or genetic algorithms to your C# projects.\r\n\r\nYou can see the `SampleSolutions` project as a sample. It uses genetic programming to derive an algorithm to generate solutions to various problems:\r\n\r\n- The backpacking problem (optimizing value given weight and limited capacit)\r\n- Linear regression (curve fitting)\r\n\r\n# A Note about Fitness\r\n\r\nFitness must be deterministic. Since we calculate it in parallel, make sure all of your variables, references, etc. are copied. If they're not, or if there's use of random, you will end up with fitness dropping for no reason between generations, and an exception throws.\r\n\r\nThe reason is not related to elitism being broken; it's because the same solution, when evaluated in multiple threads or multiple times, results in a different fitness calculation. Check your code carefully. Use locks if nothing else works, but be prepared for slow evaluation.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnightblade9%2Fgenetic-engine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnightblade9%2Fgenetic-engine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnightblade9%2Fgenetic-engine/lists"}