Skip to main content
edited tags
Link
correcting error in the example section
Source Link
Thirlan
  • 157
  • 5

I would like to apologize to all the posts below. Picked the wrong forum to post this in originally. However rather than make this a complete waste I've reworked the question to be a true "Theoretical Computer Science" problem.

Problem: Create an algorithm that takes a set of n ordered points in a 2D plane that form the contour of a simple polygon A that may or may not be concave and creates a new polygon B with m points such that:

  1. all points in A are contained within B
  2. 3 <= m < n
  3. B is the polygon in the set of all Bs with the smallest area
  4. B must be a simple polygon (i.e. no self-interestionsintersections).
  5. The input to the algorithm is polygon A and "m".
  6. Coincidence of segments in B with segments in A are allowed.

Some example inputs and expected outputs:

  1. If A is a square and m is 3 then B would be the triangle with the smallest surface area that contains A.
  2. If A is a hexagon and m is 4 then B would be a squarequadrilateral with the smallest surface area that contains A.

Good luck to everyone who tries this problem out. I can promise you this will be very hard especially now that the solution must be optimal.

I would like to apologize to all the posts below. Picked the wrong forum to post this in originally. However rather than make this a complete waste I've reworked the question to be a true "Theoretical Computer Science" problem.

Problem: Create an algorithm that takes a set of n ordered points in a 2D plane that form the contour of a simple polygon A that may or may not be concave and creates a new polygon B with m points such that:

  1. all points in A are contained within B
  2. 3 <= m < n
  3. B is the polygon in the set of all Bs with the smallest area
  4. B must be a simple polygon (i.e. no self-interestions).
  5. The input to the algorithm is polygon A and "m".
  6. Coincidence of segments in B with segments in A are allowed.

Some example inputs and expected outputs:

  1. If A is a square and m is 3 then B would be the triangle with the smallest surface area that contains A.
  2. If A is a hexagon and m is 4 then B would be a square with the smallest surface area that contains A.

Good luck to everyone who tries this problem out. I can promise you this will be very hard especially now that the solution must be optimal.

I would like to apologize to all the posts below. Picked the wrong forum to post this in originally. However rather than make this a complete waste I've reworked the question to be a true "Theoretical Computer Science" problem.

Problem: Create an algorithm that takes a set of n ordered points in a 2D plane that form the contour of a simple polygon A that may or may not be concave and creates a new polygon B with m points such that:

  1. all points in A are contained within B
  2. 3 <= m < n
  3. B is the polygon in the set of all Bs with the smallest area
  4. B must be a simple polygon (i.e. no self-intersections).
  5. The input to the algorithm is polygon A and "m".
  6. Coincidence of segments in B with segments in A are allowed.

Some example inputs and expected outputs:

  1. If A is a square and m is 3 then B would be the triangle with the smallest surface area that contains A.
  2. If A is a hexagon and m is 4 then B would be a quadrilateral with the smallest surface area that contains A.

Good luck to everyone who tries this problem out. I can promise you this will be very hard especially now that the solution must be optimal.

added proper bulleting
Source Link
Thirlan
  • 157
  • 5

I would like to apologize to all the posts below. Picked the wrong forum to post this in originally. However rather than make this a complete waste I've reworked the question to be a true "Theoretical Computer Science" problem.

Problem: Create an algorithm that takes a set of n ordered points in a 2D plane that form the contour of a simple polygon A that may or may not be concave and creates a new polygon B with m points such that:

  1. all points in A are contained within B
  2. 3 <= m < n
  3. B is the polygon in the set of all Bs with the smallest area
  4. B must be a simple polygon (i.e. no self-interestions).
  5. The input to the algorithm is polygon A and "m".
  6. Coincidence of segments in B with segments in A are allowed.

Some example inputs and expected outputs:

  • If A is a square and m is 3 then B would be the triangle with the smallest surface area that contains A.
  • If A is a hexagon and m is 4 then B would be a square with the smallest surface area that contains A.
  1. If A is a square and m is 3 then B would be the triangle with the smallest surface area that contains A.
  2. If A is a hexagon and m is 4 then B would be a square with the smallest surface area that contains A.

Good luck to everyone who tries this problem out. I can promise you this will be very hard especially now that the solution must be optimal.

I would like to apologize to all the posts below. Picked the wrong forum to post this in originally. However rather than make this a complete waste I've reworked the question to be a true "Theoretical Computer Science" problem.

Problem: Create an algorithm that takes a set of n ordered points in a 2D plane that form the contour of a simple polygon A that may or may not be concave and creates a new polygon B with m points such that:

  1. all points in A are contained within B
  2. 3 <= m < n
  3. B is the polygon in the set of all Bs with the smallest area
  4. B must be a simple polygon (i.e. no self-interestions).
  5. The input to the algorithm is polygon A and "m".
  6. Coincidence of segments in B with segments in A are allowed.

Some example inputs and expected outputs:

  • If A is a square and m is 3 then B would be the triangle with the smallest surface area that contains A.
  • If A is a hexagon and m is 4 then B would be a square with the smallest surface area that contains A.

Good luck to everyone who tries this problem out. I can promise you this will be very hard especially now that the solution must be optimal.

I would like to apologize to all the posts below. Picked the wrong forum to post this in originally. However rather than make this a complete waste I've reworked the question to be a true "Theoretical Computer Science" problem.

Problem: Create an algorithm that takes a set of n ordered points in a 2D plane that form the contour of a simple polygon A that may or may not be concave and creates a new polygon B with m points such that:

  1. all points in A are contained within B
  2. 3 <= m < n
  3. B is the polygon in the set of all Bs with the smallest area
  4. B must be a simple polygon (i.e. no self-interestions).
  5. The input to the algorithm is polygon A and "m".
  6. Coincidence of segments in B with segments in A are allowed.

Some example inputs and expected outputs:

  1. If A is a square and m is 3 then B would be the triangle with the smallest surface area that contains A.
  2. If A is a hexagon and m is 4 then B would be a square with the smallest surface area that contains A.

Good luck to everyone who tries this problem out. I can promise you this will be very hard especially now that the solution must be optimal.

Making the question more relevant to the forum it was posted in.; Post Made Community Wiki
Source Link
Thirlan
  • 157
  • 5
Loading
added 9 characters in body
Source Link
Thirlan
  • 157
  • 5
Loading
Cleaning up question and adding requirements
Source Link
Thirlan
  • 157
  • 5
Loading
added 290 characters in body; edited title
Source Link
Thirlan
  • 157
  • 5
Loading
elaborated on question
Source Link
Thirlan
  • 157
  • 5
Loading
added more info
Source Link
Thirlan
  • 157
  • 5
Loading
added more info
Source Link
Thirlan
  • 157
  • 5
Loading
Tweeted twitter.com/#!/StackCSTheory/status/190630413339852801
Added another potential solution
Source Link
Thirlan
  • 157
  • 5
Loading
edited tags
Link
Kaveh
  • 21.8k
  • 8
  • 84
  • 185
Loading
improving question
Source Link
Thirlan
  • 157
  • 5
Loading
added 582 characters in body
Source Link
Thirlan
  • 157
  • 5
Loading
deleted 1 characters in body
Source Link
Thirlan
  • 157
  • 5
Loading
Source Link
Thirlan
  • 157
  • 5
Loading