Let us assume for the sake of illustration that the cost function is defined in such a way that adding a vertex or an edge always costs one point.
for each v ∈ V H and for each e ∈ E H : cost(v) = cost(e) = 1.