|
| 1 | +#[cfg(feature = "convolution")] |
1 | 2 | pub mod convolution;
|
| 3 | +#[cfg(feature = "dsu")] |
2 | 4 | pub mod dsu;
|
| 5 | +#[cfg(feature = "fenwicktree")] |
3 | 6 | pub mod fenwicktree;
|
| 7 | +#[cfg(feature = "lazysegtree")] |
4 | 8 | pub mod lazysegtree;
|
| 9 | +#[cfg(feature = "math")] |
5 | 10 | pub mod math;
|
| 11 | +#[cfg(feature = "maxflow")] |
6 | 12 | pub mod maxflow;
|
| 13 | +#[cfg(feature = "mincostflow")] |
7 | 14 | pub mod mincostflow;
|
| 15 | +#[cfg(feature = "modint")] |
8 | 16 | pub mod modint;
|
| 17 | +#[cfg(feature = "scc")] |
9 | 18 | pub mod scc;
|
| 19 | +#[cfg(feature = "segtree")] |
10 | 20 | pub mod segtree;
|
| 21 | +#[cfg(feature = "string")] |
11 | 22 | pub mod string;
|
| 23 | +#[cfg(feature = "twosat")] |
12 | 24 | pub mod twosat;
|
13 | 25 |
|
| 26 | +#[cfg(any(feature = "convolution", feature = "lazysegtree", feature = "segtree"))] |
14 | 27 | pub(crate) mod internal_bit;
|
| 28 | +#[cfg(any(feature = "math", feature = "modint"))] |
15 | 29 | pub(crate) mod internal_math;
|
| 30 | +#[cfg(feature = "maxflow")] |
16 | 31 | pub(crate) mod internal_queue;
|
| 32 | +#[cfg(any(feature = "scc", feature = "twosat"))] |
17 | 33 | pub(crate) mod internal_scc;
|
| 34 | +#[cfg(any(feature = "maxflow", feature = "mincostflow", feature = "segtree"))] |
18 | 35 | pub(crate) mod internal_type_traits;
|
19 | 36 |
|
| 37 | +#[cfg(feature = "convolution")] |
20 | 38 | pub use convolution::{convolution, convolution_i64};
|
| 39 | +#[cfg(feature = "dsu")] |
21 | 40 | pub use dsu::Dsu;
|
| 41 | +#[cfg(feature = "fenwicktree")] |
22 | 42 | pub use fenwicktree::FenwickTree;
|
| 43 | +#[cfg(feature = "lazysegtree")] |
23 | 44 | pub use lazysegtree::{LazySegtree, MapMonoid};
|
| 45 | +#[cfg(feature = "math")] |
24 | 46 | pub use math::{crt, floor_sum, inv_mod, pow_mod};
|
| 47 | +#[cfg(feature = "maxflow")] |
25 | 48 | pub use maxflow::{Edge, MfGraph};
|
| 49 | +#[cfg(feature = "mincostflow")] |
26 | 50 | pub use mincostflow::MinCostFlowGraph;
|
| 51 | +#[cfg(feature = "modint")] |
27 | 52 | pub use modint::{
|
28 | 53 | Barrett, ButterflyCache, DefaultId, DynamicModInt, Id, Mod1000000007, Mod998244353, ModInt,
|
29 | 54 | ModInt1000000007, ModInt998244353, Modulus, RemEuclidU32, StaticModInt,
|
30 | 55 | };
|
| 56 | +#[cfg(feature = "scc")] |
31 | 57 | pub use scc::SccGraph;
|
| 58 | +#[cfg(feature = "segtree")] |
32 | 59 | pub use segtree::{Additive, Max, Min, Monoid, Multiplicative, Segtree};
|
| 60 | +#[cfg(feature = "string")] |
33 | 61 | pub use string::{
|
34 | 62 | lcp_array, lcp_array_arbitrary, suffix_array, suffix_array_arbitrary, suffix_array_manual,
|
35 | 63 | z_algorithm, z_algorithm_arbitrary,
|
36 | 64 | };
|
| 65 | +#[cfg(feature = "twosat")] |
37 | 66 | pub use twosat::TwoSat;
|
0 commit comments