featureMap

fun <D : CostMonoid<D>> featureMap(f: (CostFeature, C) -> D): Cost<D>