{"id":24081871,"url":"https://github.com/hoddy3190/eight_queens_pml","last_synced_at":"2026-03-04T10:32:03.084Z","repository":{"id":84798439,"uuid":"160825352","full_name":"hoddy3190/eight_queens_pml","owner":"hoddy3190","description":"Find all(= 92) eight queens answers with Spin/Promela.","archived":false,"fork":false,"pushed_at":"2018-12-09T17:28:52.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-27T00:48:16.339Z","etag":null,"topics":["promela","spin"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hoddy3190.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":"2018-12-07T13:10:16.000Z","updated_at":"2018-12-09T17:28:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"3c07c62f-e42f-43af-b254-caa107b5cb86","html_url":"https://github.com/hoddy3190/eight_queens_pml","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hoddy3190/eight_queens_pml","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoddy3190%2Feight_queens_pml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoddy3190%2Feight_queens_pml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoddy3190%2Feight_queens_pml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoddy3190%2Feight_queens_pml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hoddy3190","download_url":"https://codeload.github.com/hoddy3190/eight_queens_pml/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoddy3190%2Feight_queens_pml/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30078308,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T08:01:56.766Z","status":"ssl_error","status_checked_at":"2026-03-04T08:00:42.919Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["promela","spin"],"created_at":"2025-01-09T23:27:01.386Z","updated_at":"2026-03-04T10:32:03.049Z","avatar_url":"https://github.com/hoddy3190.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# eight queens solved by Spin/Promela\n\nFind all(= 92) eight queens answers with Spin/Promela.  \nFor example, one of the answers is the following.\n\n```\n  +---+---+---+---+---+---+---+---+\n0 | Q |   |   |   |   |   |   |   |\n  +---+---+---+---+---+---+---+---+\n1 |   |   |   |   |   |   | Q |   |\n  +---+---+---+---+---+---+---+---+\n2 |   |   |   |   | Q |   |   |   |\n  +---+---+---+---+---+---+---+---+\n3 |   |   |   |   |   |   |   | Q |\n  +---+---+---+---+---+---+---+---+\n4 |   | Q |   |   |   |   |   |   |\n  +---+---+---+---+---+---+---+---+\n5 |   |   |   | Q |   |   |   |   |\n  +---+---+---+---+---+---+---+---+\n6 |   |   |   |   |   | Q |   |   |\n  +---+---+---+---+---+---+---+---+\n7 |   |   | Q |   |   |   |   |   |\n  +---+---+---+---+---+---+---+---+\n    0   1   2   3   4   5   6   7\n```\n\n\n## Usage\n\n```\n$ brew install spin\n$ spin -a eight_queens.pml\n$ gcc -o pan pan.c\n$ ./pan -E -c0 -e\n$ ls *.trail | wc -l # confirm that there are 92 answers\n      92\n$ spin -k eight_queens.pml1.trail -t eight_queens.pml # show one of the answers.\nspin: eight_queen.pml:44, Error: assertion violated\nspin: text of failed assertion: assert(0)\nspin: trail ends after 81 steps\n#processes: 1\n        result[0] = 0  # results[col_num] = row_num.\n        result[1] = 4\n        result[2] = 7\n        result[3] = 5\n        result[4] = 2\n        result[5] = 6\n        result[6] = 1\n        result[7] = 3\n        ...\n```\n\n## Author\n\n[Hodaka Suzuki](https://github.com/altitude3190)\n\n\n## Lisense\n\n[Unlisence](https://github.com/altitude3190/eight_queens_pml/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhoddy3190%2Feight_queens_pml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhoddy3190%2Feight_queens_pml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhoddy3190%2Feight_queens_pml/lists"}