manabeai/ac-library-mbt/algebra does not have a README file

    FlowInt

    pub trait FlowInt {
    fn to_i64(Self) -> Int64
    fn from_i64(Int64) -> Self
    fn maximum() -> Int64
    }

    Signed capacity/cost types supported by flow algorithms.
    impl FlowInt for Int
    impl FlowInt for Int64

    ModInput

    pub trait ModInput {
    fn reduce(Self, Int) -> Int
    fn from_residue(Int) -> Self
    }

    Lossless modular reduction of the four ACL integer types.
    impl ModInput for Int
    impl ModInput for Int64
    impl ModInput for UInt
    impl ModInput for UInt64

    Zero

    pub(open) trait Zero {
    fn zero() -> Self
    }

    Additive identity. Implementations used in Fenwick trees must form an abelian group.
    impl Zero for Int
    impl Zero for Int64
    impl Zero for UInt
    impl Zero for UInt64

    Source Files

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io