Computer networking requires that the computers in the network be linked. This problem
considers a linear network in which the computers are chained together so that each one is
connected to exactly two others except for the two computers on the ends of the chain
which are connected to only one computer. In the picture shown below, the computers are
the black dots and their locations in the network are identified by planar coordinates
(relative to a coordinate system not shown in the picture).
For various reasons it is desirable to minimize the length of the cable used. The problem
is to determine how the computers should be connected in such a chain to minimize the
total length of cable needed. In the installation being constructed, the cable will run
beneath the floor, so that the amount of cable used to join 2 successive computers will be
equal to the distance between the computers plus 10 additional meters of cable to connect
from the floor to the computers and provide some slack for ease of installation.
![]() |
Example :
|