Suppose that there are nvarious points in three-dimensional space, namely P1, P2, P3, ..., Pn.
Define the connector Cas an ordered set of line segments, where the next element in the set should have a common vertex with the previous one. For example, { P1-P2, P2-P4, P4-P7 }this is a connector, but { P1-P2, P3-P4,P4-P2 }not.
Define the contents of the connector as the set of points that the connector includes.
Define the size of the connector as the length of the longest single segment in the connector.
Define the connector as the correct connector if the longest single segment is the first or last segment in the connector.
A set of points is called connected if the union of the contents of the connectors above the points is a set of points.
The problem is this:
Given that the kcorrect connectors ( k < n) with the same size mallow the connection of points nwhose coordinates are given, minimize m.
What should be the essence of the algorithm? I donβt know where to start.
source
share