Expand description
§Puan rust
Puan algorithms implemented in Rust.
Modules§
Structs§
- AtLeast
- Data structure for representing an
at leastconstraint on form $$ c * v_0 + c * v_1 + … + c * v_n + bias \ge 0 $$ where $c=1$ ifsign == Sign::Positive, or, $c=-1$ ifsign == Sign::Negative.idsvector property holds what variables are connected to this constraint. - Statement
- A
Statementis a declaration of an expression (or proposition) connected to aVariable. For instance, “A is true iff x > 3, else false” is a statement. Currently onlyAtLeastis considered to be anExpression. - Theory
- A
Theoryis a list of statements with a common name (id).