.Acku.
Legacy Member
Naar een vraag van MilM, die eerder wiskundig was als Java-gericht. Hij heeft ze gweist, ofzo, maar ik verspil iet graag mijn tijd voor niets dus ZOZO:
Het gaat er hem blijkbaar om om een combinaie van Steiner-punten te vinden, volgens http://www.maa.org/mathland/mathland_4_8.html
Dat komt voor vier punten neer op het vinden van twee punten waar alle hoeken naar drie punten (twee en een ander Steiner) 120 graden zijn: http://www.maa.org/mathland/4_8_figure.gif
Jammer genoeg blijkt dat complexer als het lijkt:
Als ge daar een goede oplossing voor vindt, vertel het ons
Het gaat er hem blijkbaar om om een combinaie van Steiner-punten te vinden, volgens http://www.maa.org/mathland/mathland_4_8.html
In mathematical terms, the problem comes down to finding a new point P such that the total length of the straight lines joining P to each one of three given points, A, B, and C, on a plane has the least possible value. P is known as the "Steiner point."
For the case in which the three cities form a triangle (that is, they're not all in a straight line), the solution involves finding a point inside the triangle toward which straight roads can be built from each city. Using elementary geometry, one can show that the angles between the lines AP, BP, and CP in this simple network all turn out to be 120 degrees.
The Steiner problem can be extended to any number of cities (or points) on a plane and even to situations involving obstacles. In general, given n points, the problem is to find a network of lines that connects all the points and has the shortest total length. For four cities, the solution involves locating two Steiner points, but the angles between the roads arriving at these points remain 120 degrees.
Dat komt voor vier punten neer op het vinden van twee punten waar alle hoeken naar drie punten (twee en een ander Steiner) 120 graden zijn: http://www.maa.org/mathland/4_8_figure.gif
Jammer genoeg blijkt dat complexer als het lijkt:
Chang discovered that the optimal solution to the Steiner problem typically no longer involves just a single point. That happens only under exceptional circumstances for certain grids. Instead, the Steiner "point" is an entire line segment or a polygon. Thus, the choice of any point within such a polygon or along such a line segment results in the same total distance.
Als ge daar een goede oplossing voor vindt, vertel het ons
)