Expand description
§Puan rust
Puan algorithms implemented in Rust.
Modules§
Structs§
- AtLeast
- Data structure for representing an
at least
constraint 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
.ids
vector property holds what variables are connected to this constraint. - Statement
- A
Statement
is a declaration of an expression (or proposition) connected to aVariable
. For instance, “A is true iff x > 3, else false” is a statement. Currently onlyAtLeast
is considered to be anExpression
. - Theory
- A
Theory
is a list of statements with a common name (id).