Académique Documents
Professionnel Documents
Culture Documents
Copyright # 2001 John Wiley & Sons Ltd ISBNs: 0-471-97515-X (Paper); 0-470-84182-6 (Electronic)
APPENDIX D
better understand the procedure used in applying the minimum-spanning-tree technique, let us examine an example of its use. Figure D.1 illustrates the location of a mainframe computer with respect to four remote locations that require a data communications connection to the computer. Assuming that remote terminal usage requires a dedicated connection to the computer, such as busy travel agency ofces might require to their corporate computer, an initial network conguration might require the direct connection of each location to the computer by separate leased lines. Figure D.2 illustrates this network approach.
Figure D.1
Figure D.2
When separate leased lines are used to connect each terminal location to the mainframe, a portion of many line segments can be seen to run in parallel. Thus, from a visual perspective, it is apparent that the overall distance of one circuit linking all locations to the computer will be less than the total distance of individual circuits. Other factors that can reduce the cost of a composite multidrop circuit in comparison to separate leased lines include differences in the number of computer ports and modems required between the use of a multidrop line and individual leased lines.
A multidrop line requires the use of one computer port with a common modem servicing each of the drops connected to the port. Thus, a total of n 1 modems are required to service n drops on a multidrop circuit. In comparison, separate pointto-point leased lines would require one computer port per line as well as n 2 modems, where n equals the number of required point-to-point lines.
where D is the distance between locations, V1 the V coordinate of rst location, V2 the V coordinate of second location, H1 the H coordinate of rst location, and H2 the H coordinate of second location. In this equation, 0.5 is added to the result and the integer taken since the telephone company is permitted by tariff to round the answer to the next higher mile in performing its cost calculations. Returning to the example in Figure D.1, location C is closest to location E, thus, these two locations would be connected to one another. Next, the distance from location C to all other points is computed and the closest point to location C is selected. If the selected point was previously connected to the line, the line has looped back upon itself and the line segment will be dened as a cluster location to which more than one line segment can home upon. If the line did not loop back upon itself, as is the case in the example we are using, location C is linked to location B and B then becomes the next point of origination for calculating the distance to all other points. This procedure continues until all locations in the network are connected, with any resulting line clusters merged together by calculating the distance between the homing point of one cluster to the homing point of any other cluster using the minimum-distance path to connect clusters together. Figure D.3 illustrates the application of the minimum-spanning-tree algorithm to the four network locations previously illustrated in Figure D.1.
Figure D.3
Minimum-spanning-tree problems
The minimum spanning-tree algorithm, while economically accurate, does not consider two key variables which could make its implementation impracticalthe terminal response time of the locations interconnected and the capacity of the frontend processor to service the total number of locations connected on one multidrop line.
Table D.1
Line speed Type of transmission line Modem turnaround time Number of characters serviced per polling used Computer processing time Polling service time
communications software divide the screen into segments and services a portion of the screen during each poll sequence. This type of polling can occur `round robin' where each terminal receives servicing in a dened order or it can occur based upon a predened priority. Although the computer processing time can greatly affect the terminal response time, it is normally beyond the control of the communications staff. The polling service time is the time it takes to poll a terminal so the communications software can service another segment of the screen when the data to be read or written to the terminal exceeds one segment. Finally, the probability of a transmission error occurring will affect the probability of transmitting the same data again, since detected errors are corrected by the retransmission of data.
outbound until the rst character is received, or a total of 4.1 s. Thus, the average terminal response time would be (4.1 4.875)/2 or approximately 4.5 s.