{"id":17527822,"url":"https://github.com/hokagem/ninjabees","last_synced_at":"2025-08-01T08:09:00.715Z","repository":{"id":216728589,"uuid":"741984937","full_name":"HokageM/NinjaBees","owner":"HokageM","description":"An implementation of a simulation of a bee colony","archived":false,"fork":false,"pushed_at":"2024-03-25T12:12:58.000Z","size":2518,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-03-25T13:59:33.272Z","etag":null,"topics":["bee","bee-colony-optimization","bee-swarm-simulator","beehive","bio-inspired","python3","simulation"],"latest_commit_sha":null,"homepage":"","language":"Python","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/HokageM.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2024-01-11T14:20:58.000Z","updated_at":"2024-03-25T13:59:35.482Z","dependencies_parsed_at":"2024-02-05T11:28:05.518Z","dependency_job_id":"a15dc1d3-085c-4c44-971a-e75de144a984","html_url":"https://github.com/HokageM/NinjaBees","commit_stats":null,"previous_names":["hokagem/ninjabees"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HokageM%2FNinjaBees","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HokageM%2FNinjaBees/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HokageM%2FNinjaBees/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HokageM%2FNinjaBees/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HokageM","download_url":"https://codeload.github.com/HokageM/NinjaBees/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246122391,"owners_count":20726823,"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":["bee","bee-colony-optimization","bee-swarm-simulator","beehive","bio-inspired","python3","simulation"],"created_at":"2024-10-20T15:24:19.050Z","updated_at":"2025-03-29T01:17:36.814Z","avatar_url":"https://github.com/HokageM.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NinjaBees\n\n\u003cimg src=\"logo/NinjaBees.jpg\" width=\"200\"\u003e\n\nSimulation of a bee colony.\n\nBees try to discover all food sources in the simulated world.\n\nBee Colony Optimization Algorithm as Core Algorithm:\n- Employed Bee Phase\n- Onlooker Bee Phase\n\nNatural Behavior of Bees:\n- Scout Bee remembers path to food\n- Forager Bee uses one of all known path to get food\n- If Scout Bee finds a shorter path, update path to food\n- Information is only shared inside the Hive\n\n\n# Demo\n\n## Initial Phase of the Bee Colony\n\n![Alt Text](demo/BeeColonyInitial.gif)\n\n## Bee Colony after a few iterations\n\n![Alt Text](demo/BeesAfterIterations.gif)\n\n# Usage\n\n```bash\nusage: ninja_bees [-h] [--version] [--world-width WORLD_WIDTH] [--world-height WORLD_HEIGHT] [--number-bees NUMBER_BEES] [--max-cnt-foraging-bees MAX_CNT_FORAGING_BEES] [--number-food-sources NUMBER_FOOD_SOURCES] [--best-nutrition-score BEST_NUTRITION_SCORE]\n\nSimulation of a bee colony using the bee colony optimization algorithm.\n\noptions:\n  -h, --help            show this help message and exit\n  --version             show program's version number and exit\n  --world-width WORLD_WIDTH\n                        Width of the environment.\n  --world-height WORLD_HEIGHT\n                        Height of the environment.\n  --number-bees NUMBER_BEES\n                        Number of bees in the environment.\n  --max-cnt-foraging-bees MAX_CNT_FORAGING_BEES\n                        The maximum count of foraging bees.\n  --number-food-sources NUMBER_FOOD_SOURCES\n                        Number of food sources in the environment.\n  --best-nutrition-score BEST_NUTRITION_SCORE\n                        The best nutrition score in the environment.\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhokagem%2Fninjabees","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhokagem%2Fninjabees","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhokagem%2Fninjabees/lists"}