Module Costlib.CostUtils

module CostModelEnv : sig ... end
val unit_cost_of : of_function:string -> IBase.Location.t -> CostDomain.BasicCost.t

Unit cost value

val cost_of_itv : itv:BO.Itv.t -> degree_kind:BO.Polynomials.DegreeKind.t -> of_function:string -> IBase.Location.t -> CostDomain.BasicCost.t

Translate interval to cost value

Given a string of length n and an optional starting index i (0 by default), return itv 0, n_u-i_l

module type S = sig ... end

Module type for getting length of various data types

module Array : S
module Collection : S
module Container : S
module CString : S
module NSCollection : S