In the Euclidean Plane and where all edges are straight lines:
Given a collection of a edge-lengths L, how can I determine if there exists a selection of vertices such that the elements of L correspond exactly to the distances between each unique pairing of vertices?
For instance, when L=[3, 4, 5] a selection of vertices (0, 0), (0, 3), and (4, 0) satisfies these properties.
However, when L=[3, 4, 8] there is no collection of vertices who's complete graph consists exactly of three edges with lengths 3, 4, and 8; since any complete graph (in the Euclidean Plane) having three edges is a triangle, and a triangle's longest edge must be less than the sum of the other two.
- What if the vertices must have rational coordinates?
- What if the vertices must have integer coordinates?
- Does the collinearity (or lack thereof) of vertices matter?
UPDATE:
I read that any complete graph of n vertices is composed of exactly $ {n\choose 3} $ triangles. So, I guess I can rule out any L with an edge-length longer than or equal to the sum of the next two shorter edge-lengths?