Dynamic Programming III
β Problem: Minimum Length Triangulation
- Input:
- ο»Ώ points ο»Ώ in 2D space that form a convex ο»Ώ-gon ο»Ώ
- Assume that these points are sorted clockwise around the centre of ο»Ώ
- ο»Ώ points ο»Ώ in 2D space that form a convex ο»Ώ-gon ο»Ώ
- Find:
- given the ο»Ώ points, triangulation is the process of decomposing the ο»Ώ-gon into a set of non-overlapping triangles
- we want to find a triangulation of ο»Ώ such that the sum of the perimeters of the ο»Ώ triangles is minimized
- Output:
-
the sum of the perimeters of the triangles in ο»Ώ
-
So, given this ο»Ώ-gon, how many possible triangulations are there β there are (n-2) Catalan number many, which is: ο»Ώ. We donβt need to know how, but ο»Ώ
come back to this