public UniformConstraint(Job blocker, int l, int h) { BlockingJob = blocker; Latency = l; Iterations = h; }
public int Height(Job other) { return Blockers.Where(b => b.BlockingJob == other).Select(b => b.Iterations).Sum(); }