module MLFLib

using Base: oneto
using FillArrays
using ..Utilities

export mlf!

function maxint(::Type{I}) where {I}
    return typemax(I) - convert(I, 100000)
end

include("mlfwh.jl")
include("genmf_wh.jl")
include("compress.jl")
include("mfinit_def.jl")
include("mfinit_vanilla.jl")
include("mfinit_heap.jl")
include("build_heap.jl")
include("del_heap.jl")
include("mod_heap.jl")
include("move_up.jl")
include("move_down.jl")
include("elmclq.jl")
include("elmtra.jl")
include("garbg2.jl")
include("mfupd_def.jl")
include("mfnumn.jl")

end
