Skip to content
This repository was archived by the owner on Jul 4, 2024. It is now read-only.

ShapeLayer/quine-mccluskey-method-calculator

Repository files navigation

Implementation of Quine–McCluskey Method

.NET 8.0

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.

Getting Started

Run Project

Windows

run.bat

Linux, macOS

sh ./run.sh

Testing

Windows

test.bat

Linux, macOS

sh ./test.sh

Import the Library

  1. Copy QuineMcCluskey to your project.
  2. 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.
  3. Import library's modules to your project.

Library Modules

QuineMcCluskey

  • class QuineMcCluskeyWorker

QuineMcCluskey.Commons

  • enum Bit
  • class DefaultDictionary<TKey, TValue> : System.Collections.Generic.Dictionary<TKey, TValue>

QuineMcCluskey.Exceptions

  • class TermDiffCountNot1Error : System.Exception
  • class BitLenVarCountNotMatchError : System.Exception

QuineMcCluskey.Term

  • class Term : IComparable
  • record TermDiff

About

Computes Quine-McCluskey Method

Topics

Resources

License

Stars

Watchers

Forks

Languages