Skip to main content

Module types

Module types 

Source
Expand description

Auto-generated module

🤖 Generated with SplitRS

Structs§

CircuitEvaluator
Evaluate a Boolean circuit on a given input assignment.
CircuitGate
CommunicationMatrixAnalyzer
Compute rank-based lower bounds for communication complexity. Uses Gaussian elimination over GF(2) to find rank of the communication matrix.
DpllSolver
DPLL-based propositional SAT solver. Variables are 1..=n. Clauses are lists of literals (positive = var, negative = -var).
ParameterizedAlgorithmChecker
Check whether an algorithm runs within FPT time bound f(k) * n^c. Accepts observed runtime, parameter k, input size n, computable f, and constant c.
ResolutionProverSmall
Simple resolution-based propositional prover. Works on clauses over integer literals (positive = var, negative = negated var). Attempts to derive the empty clause (refutation).
SensitivityChecker
Compute sensitivity and block sensitivity of a Boolean function. The function is given as a truth table (index = bit string, value = output).
SudokuSolver
Simple Sudoku solver using backtracking (9×9).
TwoSatSolver
Evaluate a 2-CNF formula (given as list of clauses over bool variables). Returns true if satisfiable (2-SAT, solved via Kosaraju SCC).

Enums§

GateKind
Evaluate a Boolean circuit represented as a DAG. Gates: 0 = AND, 1 = OR, 2 = NOT, 3 = INPUT (index stored in left).