LogicalOptimizer.Core
3.2.1
See the version list below for details.
dotnet add package LogicalOptimizer.Core --version 3.2.1
NuGet\Install-Package LogicalOptimizer.Core -Version 3.2.1
<PackageReference Include="LogicalOptimizer.Core" Version="3.2.1" />
<PackageVersion Include="LogicalOptimizer.Core" Version="3.2.1" />
<PackageReference Include="LogicalOptimizer.Core" />
paket add LogicalOptimizer.Core --version 3.2.1
#r "nuget: LogicalOptimizer.Core, 3.2.1"
#:package LogicalOptimizer.Core@3.2.1
#addin nuget:?package=LogicalOptimizer.Core&version=3.2.1
#tool nuget:?package=LogicalOptimizer.Core&version=3.2.1
LogicalOptimizer.Core
The canonical Boolean layer of the LogicalOptimizer toolkit. The n-ary AST,
FormulaFactory (a canonicalizing parser and builder), AstFormatter, AstMetrics,
truth tables and the internal And-Inverter Graph — dependency-free and Native-AOT-safe.
dotnet add package LogicalOptimizer.Core
using LogicalOptimizer;
var f = new FormulaFactory();
var ast = f.Parse("c & a & b");
Console.WriteLine(ast); // a & b & c (canonical operand order)
Console.WriteLine(AstMetrics.CountLiterals(f.Parse("a & (b | c)"))); // 3
Console.WriteLine(f.Parse("a | !a")); // 1 (folded at parse time)
FormulaFactory is the single construction path: it flattens nested And/Or chains, sorts
operands into a stable canonical order, removes duplicates, folds constants and
complements, and interns the result — so equal formulas are the same instance.
When to choose this package
Reference .Core alone when you only need to parse, canonicalize, format, measure or
build Boolean formulas and generate truth tables — with no solver, BDD or minimizer
pulled in. Every other package in the toolkit builds on this one.
📚 Full documentation: https://AlexanderV.github.io/LogicalOptimizer/
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- No dependencies.
-
net8.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.