{"id":32399935,"url":"https://github.com/davidasmith/shiny-ga-demo","last_synced_at":"2025-10-25T08:59:30.723Z","repository":{"id":55352171,"uuid":"326951594","full_name":"DavidASmith/shiny-ga-demo","owner":"DavidASmith","description":"Interactive example of a simple genetic algorithm in R shiny.","archived":false,"fork":false,"pushed_at":"2025-07-22T23:05:28.000Z","size":304,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-23T01:08:14.166Z","etag":null,"topics":["genetic-algorithm","optimisation","r-shiny","rastrigin"],"latest_commit_sha":null,"homepage":"","language":"R","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/DavidASmith.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":"2021-01-05T09:37:44.000Z","updated_at":"2025-07-22T23:05:32.000Z","dependencies_parsed_at":"2022-08-14T22:01:34.475Z","dependency_job_id":null,"html_url":"https://github.com/DavidASmith/shiny-ga-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DavidASmith/shiny-ga-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidASmith%2Fshiny-ga-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidASmith%2Fshiny-ga-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidASmith%2Fshiny-ga-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidASmith%2Fshiny-ga-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DavidASmith","download_url":"https://codeload.github.com/DavidASmith/shiny-ga-demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidASmith%2Fshiny-ga-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280929567,"owners_count":26415348,"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","status":"online","status_checked_at":"2025-10-25T02:00:06.499Z","response_time":81,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["genetic-algorithm","optimisation","r-shiny","rastrigin"],"created_at":"2025-10-25T08:59:27.269Z","updated_at":"2025-10-25T08:59:30.719Z","avatar_url":"https://github.com/DavidASmith.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Interactive Genetic Algorithm Example\n\n## Overview\n\nThis is a an R Shiny application using Luca Scrucca's [GA package](https://luca-scr.github.io/GA/).\n\nThe optimisation example searches for optimum values for two dimensions\nto minimise the Rastrigin function. A plot of this function is shown below:\n\n![](www/rastrigin.png).\n\nNote that optimum value for both dimensions is zero, and that many local\nminima are present.\n\nUsers can explore the impact of different values for:\n\n- population size\n- mutation probability\n- crossover probability\n- elitism\n- number of generations.\n\n## Implementation\n\nThe application makes use of the [future](https://cran.r-project.org/web/packages/future/index.html) package to allow the GA to run asynchronously, and the [ipc package](https://cran.r-project.org/web/packages/ipc/index.html) for passing messages between the GA and Shiny.\n\n## Give it a try\n\nThis application is deployed at https://shiny-ga-demo.azurewebsites.net (assuming the hosting doesn't cost me too much).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidasmith%2Fshiny-ga-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidasmith%2Fshiny-ga-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidasmith%2Fshiny-ga-demo/lists"}