#include "bary.h"
#include "keys.h"
#include "stdio.h"
Include dependency graph for step4_functions.c:
Go to the source code of this file.
Defines | |
#define | STATIC |
Functions | |
STATIC void | gs_ide1518 (GNODE v, int xpos) |
STATIC void | gs_ide1517 (GNODE v, int xpos) |
STATIC void | gs_ide1514 (DLLIST x) |
STATIC void | gs_ide1513 (DLLIST x) |
STATIC void | gs_ide1500 (GEDGE e, GNODE n) |
STATIC void | gs_ide1501 (GEDGE e, GNODE n) |
|
Definition at line 4 of file step4_functions.c. |
|
Definition at line 213 of file step4_functions.c. References DLLIST, dllist_alloc(), GEDGE, GNODE, gs_ide1526, gs_ide1527, gs_ide1529, and gs_ide1535.
00214 { 00215 DLLIST d; 00216 { 00217 if (!((n))) 00218 { 00219 (void) 00220 fprintf (stderr, "Assertion failed: file \"%s\", line %d\n", 00221 "step4.c", 407); 00222 (void) fprintf (stderr, 00223 "This is a bug! Please contact sander@cs.uni-sb.de !\n"); 00224 exit (1); 00225 } 00226 } 00227 ; 00228 ; 00229 d = dllist_alloc (n, gs_ide1527); 00230 if (!gs_ide1526) 00231 gs_ide1526 = d; 00232 if (gs_ide1527) 00233 ((gs_ide1527)->succ) = d; 00234 gs_ide1527 = d; 00235 gs_ide1535++; 00236 if (((e)->sxloc) != ((e)->exloc)) 00237 gs_ide1529++; 00238 ((d)->dlinfo) = gs_ide1529; 00239 ((e)->btyloc) = gs_ide1529; 00240 ((d)->dlx) = ((e)->exloc); 00241 } |
|
Definition at line 246 of file step4_functions.c. References DLLIST, dllist_alloc(), GEDGE, GNODE, gs_ide1531, gs_ide1536, gs_ide1538, and gs_ide1539.
00247 { 00248 DLLIST d; 00249 { 00250 if (!((n))) 00251 { 00252 (void) 00253 fprintf (stderr, "Assertion failed: file \"%s\", line %d\n", 00254 "step4.c", 395); 00255 (void) fprintf (stderr, 00256 "This is a bug! Please contact sander@cs.uni-sb.de !\n"); 00257 exit (1); 00258 } 00259 } 00260 ; 00261 ; 00262 d = dllist_alloc (n, gs_ide1539); 00263 if (!gs_ide1538) 00264 gs_ide1538 = d; 00265 if (gs_ide1539) 00266 ((gs_ide1539)->succ) = d; 00267 gs_ide1539 = d; 00268 gs_ide1536++; 00269 if (((e)->sxloc) != ((e)->exloc)) 00270 gs_ide1531++; 00271 ((d)->dlinfo) = gs_ide1531; 00272 ((e)->btyloc) = gs_ide1531; 00273 ((d)->dlx) = ((e)->sxloc); 00274 } |
|
Definition at line 171 of file step4_functions.c. References DLLIST, dllist_free(), gs_ide1526, gs_ide1527, and gs_ide1535.
00172 { 00173 { 00174 if (!((x))) 00175 { 00176 (void) 00177 fprintf (stderr, "Assertion failed: file \"%s\", line %d\n", 00178 "step4.c", 430); 00179 (void) fprintf (stderr, 00180 "This is a bug! Please contact sander@cs.uni-sb.de !\n"); 00181 exit (1); 00182 } 00183 } 00184 ; 00185 { 00186 if (!((((x)->node)))) 00187 { 00188 (void) 00189 fprintf (stderr, "Assertion failed: file \"%s\", line %d\n", 00190 "step4.c", 430); 00191 (void) fprintf (stderr, 00192 "This is a bug! Please contact sander@cs.uni-sb.de !\n"); 00193 exit (1); 00194 } 00195 } 00196 ; 00197 ; 00198 if (((x)->pred)) 00199 ((((x)->pred))->succ) = ((x)->succ); 00200 else 00201 gs_ide1526 = ((x)->succ); 00202 if (((x)->succ)) 00203 ((((x)->succ))->pred) = ((x)->pred); 00204 else 00205 gs_ide1527 = ((x)->pred); 00206 dllist_free (x); 00207 gs_ide1535--; 00208 } |
|
Definition at line 125 of file step4_functions.c. References DLLIST, dllist_free(), gs_ide1536, gs_ide1538, and gs_ide1539.
00126 { 00127 { 00128 if (!((x))) 00129 { 00130 (void) 00131 fprintf (stderr, "Assertion failed: file \"%s\", line %d\n", 00132 "step4.c", 419); 00133 (void) fprintf (stderr, 00134 "This is a bug! Please contact sander@cs.uni-sb.de !\n"); 00135 exit (1); 00136 } 00137 } 00138 ; 00139 { 00140 if (!((((x)->node)))) 00141 { 00142 (void) 00143 fprintf (stderr, "Assertion failed: file \"%s\", line %d\n", 00144 "step4.c", 419); 00145 (void) fprintf (stderr, 00146 "This is a bug! Please contact sander@cs.uni-sb.de !\n"); 00147 exit (1); 00148 } 00149 } 00150 ; 00151 ; 00152 if (((x)->pred)) 00153 ((((x)->pred))->succ) = ((x)->succ); 00154 else 00155 gs_ide1538 = ((x)->succ); 00156 if (((x)->succ)) 00157 ((((x)->succ))->pred) = ((x)->pred); 00158 else 00159 gs_ide1539 = ((x)->pred); 00160 dllist_free (x); 00161 gs_ide1536--; 00162 } |
|
Definition at line 66 of file step4_functions.c. References ADJEDGE, DLLIST, GEDGE, GNODE, gs_ide1501, gs_ide1513, gs_ide1526, gs_ide1528, gs_ide1529, gs_ide1530, and gs_ide1531.
00067 { 00068 ADJEDGE a; 00069 GEDGE ee; 00070 DLLIST n, m; 00071 int k; 00072 ; 00073 { 00074 if (!((v))) 00075 { 00076 (void) 00077 fprintf (stderr, "Assertion failed: file \"%s\", line %d\n", 00078 "step4.c", 377); 00079 (void) fprintf (stderr, 00080 "This is a bug! Please contact sander@cs.uni-sb.de !\n"); 00081 exit (1); 00082 } 00083 } 00084 ; 00085 k = gs_ide1531 + gs_ide1529; 00086 if (k > gs_ide1530) 00087 gs_ide1530 = k; 00088 if (xpos <= gs_ide1528) 00089 return; 00090 gs_ide1528 = xpos; 00091 a = ((v)->pred); 00092 while (a) 00093 { 00094 ee = ((a)->kante); 00095 if ((((ee)->exloc) == xpos) && (((ee)->exloc) <= ((ee)->sxloc))) 00096 { 00097 gs_ide1501 (ee, (((((a)->kante))->start))); 00098 } 00099 a = ((a)->next); 00100 } 00101 k = gs_ide1531 + gs_ide1529; 00102 if (k > gs_ide1530) 00103 gs_ide1530 = k; 00104 n = gs_ide1526; 00105 while (n) 00106 { 00107 m = ((n)->succ); 00108 if (((n)->dlx) <= xpos) 00109 gs_ide1513 (n); 00110 n = m; 00111 } 00112 gs_ide1529 = 0; 00113 n = gs_ide1526; 00114 while (n) 00115 { 00116 if (((n)->dlinfo) > gs_ide1529) 00117 gs_ide1529 = ((n)->dlinfo); 00118 n = ((n)->succ); 00119 } 00120 } |
|
Definition at line 8 of file step4_functions.c. References ADJEDGE, DLLIST, GEDGE, GNODE, gs_ide1500, gs_ide1514, gs_ide1529, gs_ide1530, gs_ide1531, gs_ide1538, gs_ide1540, and STATIC.
00009 { 00010 ADJEDGE a=(ADJEDGE)0; 00011 GEDGE ee; 00012 DLLIST n, m; 00013 int k; 00014 00015 { 00016 if (!((v))) 00017 { 00018 (void) 00019 fprintf (stderr, "Assertion failed: file \"%s\", line %d\n", 00020 "step4.c", 359); 00021 (void) fprintf (stderr, 00022 "This is a bug! Please contact sander@cs.uni-sb.de !\n"); 00023 exit (1); 00024 } 00025 } 00026 ; 00027 k = gs_ide1531 + gs_ide1529; 00028 if (k > gs_ide1530) 00029 gs_ide1530 = k; 00030 if (xpos <= gs_ide1540) 00031 return; 00032 gs_ide1540 = xpos; 00033 a = ((v)->succ); 00034 while (a) 00035 { 00036 ee = ((a)->kante); 00037 if ((((ee)->sxloc) == xpos) && (((ee)->exloc) > ((ee)->sxloc))) 00038 { 00039 gs_ide1500 (ee, (((((a)->kante))->end))); 00040 } 00041 a = ((a)->next); 00042 } 00043 k = gs_ide1531 + gs_ide1529; 00044 if (k > gs_ide1530) 00045 gs_ide1530 = k; 00046 n = gs_ide1538; 00047 while (n) 00048 { 00049 m = ((n)->succ); 00050 if (((n)->dlx) <= xpos) 00051 gs_ide1514 (n); 00052 n = m; 00053 } 00054 gs_ide1531 = 0; 00055 n = gs_ide1538; 00056 while (n) 00057 { 00058 if (((n)->dlinfo) > gs_ide1531) 00059 gs_ide1531 = ((n)->dlinfo); 00060 n = ((n)->succ); 00061 } 00062 } |