| Documentation to "calculation of minimum spanning tree and shortest path tree" MST_SPT |

| Globals | |
|---|---|
![]() | With LOAD a predefined toplogy can be loaded from a file that has to be conform to the structure described later on. Template graphs "large.map" and "small.map" are delivered with the software. EXIT (or hitting ESC) quits the program. |
![]() | With these three buttons referred to as play, pause and stop the calculation process can be initiated, paused, stopped and
reset. The current status is represented by an highlighted (blue) button. From status stop the user can From status play the user can From status paused the user can |
![]() | This scroll bar enables the user to set the preferred speed of the calulation process. For changing the speed the bar has to be dragged with the mouse to any desired point. With the bar being set between the left and right margins, delay time can be set from some ms to one second between each calculation step. Having the bar set at the very right (SLOW) results into the program changing to paused status after each calculation step, and having it set at the very left (FAST) will suppress any grapical output of intermediate calculation steps. |
![]() | The border separating the two windows can be moved to any desired point using the mouse. |
| Window specific | |
![]() | Every window graphically represents its tree's current calculation status. Concerning nodes, gray means unattached, green means attached to the tree and red shows the node being the root node. Concerning links, gray means unused link, yellow used link and yellow/blue represents the most recently attached link. |
![]() | With these two buttons the user can choose the algorithm being used for a certain window. MST means minimum spanning tree and SPT means shortest path tree. |
![]() ![]() | Within this window the user can choose the root node. Changing it can either be done using the
arrow buttons or by picking a specific node using the mouse whilst ROOT button is being "pressed". The screen output shows the name of the root node as supplied in the NAME statement of the input file and an internal number which ranges from 1 to the max. number of nodes. Should any data be too long for the text fileds the string will be cut and extended by "..". Changing the root node causes a reset of the calculated tree. The upper picture illustrates the layout whilst in MST-mode. In the lower picture (which is for SPT-mode) the user can perform a traceroute to any attached node (completed calculation required) by clicking TRACERT. As long as the mouse cursor is located over a linked node, its route will be highlighted. |
![]() | The LENGTH window shows the actual length (or cost) of the calculated tree and will be updated at every calculation step. |
BEGINNODE
|
Annotation: NAME is the node's name X_COORD is the x-coordinate (0..65534) Y_COORD is the y-coordinate (0..65534) |
BEGINLINK
|
Annotation: SRC is the name of the link's source node DEST is the name of the link's destination node LENGTH is the length (or cost) of the link (0..65534) |