[−][src]Module splr::types
Crate types
provides various building blocks, including
some common traits.
Structs
CNFDescription | data about a problem. |
CNFReader | A wrapper structure to make a CNFDescription from a file. To make CNFDescription clonable, a BufReader should be separated from it. If you want to make a CNFDescription which isn't connected to a file, just call CNFDescription::default() directly. |
Ema | Exponential Moving Average w/ a calibrator |
Ema2 | Exponential Moving Average pair |
Flag | |
Lit | Literal encoded on |
Enums
SolverError | Internal errors
Note: returning |
Constants
NULL_LIT | a dummy literal. |
Traits
ActivityIF | API for clause and var rewarding |
Delete | API for O(n) deletion from a list, providing |
EmaIF | API for Exponential Moving Average, EMA, like |
FlagIF | API for object properties. |
Instantiate | API for object instantiation based on |
LitIF | API for Literal like |
Functions
vec2int | convert |
Type Definitions
MaybeInconsistent | A Return type used by solver functions |
VarId | 'Variable' identifier or 'variable' index, starting with one. Implementation note: NonZeroUsize can be used but requires a lot of changes. The current abstraction is imcomplete. |