Skip to content

Commit

Permalink
Put SoP-like structures in their own module
Browse files Browse the repository at this point in the history
  • Loading branch information
Coloquinte committed Jan 2, 2024
1 parent 63de04f commit f4702f4
Show file tree
Hide file tree
Showing 7 changed files with 406 additions and 397 deletions.
15 changes: 2 additions & 13 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
//! fixed-size truth tables ([`Lut2` to `Lut12`](https://docs.rs/volute/latest/volute/struct.StaticLut.html)).
//! They provide logical operators and utility functions for analysis, canonization and decomposition.
//! Some support is available for other standard representation, such as Sum-of-Products
//! ([`Sop`](https://docs.rs/volute/latest/volute/struct.Sop.html)).
//! ([`Sop`](https://docs.rs/volute/latest/volute/sop/struct.Sop.html)).
//!
//! API and documentation try to follow the same terminology as the C++ library [Kitty](https://libkitty.readthedocs.io/en/latest).
//!
Expand Down Expand Up @@ -52,25 +52,14 @@
mod bdd;
mod canonization;
mod cube;
mod decomposition;
mod ecube;
mod lut;
mod operations;
mod soes;
mod sop;
pub mod sop;
mod static_lut;

#[cfg(feature = "optim-mip")]
#[cfg_attr(docsrs, doc(cfg(feature = "optim-mip")))]
pub mod optim;

pub use cube::Cube;
pub use decomposition::DecompositionType;
pub use ecube::Ecube;
pub use lut::Lut;
pub use soes::Soes;
pub use sop::Sop;
pub use static_lut::StaticLut;

pub use static_lut::{
Expand Down
Loading

0 comments on commit f4702f4

Please sign in to comment.