{"id":18369242,"url":"https://github.com/trifectalabs/myriad","last_synced_at":"2025-10-06T13:52:20.427Z","repository":{"id":79617490,"uuid":"42083796","full_name":"trifectalabs/myriad","owner":"trifectalabs","description":"A Scala Akka library for swarm intelligence algorithms","archived":false,"fork":false,"pushed_at":"2017-08-03T13:06:09.000Z","size":79,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-14T22:43:49.723Z","etag":null,"topics":["akka","optimization","scala","scala-akka-library","swarm","swarm-intelligence-algorithms"],"latest_commit_sha":null,"homepage":null,"language":"Scala","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/trifectalabs.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":"2015-09-08T01:54:17.000Z","updated_at":"2020-08-31T00:56:11.000Z","dependencies_parsed_at":"2023-05-13T15:00:22.347Z","dependency_job_id":null,"html_url":"https://github.com/trifectalabs/myriad","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/trifectalabs/myriad","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trifectalabs%2Fmyriad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trifectalabs%2Fmyriad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trifectalabs%2Fmyriad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trifectalabs%2Fmyriad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trifectalabs","download_url":"https://codeload.github.com/trifectalabs/myriad/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trifectalabs%2Fmyriad/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278621836,"owners_count":26017253,"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-06T02:00:05.630Z","response_time":65,"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":["akka","optimization","scala","scala-akka-library","swarm","swarm-intelligence-algorithms"],"created_at":"2024-11-05T23:28:51.763Z","updated_at":"2025-10-06T13:52:20.404Z","avatar_url":"https://github.com/trifectalabs.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Myriad](https://cloud.githubusercontent.com/assets/4529818/9751260/a6dddf84-5670-11e5-9bf3-a8d7fbf722b9.jpg)\nMyriad\n======\n\nA Scala Akka library for swarm intelligence algorithms\n\n[ ![Codeship Status for trifectalabs/myriad](https://codeship.com/projects/65153110-4494-0133-5e73-4a5ed300113a/status?branch=master)](https://codeship.com/projects/104435)\n\n### How It Works\n--------------\n\n###### 1. Create an objective function which looks something like this\n\n  ```\n  def objectiveFunction(X: List[Double]): Double {\n    ...\n  }\n  ```\n\n###### 2. Declare a config using your objective function and specify some initial solutions\nThe number of solutions specified will determine the size of the swarm. The only two required parameters are the objective function and initial solutions but all of the other parameters are customizable as well.\n\n  ```\n  val conf = PSOConfiguration(\n    objectiveFunction = obj,\n    initialSolutions = solutions,\n    ...\n  )\n  ```\n\n###### 3. Create a factory to build the optimization system\n\n  ```\n  val psoSystemFactory = new PSOSystemFactory(conf)\n  val pso = psoSystemFactory.build()\n  ```\n\n###### 4. Create an exectuor to run the optimization\n\n  ```\n  val psoJob = new PSOExecutor(pso)\n  psoJob.run\n  ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrifectalabs%2Fmyriad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrifectalabs%2Fmyriad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrifectalabs%2Fmyriad/lists"}