{"id":20123317,"url":"https://github.com/tyfkda/pentominosolver","last_synced_at":"2025-07-17T12:37:49.180Z","repository":{"id":164710899,"uuid":"639804596","full_name":"tyfkda/PentominoSolver","owner":"tyfkda","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-23T03:04:36.000Z","size":74,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-02T20:32:29.664Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/tyfkda.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":"2023-05-12T09:07:58.000Z","updated_at":"2024-12-23T03:04:39.000Z","dependencies_parsed_at":"2023-11-19T04:24:26.946Z","dependency_job_id":"b346807b-b1d4-4944-8961-b4e1203947fa","html_url":"https://github.com/tyfkda/PentominoSolver","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tyfkda/PentominoSolver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyfkda%2FPentominoSolver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyfkda%2FPentominoSolver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyfkda%2FPentominoSolver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyfkda%2FPentominoSolver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tyfkda","download_url":"https://codeload.github.com/tyfkda/PentominoSolver/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyfkda%2FPentominoSolver/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265607110,"owners_count":23797078,"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-11-13T19:44:17.197Z","updated_at":"2025-07-17T12:37:49.164Z","avatar_url":"https://github.com/tyfkda.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"ペントミノソルバー\n==================\n\n![Pentomino Solver](ss.png)\n\n#### Rust\n\n```sh\n$ cd rust\n$ cargo run --release -- --size=6\n$ cargo run --release -- --dlx --size=6\n```\n\n#### Haskell\n\n```sh\n$ cd haskell\n$ stack run -- --size=6\n```\n\n#### Java\n\n```sh\n$ cd java\n$ make\n$ make run\n$ java -cp dist PentominoSolver -s 8 --figure\n```\n\n\n### 計測結果\n\n| 実装方法 | 実行速度(秒) |\n|:--------|-----------:|\n| Rust (naive) | 0.175 |\n| Java         | 0.242 |\n| Haskell      | 0.848 |\n| Rust (DLX)   | 4.089 |\n\n\n### 図形表示\n\n```\n$ cargo run --release -- -s3 --figure\n┏━━━┳━┳━━━━━━━━━┳━━━━━┳━┳━┳━┳━━━━━━━┳━┳━┓\n┃U┏━┛X┗━┳━━━┳━┳━┛N┏━━━┛F┃T┃W┗━┓Y┏━━━┛Z┃V┃\n┃ ┗━┓ ┏━┛P  ┃L┗━━━┻━┓ ┏━┛ ┗━┓ ┗━┫ ┏━━━┛ ┃\n┗━━━┻━┻━━━━━┻━━━━━━━┻━┻━━━━━┻━━━┻━┻━━━━━┛\n\n┏━━━┳━┳━━━━━━━━━┳━┳━━━┳━━━━━┳━┳━━━━━━━┳━┓\n┃U┏━┛X┗━┳━━━┳━━━┛Z┣━┓W┗━┓T┏━┛F┗━┳━━━┓L┃V┃\n┃ ┗━┓ ┏━┛P  ┃ ┏━━━┛Y┗━┓ ┃ ┃ ┏━━━┛N┏━┻━┛ ┃\n┗━━━┻━┻━━━━━┻━┻━━━━━━━┻━┻━┻━┻━━━━━┻━━━━━┛\n\nTotal: Solution=2, check=10793, elapsed=1.341917ms\n```\n\n\n### リンク\n\n[ペントミノパズルを解く（深さ優先探索法、Dancing Links法） - Kludge Factory](https://tyfkda.github.io/blog/2023/05/12/pentomino-solver.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftyfkda%2Fpentominosolver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftyfkda%2Fpentominosolver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftyfkda%2Fpentominosolver/lists"}