{"id":15971637,"url":"https://github.com/danielholmes/genetic-algorithm-equation","last_synced_at":"2025-07-04T17:32:45.786Z","repository":{"id":145825325,"uuid":"67269340","full_name":"danielholmes/genetic-algorithm-equation","owner":"danielholmes","description":"Evolving equations to match a target number","archived":false,"fork":false,"pushed_at":"2016-09-11T22:30:27.000Z","size":92,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-10T01:41:28.240Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Scala","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/danielholmes.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":"2016-09-03T03:37:16.000Z","updated_at":"2016-10-27T23:37:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"08445ea1-17c9-49e4-b050-6e63b0f0eb30","html_url":"https://github.com/danielholmes/genetic-algorithm-equation","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/danielholmes%2Fgenetic-algorithm-equation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielholmes%2Fgenetic-algorithm-equation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielholmes%2Fgenetic-algorithm-equation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielholmes%2Fgenetic-algorithm-equation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielholmes","download_url":"https://codeload.github.com/danielholmes/genetic-algorithm-equation/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247208066,"owners_count":20901568,"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-10-07T20:22:50.184Z","updated_at":"2025-04-04T15:45:04.770Z","avatar_url":"https://github.com/danielholmes.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Genetic Algorithm Equation\n\nAn implementation of the the problem outlined here: (http://www.ai-junkie.com/ga/intro/gat1.html). i.e.\n\n    Given the digits 0 through 9 and the operators +, -, * and /,  find a sequence that will represent a given target \n    number. The operators will be applied sequentially from left to right as you read.\n\n\n## Dependencies\n\n - SBT\n - JDK 8+\n - Scala 2.11\n\nTo find available SBT dependency updates run `sbt dependencyUpdates`\n\n\n## Tests\n\n - All: `sbt test`\n - Individual: `sbt \"test-only org.danielholmes.gaeq.GeneEncoderSpec\"`\n - Individual continuous: `sbt ~\"test-only org.danielholmes.gaeq.GeneEncoderSpec\"`\n\n\n## Running\n\n`sbt 'run-main org.danielholmes.gaeq.Run'` \n\n\n## Encoding\n\n| value | gene |\n|-------|------|\n| 0     | 0000 |\n| 1     | 0001 |\n| 2     | 0010 |\n| 3     | 0011 |\n| 4     | 0100 |\n| 5     | 0101 |\n| 6     | 0110 |\n| 7     | 0111 |\n| 8     | 1000 |\n| 9     | 1001 |\n| +     | 1010 |\n| -     | 1011 |\n| *     | 1100 |\n| /     | 1101 |\n\nUnused/Ignored Genes: 1110 1111","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielholmes%2Fgenetic-algorithm-equation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielholmes%2Fgenetic-algorithm-equation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielholmes%2Fgenetic-algorithm-equation/lists"}