{"id":16086839,"url":"https://github.com/olekscode/miss-abms-firemen","last_synced_at":"2026-03-18T17:52:39.554Z","repository":{"id":194732323,"uuid":"691462209","full_name":"olekscode/miss-abms-firemen","owner":"olekscode","description":null,"archived":false,"fork":false,"pushed_at":"2023-09-18T21:39:34.000Z","size":33,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-01T16:42:23.891Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Smalltalk","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/olekscode.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":"2023-09-14T08:20:38.000Z","updated_at":"2024-01-17T08:29:10.000Z","dependencies_parsed_at":"2024-11-07T05:02:46.052Z","dependency_job_id":null,"html_url":"https://github.com/olekscode/miss-abms-firemen","commit_stats":null,"previous_names":["olekscode/miss-abms-firemen"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/olekscode/miss-abms-firemen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olekscode%2Fmiss-abms-firemen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olekscode%2Fmiss-abms-firemen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olekscode%2Fmiss-abms-firemen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olekscode%2Fmiss-abms-firemen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/olekscode","download_url":"https://codeload.github.com/olekscode/miss-abms-firemen/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olekscode%2Fmiss-abms-firemen/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29189675,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T07:37:03.739Z","status":"ssl_error","status_checked_at":"2026-02-07T07:37:03.029Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-10-09T13:25:33.203Z","updated_at":"2026-02-07T08:01:31.905Z","avatar_url":"https://github.com/olekscode.png","language":"Smalltalk","funding_links":[],"categories":[],"sub_categories":[],"readme":"# miss-abms-firemen\n\n```st\nMetacello new\n    repository: 'github://olekscode/miss-abms-firemen:main';\n    baseline: 'FiremenModel';\n    load.\n```\n\n```st\nfollowTheGroupSlowlyOrWalkRandomly\n\n\t| allGroupNeigbourPlots plotsOnFire closestPlotOnFire \"closestNeighbour\" |\n\t\n\tallGroupNeigbourPlots := group flatCollect: [ :firefighter | firefighter patch neighbourhood ].\n\tplotsOnFire := allGroupNeigbourPlots select: [ :plot | plot isFire ].\n\t\n\tplotsOnFire ifEmpty: [ \n\t\tself randomWalk.\n\t\t^ self ].\n\t\n\tclosestPlotOnFire := plotsOnFire anyOne.\n\t\n\tplotsOnFire do: [ :plot |\n\t\t(self patch distanceTo: plot) \u003c (self patch distanceTo: closestPlotOnFire)\n\t\t\tifTrue: [ closestPlotOnFire := plot ] ].\n\t\t\n\t\"closestNeighbour := self patch neighbourhood anyOne.\n\t\n\tself patch neighbourhood do: [ :plot |\n\t\t(closestPlotOnFire distanceTo: plot) \u003c (closestPlotOnFire distanceTo: closestNeighbour)\n\t\t\tifTrue: [ closestNeighbour := plot ] ].\"\n\t\n\t\"self moveTo: closestNeighbour.\"\n\t\n\tself moveTowards: closestPlotOnFire.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folekscode%2Fmiss-abms-firemen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Folekscode%2Fmiss-abms-firemen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folekscode%2Fmiss-abms-firemen/lists"}