Module Costlib.BoundMap

module BasicCost = CostDomain.BasicCost
val lookup_upperbound : BasicCost.t Node.IdMap.t -> Node.id -> BasicCost.t

given a bound map and a node, lookup the number of times it can be executed

compute a map from each node to an upper bound on the number of times it can be executed.