Dynamic Programming21 sections · 916 units
Open in CourseQuiz: Quadrangle Inequality
Testing the concept
Check Your Understanding
A cost function satisfies quadrangle inequality if for i <= j <= k <= l, cost(i,l) + cost(j,k) >= cost(i,k) + cost(j,l). What does this mean intuitively?
- A.Crossing intervals have higher total cost than nested intervals
- B.Overlapping intervals can be merged without cost increase
- C.Smaller intervals are always cheaper
- D.The cost function is always convex