{"id":18655741,"url":"https://github.com/hayd1n/cs2022301-state-minimization","last_synced_at":"2025-09-12T20:37:40.593Z","repository":{"id":211159773,"uuid":"717504890","full_name":"hayd1n/CS2022301-State-Minimization","owner":"hayd1n","description":"112.1【資工系】CS2022301 數位系統設計 Digital System Design Project03 State Minimization","archived":false,"fork":false,"pushed_at":"2023-11-29T13:04:24.000Z","size":1343,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-06T23:03:49.695Z","etag":null,"topics":["ntust"],"latest_commit_sha":null,"homepage":"https://hayd1n.github.io/ntust/CS2022301/state_minimization/","language":"C++","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/hayd1n.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-11-11T17:03:52.000Z","updated_at":"2024-11-13T16:16:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"18c2fe08-bc77-48ba-a775-7bc48e1c6976","html_url":"https://github.com/hayd1n/CS2022301-State-Minimization","commit_stats":null,"previous_names":["crt-hao/cs2022301-state-minimization","hayd1n/cs2022301-state-minimization"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/hayd1n/CS2022301-State-Minimization","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hayd1n%2FCS2022301-State-Minimization","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hayd1n%2FCS2022301-State-Minimization/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hayd1n%2FCS2022301-State-Minimization/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hayd1n%2FCS2022301-State-Minimization/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hayd1n","download_url":"https://codeload.github.com/hayd1n/CS2022301-State-Minimization/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hayd1n%2FCS2022301-State-Minimization/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274873613,"owners_count":25365824,"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-09-12T02:00:09.324Z","response_time":60,"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":["ntust"],"created_at":"2024-11-07T07:19:54.949Z","updated_at":"2025-09-12T20:37:40.576Z","avatar_url":"https://github.com/hayd1n.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CS2022301-State-Minimization\n\u003e 資訊工程系 二年級 乙班 張皓鈞 B11030202\n\n## Requirements\n- GNU GCC/Clang with C++14 supported\n- CMake \u003e= 3.18\n- Make or Ninja build tool\n\n\u003e MSVC(Microsoft Visual C++) may be supported, but not tested\n\n## Build\n\nUse CMake to build the program\n\n```bash\nmkdir build\ncd build\ncmake -DCMAKE_BUILD_TYPE=Release ..\ncmake --build .\n```\n\n## Usage\n\n```\nUsage: ./state_minimization \u003cinput_kiss\u003e \u003coutput_kiss\u003e \u003coutput_dot\u003e [--debug]\n```\n\n## Example\n\n```bash\n./state_minimization ./input.kiss ./output.kiss ./output.dot\nSuccess\n```\n\n## Test platform\n\n![neofetch](./assets/neofetch.png)\n\n### macOS\n\n```\nDarwin haodeMacBook-Pro.local 23.1.0 Darwin Kernel Version 23.1.0: Mon Oct  9 21:28:12 PDT 2023; root:xnu-10002.41.9~6/RELEASE_ARM64_T8103 arm64\n```\n\n### Apple Clang\n\n```\nApple clang version 15.0.0 (clang-1500.0.40.1)\nTarget: arm64-apple-darwin23.1.0\nThread model: posix\nInstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin\n```\n\n### CMake\n\n```\ncmake version 3.26.4\n```\n\n### Ninja\n\n```\n1.11.1\n```\n\n### Graphviz dot\n\n```\ndot - graphviz version 9.0.0 (20230911.1827)\n```\n\n## Test case\n\n[./examples/set00/case1/input.kiss](./examples/set00/case1/input.kiss)\n\n### Input kiss\n\n```kiss\n.start_kiss\n.i 1\n.o 1\n.p 14\n.s 7\n.r a\n0 a b 0\n1 a c 0\n0 b d 0\n1 b e 0\n0 c f 0\n1 c a 0\n0 d h 0\n1 d g 0\n0 e b 1\n1 e c 0\n0 f d 0\n1 f e 0\n0 g f 1\n1 g a 0\n0 h h 0\n1 h a 1\n.end_kiss\n```\n\n### Input dot\n\n```dot\ndigraph STG {\n\trankdir=LR;\n\n\tINIT [shape=point];\n\ta [label=\"a\"];\n\tb [label=\"b\"];\n\tc [label=\"c\"];\n\td [label=\"d\"];\n\te [label=\"e\"];\n\tf [label=\"f\"];\n\th [label=\"h\"];\n\tg [label=\"g\"];\n\n\tINIT -\u003e a;\n\ta -\u003e b [label=\"0/0\"];\n\ta -\u003e c [label=\"1/0\"];\n\tb -\u003e d [label=\"0/0\"];\n\tb -\u003e e [label=\"1/0\"];\n\tc -\u003e f [label=\"0/0\"];\n\tc -\u003e a [label=\"1/0\"];\n\td -\u003e h [label=\"0/0\"];\n\td -\u003e g [label=\"1/0\"];\n\te -\u003e b [label=\"0/1\"];\n\te -\u003e c [label=\"1/0\"];\n\tf -\u003e d [label=\"0/0\"];\n\tf -\u003e e [label=\"1/0\"];\n\th -\u003e h [label=\"0/0\"];\n\th -\u003e a [label=\"1/1\"];\n\tg -\u003e f [label=\"0/1\"];\n\tg -\u003e a [label=\"1/0\"];\n}\n```\n\n### Input PNG\n\n![test_output](./assets/test_output.png)\n\n### Output kiss\n\n```kiss\n.start_kiss\n.i 1\n.o 1\n.p 10\n.s 5\n.r a\n0 a b 0\n1 a a 0\n0 b d 0\n1 b e 0\n0 d h 0\n1 d e 0\n0 e b 1\n1 e a 0\n0 h h 0\n1 h a 1\n.end_kiss\n```\n\n### Output dot\n\n```dot\ndigraph STG {\n\trankdir=LR;\n\n\tINIT [shape=point];\n\ta [label=\"a\"];\n\tb [label=\"b\"];\n\td [label=\"d\"];\n\te [label=\"e\"];\n\th [label=\"h\"];\n\n\tINIT -\u003e a;\n\ta -\u003e b [label=\"0/0\"];\n\ta -\u003e a [label=\"1/0\"];\n\tb -\u003e d [label=\"0/0\"];\n\tb -\u003e e [label=\"1/0\"];\n\td -\u003e h [label=\"0/0\"];\n\td -\u003e e [label=\"1/0\"];\n\te -\u003e b [label=\"0/1\"];\n\te -\u003e a [label=\"1/0\"];\n\th -\u003e h [label=\"0/0\"];\n\th -\u003e a [label=\"1/1\"];\n}\n```\n\n### Output PNG\n\n![output](./assets/output.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhayd1n%2Fcs2022301-state-minimization","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhayd1n%2Fcs2022301-state-minimization","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhayd1n%2Fcs2022301-state-minimization/lists"}