![]() |
|
|||
|
Home
Process Simulation
Device Simulation
Interactive Tools
Virtual Wafer Fab
Licensing
Platforms
Services
Design Flows
Technical Library
Downloads and Support
Corporate
Learn more
|
“Shortest Path” Option for Flight Line Style (Net Bar)Introduction There is the recent improvement in Expert Layout Editor, the “Shortest path” option was added to Flight line styles (Net Bar). This option allows to build the shortest tree (network) connecting all selected nodes.
Figure 1. Layout Expert Editor screenshot. “Tree” means the network of vertices (nodes) connected with undirected edges (lines) which has two basic properties:
Figure 2. There are no edges. “Shortest tree” means the tree with minimal summarized length of edges. It is also called the Minimum Spanning Tree (MST). Minimum Spanning Tree of the given set of points P on Euclidean plane is called Euclidean Minimum Spanning Tree (EMST).
Algorithm There are a lot of algorithms for finding the Minimum Spanning Tree (one of them is well-known Prim’s algorithm, which is described below), but their common problem is bad productivity. Most of these algorithms require at least O(n2) time (where n is number of vertices), because the first step for these algorithms is building of the complete graph with all possible edges, where each vertex is directly connected with any other vertex. This operation takes O(n2) time. Such slow algorithms can be used with small number of vertices but are absolutely inefficient with huge number of vertices. For example, processing of 10,000 vertices will be about 1,000,000 times longer than processing of 10 vertices. To avoid this problem the set P of points on Euclidean plane is processed in two steps. The first step is finding the Delaunay triangulation (Figure 3) for n points on Euclidean plane using the “divide and conquer” algorithm (presented in [1]).
Figure 3. Step 1 – creating the Delaunay
triangulation During second step we run the Prim’s algorithm on the Delaunay triangulation (Figure 4) to find the Minimum Spanning Tree.
Figure 4. Step 2 – finding the Minimum
Spanning The total processing time is O(n.log(n)), so processing time grows almost linearly with number of processed points. The results of described two-steps algorithm is EMST because of well-known theorem. EMST of given set of points P on plane is a subgraph of Delaunay triangulation of P.
Delaunay Triangulation and “Divide and Conquer” Algorithm The Delaunay triangulation is a triangulation in which every circumcircle of a triangle is an empty circle. Figure 3 shows the example of Delaunay triangulation.
Prim's Algorithm Prim's algorithm processes graph G = (V, E) of n vertices V = {v1,..., vn} and m undirected edges E = {e1,..., em} and removes unnecessary edges.
Figure 4 shows the results of Prim’s algorithm.
References
|
|||
| © 1984 -
Silvaco Data Systems Inc. -
Trademarks - Privacy Policy
|
||||