This libaray and runner requires .NET 8.0. To download .NET 8.0, visit Download Page.
Warning
Since I had to write this code in a short time, I wrote it without considering many things.
In particular, The efficiency and consistency of the algorithm are concerned. Testing has only been done for a very small number of cases, so don't trust this.
Windows
run.batLinux, macOS
sh ./run.shWindows
test.batLinux, macOS
sh ./test.sh
- Copy
QuineMcCluskeyto your project. - Run
dotnet add <your-proejct-csproj-file> reference QuineMcCluskey/QuineMccluskey.csproj. for more details, visit .NET tutorials about creating a library and adding a project reference. - Import library's modules to your project.
- for example usage, read
Runner/Program.cs.
class QuineMcCluskeyWorker
enum Bitclass DefaultDictionary<TKey, TValue> : System.Collections.Generic.Dictionary<TKey, TValue>
class TermDiffCountNot1Error : System.Exceptionclass BitLenVarCountNotMatchError : System.Exception
class Term : IComparablerecord TermDiff