{"id":18655743,"url":"https://github.com/hayd1n/cs2022301-exact-boolean-minimization","last_synced_at":"2025-11-05T19:30:30.164Z","repository":{"id":203577759,"uuid":"700654212","full_name":"hayd1n/CS2022301-Exact-Boolean-Minimization","owner":"hayd1n","description":"112.1【資工系】CS2022301 數位系統設計 Digital System Design Project02 Exact Boolean Minimization","archived":false,"fork":false,"pushed_at":"2023-10-14T13:44:27.000Z","size":1324,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-27T14:40:41.147Z","etag":null,"topics":["ntust"],"latest_commit_sha":null,"homepage":"","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}},"created_at":"2023-10-05T02:55:47.000Z","updated_at":"2024-07-07T01:19:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"66fb63a2-8ba9-4dda-853f-675b13d3c000","html_url":"https://github.com/hayd1n/CS2022301-Exact-Boolean-Minimization","commit_stats":null,"previous_names":["crt-hao/cs2022301-exact-boolean-minimization","hayd1n/cs2022301-exact-boolean-minimization"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hayd1n%2FCS2022301-Exact-Boolean-Minimization","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hayd1n%2FCS2022301-Exact-Boolean-Minimization/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hayd1n%2FCS2022301-Exact-Boolean-Minimization/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hayd1n%2FCS2022301-Exact-Boolean-Minimization/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hayd1n","download_url":"https://codeload.github.com/hayd1n/CS2022301-Exact-Boolean-Minimization/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239470550,"owners_count":19644148,"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":["ntust"],"created_at":"2024-11-07T07:19:54.992Z","updated_at":"2025-11-05T19:30:30.107Z","avatar_url":"https://github.com/hayd1n.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CS2022301-Exact-Boolean-Minimization\n\n\u003e 資訊工程系 二年級 乙班 張皓鈞 B11030202\n\n\n\n## Requirements\n\n- GNU GCC/Clang with C++14 supported\n- CMake \u003e= 3.18\n- Make or Ninja build tool\n\n\u003e Microsoft Visual C++ may be supported, but not tested\n\n\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\n\n## Usage\n\n```shell\nUsage: ./exact_boolean_minimization \u003cinput_pla\u003e \u003coutput_pla\u003e [--debug]\n```\n\n### Example\n\n```shell\n./exact_boolean_minimization ../examples/set03/case1.pla ./output/set03/case1.pla\nTotal number of terms: 3\nTotal number of literals: 6\n```\n\n### Output\n\n\n\n## Test platform\n\n![neofetch](./assets/neofetch.png)\n\n### macOS\n\n```\nDarwin ip139-166.wlan.ntust.edu.tw 22.6.0 Darwin Kernel Version 22.6.0: Wed Jul  5 22:22:52 PDT 2023; root:xnu-8796.141.3~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-darwin22.6.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\n\n## Test Cases\n\n### Case 1\n\n[./examples/set03/case1.pla](./examples/set03/case1.pla)\n\n#### Input PLA\n\n```pla\n.i 4\n.o 1\n.ilb a b c d\n.ob f\n.p 7\n001- 1\n0111 1\n10-1 1\n1101 1\n0001 -\n1010 -\n1111 -\n.e\n```\n\n#### Output PLA\n\n```pla\n.i 4\n.o 1\n.ilb a b c d \n.ob f \n.p 3\n-01- 1\n--11 1\n1--1 1\n.e\n```\n\n#### Best solutions\n\n- $b'c + cd + ad$\n\n\n\n### Case 2\n\n[./examples/set03/case2.pla](./examples/set03/case2.pla)\n\n#### Input PLA\n\n```pla\n.i 5\n.o 1\n.ilb a b c d e\n.ob f\n.p 8\n0110- 1\n-1000 1\n0-00- -\n01-01 1\n0-101 1\n10-10 1\n1-1-0 1\n010-- 1\n.e\n```\n\n#### Output PLA\n\n```pla\n.i 5\n.o 1\n.ilb a b c d e \n.ob f \n.p 5\n0--01 1\n010-- 1\n-1-00 1\n10-10 1\n1-1-0 1\n.e\n```\n\n#### Best solutions\n\n- $a'd'e + a'bc' + bd'e' + ab'de' + ace'$\n\n\n\n#### Case 3\n\n[./examples/set03/case3.pla](./examples/set03/case3.pla)\n\n#### Input PLA\n\n```pla\n.i 6\n.o 1\n.ilb a b c d e g\n.ob f\n.p 8\n00--00 1\n1-11-- -\n-11-01 1\n0-1110 1\n11-011 1\n011101 1\n-11--0 1\n11-0-1 1\n.e\n```\n\n#### Output PLA\n\n```pla\n.i 6\n.o 1\n.ilb a b c d e g \n.ob f \n.p 5\n00--00 1\n--11-0 1\n-11-0- 1\n-11--0 1\n11-0-1 1\n.e\n```\n\n#### Best solutions\n\n- $a'b'e'g' + cdg' + bce' + bcg' + abd'g$\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhayd1n%2Fcs2022301-exact-boolean-minimization","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhayd1n%2Fcs2022301-exact-boolean-minimization","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhayd1n%2Fcs2022301-exact-boolean-minimization/lists"}