{"id":21332267,"url":"https://github.com/stopyransky/to-be-or-not-to-be-genetic-algorithm","last_synced_at":"2025-03-16T01:09:41.868Z","repository":{"id":128371902,"uuid":"89808517","full_name":"stopyransky/to-be-or-not-to-be-genetic-algorithm","owner":"stopyransky","description":"Simple genetic algorithm simulation as described in book \"Nature of Code\" by Daniel Shiffman. Originally written in processing, here adapted to JavaScript and runnable in Node.","archived":false,"fork":false,"pushed_at":"2017-11-01T20:21:17.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-22T13:51:40.936Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/stopyransky.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-29T19:42:28.000Z","updated_at":"2018-04-29T10:18:37.000Z","dependencies_parsed_at":"2024-08-13T11:15:17.734Z","dependency_job_id":null,"html_url":"https://github.com/stopyransky/to-be-or-not-to-be-genetic-algorithm","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/stopyransky%2Fto-be-or-not-to-be-genetic-algorithm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stopyransky%2Fto-be-or-not-to-be-genetic-algorithm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stopyransky%2Fto-be-or-not-to-be-genetic-algorithm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stopyransky%2Fto-be-or-not-to-be-genetic-algorithm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stopyransky","download_url":"https://codeload.github.com/stopyransky/to-be-or-not-to-be-genetic-algorithm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243809886,"owners_count":20351407,"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-21T22:46:29.056Z","updated_at":"2025-03-16T01:09:41.861Z","avatar_url":"https://github.com/stopyransky.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Simple genetic algorithm simulation as described in book \"Nature of Code\" by Daniel Shiffman.\nOriginally written in processing, here adapted to JavaScript and runnable in Node.\n\nTo run, navigate to repository directory, enter \"node\" in terminal and type:\n\n```javascript\n.load main.js;\nsim.printInfo(); // to get info, pass true for verbose, false for short info\nsim.runOnce(); // to move simulation one generation further\nsim.run();  // to move simulation 100 generations or \u003e 90% fitness further\nsim.setFitnessFunction( yourFunctionReturningNormalizedFitness );\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstopyransky%2Fto-be-or-not-to-be-genetic-algorithm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstopyransky%2Fto-be-or-not-to-be-genetic-algorithm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstopyransky%2Fto-be-or-not-to-be-genetic-algorithm/lists"}