Expand description
algorithm
Re-exportsยง
pub use self::ternary_search::piecewise_ternary_search;pub use self::ternary_search::ternary_search;
Modulesยง
- automata_
learning ๐ - baby_
step_ ๐giant_ step - binary_
search ๐ - bitdp ๐
- cartesian_
tree ๐ - chromatic_
number ๐ - combinations ๐
- convex_
hull_ ๐trick - esper ๐
- horn_
satisfiability ๐ - impartial_
game ๐ - mo_
algorithm ๐ - other ๐
- partisan_
game ๐ - quotient_
index ๐ - rho_
path ๐ - solve_
01_ ๐on_ tree - sort ๐
- sqrt_
decomposition ๐ - stern_
brocot_ ๐tree - syakutori ๐
- ternary_
search - xorbasis ๐
- zero_
sum_ ๐game
Structsยง
- Black
BoxAutomaton Impl - Cartesian
Tree - Ceil
Quotient Index - sorted({ ceil(n/k) | k in [1, n] })
- Combinations
- Convex
Hull Trick - Deterministic
Finite Automaton - DfaLearning
- Esper
Estimator - Esper
Solver - Floor
Quotient Index - sorted({ floor(n/k) | k in [1, n] })
- Horn
Satisfiability - Horn Satisfiability
- Impartial
Game Analyzer - Impartial
Gamer - Independent
SubSet - Partisan
Game Analyzer - Partisan
Gamer - Range
Update Range Fold Sqrt Decomposition - RhoPath
- $P_0 =$
init, $P_{i+1} = next(P_i)$ - SbtNode
- SbtPath
- Sqrt
Decomposition Buckets - Subsets
- Weighted
Finite Automaton - WfaLearning
- XorBasis
- Basis of xor operation.
- Zero
SumGame Analyzer - Zero
SumGamer
Traitsยง
- Bisect
- binary search helper
- BitDp
Ext - Black
BoxAutomaton - Impartial
Game - Partisan
Game - Slice
Bisect Ext - binary search for slice
- Slice
Combinations Ext - Slice
Sort Ext - Sqrt
Decomposition - Stern
Brocot Tree - Zero
SumGame
Functionsยง
- baby_
step_ giant_ step - $\min{0\le i < n | x^i=y}$
- binary_
search - binary search for monotone segment
- dense_
sampling - parallel_
binary_ search - random_
sampling - rational_
binary_ search - run_
length_ encoding - return: [(elem, length)]
- solve_
01_ on_ tree