Debian Codegraph @

src/gen/lib/ortho/ortho__c.java

raw symbols SCIP
1 /* ========================================================================
2 * PlantUML : a free UML diagram generator
3 * ========================================================================
4 *
5 * Project Info: http://plantuml.com
6 *
7 * If you like this project or if you find it useful, you can support us at:
8 *
9 * http://plantuml.com/patreon (only 1$ per month!)
10 * http://plantuml.com/paypal
11 *
12 * This file is part of Smetana.
13 * Smetana is a partial translation of Graphviz/Dot sources from C to Java.
14 *
15 * (C) Copyright 2009-2020, Arnaud Roques
16 *
17 * This translation is distributed under the same Licence as the original C program:
18 *
19 *************************************************************************
20 * Copyright (c) 2011 AT&T Intellectual Property
21 * All rights reserved. This program and the accompanying materials
22 * are made available under the terms of the Eclipse Public License v1.0
23 * which accompanies this distribution, and is available at
24 * http://www.eclipse.org/legal/epl-v10.html
25 *
26 * Contributors: See CVS logs. Details at http://www.graphviz.org/
27 *************************************************************************
28 *
29 * THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC
30 * LICENSE ("AGREEMENT"). [Eclipse Public License - v 1.0]
31 *
32 * ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES
33 * RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
34 *
35 * You may obtain a copy of the License at
36 *
37 * http://www.eclipse.org/legal/epl-v10.html
38 *
39 * Unless required by applicable law or agreed to in writing, software
40 * distributed under the License is distributed on an "AS IS" BASIS,
41 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
42 * See the License for the specific language governing permissions and
43 * limitations under the License.
44 *
45 */
46 package gen.lib.ortho;
47 import static smetana.core.JUtilsDebug.ENTERING;
48 import static smetana.core.JUtilsDebug.LEAVING;
49 import static smetana.core.Macro.UNSUPPORTED;
50 import h.ST_pointf;
51 import smetana.core.jmp_buf;
52
53 public class ortho__c {
54 //1 2digov3edok6d5srhgtlmrycs
55 // extern lt_symlist_t lt_preloaded_symbols[]
56
57
58 //1 baedz5i9est5csw3epz3cv7z
59 // typedef Ppoly_t Ppolyline_t
60
61
62 //1 9k44uhd5foylaeoekf3llonjq
63 // extern Dtmethod_t* Dtset
64
65
66 //1 1ahfywsmzcpcig2oxm7pt9ihj
67 // extern Dtmethod_t* Dtbag
68
69
70 //1 anhghfj3k7dmkudy2n7rvt31v
71 // extern Dtmethod_t* Dtoset
72
73
74 //1 5l6oj1ux946zjwvir94ykejbc
75 // extern Dtmethod_t* Dtobag
76
77
78 //1 2wtf222ak6cui8cfjnw6w377z
79 // extern Dtmethod_t* Dtlist
80
81
82 //1 d1s1s6ibtcsmst88e3057u9r7
83 // extern Dtmethod_t* Dtstack
84
85
86 //1 axa7mflo824p6fspjn1rdk0mt
87 // extern Dtmethod_t* Dtqueue
88
89
90 //1 ega812utobm4xx9oa9w9ayij6
91 // extern Dtmethod_t* Dtdeque
92
93
94 //1 cyfr996ur43045jv1tjbelzmj
95 // extern Dtmethod_t* Dtorder
96
97
98 //1 wlofoiftbjgrrabzb2brkycg
99 // extern Dtmethod_t* Dttree
100
101
102 //1 12bds94t7voj7ulwpcvgf6agr
103 // extern Dtmethod_t* Dthash
104
105
106 //1 9lqknzty480cy7zsubmabkk8h
107 // extern Dtmethod_t _Dttree
108
109
110 //1 bvn6zkbcp8vjdhkccqo1xrkrb
111 // extern Dtmethod_t _Dthash
112
113
114 //1 9lidhtd6nsmmv3e7vjv9e10gw
115 // extern Dtmethod_t _Dtlist
116
117
118 //1 34ujfamjxo7xn89u90oh2k6f8
119 // extern Dtmethod_t _Dtqueue
120
121
122 //1 3jy4aceckzkdv950h89p4wjc8
123 // extern Dtmethod_t _Dtstack
124
125
126 //1 8dfqgf3u1v830qzcjqh9o8ha7
127 // extern Agmemdisc_t AgMemDisc
128
129
130 //1 18k2oh2t6llfsdc5x0wlcnby8
131 // extern Agiddisc_t AgIdDisc
132
133
134 //1 a4r7hi80gdxtsv4hdoqpyiivn
135 // extern Agiodisc_t AgIoDisc
136
137
138 //1 bnzt5syjb7mgeru19114vd6xx
139 // extern Agdisc_t AgDefaultDisc
140
141
142 //1 35y2gbegsdjilegaribes00mg
143 // extern Agdesc_t Agdirected, Agstrictdirected, Agundirected, Agstrictundirected
144
145
146 //1 c2rygslq6bcuka3awmvy2b3ow
147 // typedef Agsubnode_t Agnoderef_t
148
149
150 //1 xam6yv0dcsx57dtg44igpbzn
151 // typedef Dtlink_t Agedgeref_t
152
153
154 //1 7uu4dvqjnvvhc0gokmgcs954k
155 // extern int odb_flags
156
157
158
159
160 //3 ciez0pfggxdljedzsbklq49f0
161 // static inline point pointof(int x, int y)
162 public static Object pointof(Object... arg) {
163 UNSUPPORTED("8e4tj258yvfq5uhsdpk37n5eq"); // static inline point pointof(int x, int y)
164 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
165 UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r;
166 UNSUPPORTED("12jimkrzqxavaie0cpapbx18c"); // r.x = x;
167 UNSUPPORTED("7ivmviysahgsc5nn9gtp7q2if"); // r.y = y;
168 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
169 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
170
171 throw new UnsupportedOperationException();
172 }
173
174
175
176
177 //3 c1s4k85p1cdfn176o3uryeros
178 // static inline pointf pointfof(double x, double y)
179 public static ST_pointf pointfof(double x, double y) {
180 // WARNING!! STRUCT
181 return pointfof_w_(x, y).copy();
182 }
183 private static ST_pointf pointfof_w_(double x, double y) {
184 ENTERING("c1s4k85p1cdfn176o3uryeros","pointfof");
185 try {
186 final ST_pointf r = new ST_pointf();
187 r.setDouble("x", x);
188 r.setDouble("y", y);
189 return r;
190 } finally {
191 LEAVING("c1s4k85p1cdfn176o3uryeros","pointfof");
192 }
193 }
194
195
196
197
198 //3 7cufnfitrh935ew093mw0i4b7
199 // static inline box boxof(int llx, int lly, int urx, int ury)
200 public static Object boxof(Object... arg) {
201 UNSUPPORTED("3lzesfdd337h31jrlib1czocm"); // static inline box boxof(int llx, int lly, int urx, int ury)
202 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
203 UNSUPPORTED("52u27kayecy1i1e8bbo8f7s9r"); // box b;
204 UNSUPPORTED("cylhjlutoc0sc0uy7g98m9fb8"); // b.LL.x = llx, b.LL.y = lly;
205 UNSUPPORTED("242of6revxzx8hpe7yerrchz6"); // b.UR.x = urx, b.UR.y = ury;
206 UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b;
207 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
208
209 throw new UnsupportedOperationException();
210 }
211
212
213
214
215
216
217
218 //3 1n5xl70wxuabyf97mclvilsm6
219 // static inline point add_point(point p, point q)
220 public static Object add_point(Object... arg) {
221 UNSUPPORTED("6iamka1fx8fk1rohzzse8phte"); // static inline point add_point(point p, point q)
222 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
223 UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r;
224 UNSUPPORTED("3n2sizjd0civbzm6iq7su1s2p"); // r.x = p.x + q.x;
225 UNSUPPORTED("65ygdo31w09i5i6bd2f7azcd3"); // r.y = p.y + q.y;
226 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
227 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
228
229 throw new UnsupportedOperationException();
230 }
231
232
233
234
235 //3 arrsbik9b5tnfcbzsm8gr2chx
236 // static inline pointf add_pointf(pointf p, pointf q)
237 public static ST_pointf add_pointf(final ST_pointf p, final ST_pointf q) {
238 // WARNING!! STRUCT
239 return add_pointf_w_(p.copy(), q.copy()).copy();
240 }
241 private static ST_pointf add_pointf_w_(final ST_pointf p, final ST_pointf q) {
242 ENTERING("arrsbik9b5tnfcbzsm8gr2chx","add_pointf");
243 try {
244 final ST_pointf r = new ST_pointf();
245 r.setDouble("x", p.x + q.x);
246 r.setDouble("y", p.y + q.y);
247 return r;
248 } finally {
249 LEAVING("arrsbik9b5tnfcbzsm8gr2chx","add_pointf");
250 }
251 }
252
253
254
255
256 //3 ai2dprak5y6obdsflguh5qbd7
257 // static inline point sub_point(point p, point q)
258 public static Object sub_point(Object... arg) {
259 UNSUPPORTED("cd602849h0bce8lu9xegka0ia"); // static inline point sub_point(point p, point q)
260 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
261 UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r;
262 UNSUPPORTED("4q4q9dveah93si8ajfv59gz27"); // r.x = p.x - q.x;
263 UNSUPPORTED("9f90ik0o2yqhanzntpy3d2ydy"); // r.y = p.y - q.y;
264 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
265 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
266
267 throw new UnsupportedOperationException();
268 }
269
270
271
272
273 //3 16f6pyogcv3j7n2p0n8giqqgh
274 // static inline pointf sub_pointf(pointf p, pointf q)
275 public static Object sub_pointf(Object... arg) {
276 UNSUPPORTED("dmufj44lddsnj0wjyxsg2fcso"); // static inline pointf sub_pointf(pointf p, pointf q)
277 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
278 UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r;
279 UNSUPPORTED("4q4q9dveah93si8ajfv59gz27"); // r.x = p.x - q.x;
280 UNSUPPORTED("9f90ik0o2yqhanzntpy3d2ydy"); // r.y = p.y - q.y;
281 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
282 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
283
284 throw new UnsupportedOperationException();
285 }
286
287
288
289
290 //3 9k50jgrhc4f9824vf8ony74rw
291 // static inline point mid_point(point p, point q)
292 public static Object mid_point(Object... arg) {
293 UNSUPPORTED("evy44tdsmu3erff9dp2x835u2"); // static inline point mid_point(point p, point q)
294 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
295 UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r;
296 UNSUPPORTED("1a6p6fm57o0wt5ze2btsx06c7"); // r.x = (p.x + q.x) / 2;
297 UNSUPPORTED("1kbj5tgdmfi6kf4jgg6skhr6e"); // r.y = (p.y + q.y) / 2;
298 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
299 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
300
301 throw new UnsupportedOperationException();
302 }
303
304
305
306
307 //3 59c4f7im0ftyowhnzzq2v9o1x
308 // static inline pointf mid_pointf(pointf p, pointf q)
309 public static Object mid_pointf(Object... arg) {
310 UNSUPPORTED("381o63o9kb04d7gzg65v0r3q"); // static inline pointf mid_pointf(pointf p, pointf q)
311 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
312 UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r;
313 UNSUPPORTED("c5vboetlr3mf43wns7iik6m1w"); // r.x = (p.x + q.x) / 2.;
314 UNSUPPORTED("bcdf562ldr3bjn78hcay5xd63"); // r.y = (p.y + q.y) / 2.;
315 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
316 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
317
318 throw new UnsupportedOperationException();
319 }
320
321
322
323
324 //3 5r18p38gisvcx3zsvbb9saixx
325 // static inline pointf interpolate_pointf(double t, pointf p, pointf q)
326 public static Object interpolate_pointf(Object... arg) {
327 UNSUPPORTED("894yimn33kmtm454llwdaotu8"); // static inline pointf interpolate_pointf(double t, pointf p, pointf q)
328 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
329 UNSUPPORTED("ef2acl8wa2ooqcb5vz3098maz"); // pointf r;
330 UNSUPPORTED("5tpwuyf5iidesy80v8o4nwkmk"); // r.x = p.x + t * (q.x - p.x);
331 UNSUPPORTED("ewnrc5uloj3w5jbmsjcn3wja0"); // r.y = p.y + t * (q.y - p.y);
332 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
333 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
334
335 throw new UnsupportedOperationException();
336 }
337
338
339
340
341 //3 bxzrv2ghq04qk5cbyy68s4mol
342 // static inline point exch_xy(point p)
343 public static Object exch_xy(Object... arg) {
344 UNSUPPORTED("2vxya0v2fzlv5e0vjaa8d414"); // static inline point exch_xy(point p)
345 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
346 UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r;
347 UNSUPPORTED("60cojdwc2h7f0m51s9jdwvup7"); // r.x = p.y;
348 UNSUPPORTED("evp2x66oa4s1tlnc0ytxq2qbq"); // r.y = p.x;
349 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
350 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
351
352 throw new UnsupportedOperationException();
353 }
354
355
356
357
358 //3 9lt3e03tac6h6sydljrcws8fd
359 // static inline pointf exch_xyf(pointf p)
360 public static Object exch_xyf(Object... arg) {
361 UNSUPPORTED("8qamrobrqi8jsvvfrxkimrsnw"); // static inline pointf exch_xyf(pointf p)
362 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
363 UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r;
364 UNSUPPORTED("60cojdwc2h7f0m51s9jdwvup7"); // r.x = p.y;
365 UNSUPPORTED("evp2x66oa4s1tlnc0ytxq2qbq"); // r.y = p.x;
366 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
367 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
368
369 throw new UnsupportedOperationException();
370 }
371
372
373
374
375 //3 8l9qhieokthntzdorlu5zn29b
376 // static inline box box_bb(box b0, box b1)
377 public static Object box_bb(Object... arg) {
378 UNSUPPORTED("36et5gmnjrby6o7bq9sgh1hx6"); // static inline box box_bb(box b0, box b1)
379 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
380 UNSUPPORTED("52u27kayecy1i1e8bbo8f7s9r"); // box b;
381 UNSUPPORTED("8mr2c9xitsqi8z1plbp7ox1hu"); // b.LL.x = MIN(b0.LL.x, b1.LL.x);
382 UNSUPPORTED("2egu55ef4u1i03nwz01k7kcrl"); // b.LL.y = MIN(b0.LL.y, b1.LL.y);
383 UNSUPPORTED("9n6ei3odbgefwfxvql9whcpe"); // b.UR.x = MAX(b0.UR.x, b1.UR.x);
384 UNSUPPORTED("19ocysbuh4pxyft2bqhyhigr1"); // b.UR.y = MAX(b0.UR.y, b1.UR.y);
385 UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b;
386 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
387
388 throw new UnsupportedOperationException();
389 }
390
391
392
393
394 //3 clws9h3bbjm0lw3hexf8nl4c4
395 // static inline boxf boxf_bb(boxf b0, boxf b1)
396 public static Object boxf_bb(Object... arg) {
397 UNSUPPORTED("dyrqu4ww9osr9c86gqgmifcp6"); // static inline boxf boxf_bb(boxf b0, boxf b1)
398 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
399 UNSUPPORTED("c57pq0f87j6dnbcvygu7v6k84"); // boxf b;
400 UNSUPPORTED("8mr2c9xitsqi8z1plbp7ox1hu"); // b.LL.x = MIN(b0.LL.x, b1.LL.x);
401 UNSUPPORTED("2egu55ef4u1i03nwz01k7kcrl"); // b.LL.y = MIN(b0.LL.y, b1.LL.y);
402 UNSUPPORTED("9n6ei3odbgefwfxvql9whcpe"); // b.UR.x = MAX(b0.UR.x, b1.UR.x);
403 UNSUPPORTED("19ocysbuh4pxyft2bqhyhigr1"); // b.UR.y = MAX(b0.UR.y, b1.UR.y);
404 UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b;
405 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
406
407 throw new UnsupportedOperationException();
408 }
409
410
411
412
413 //3 bit6ycxo1iqd2al92y8gkzlvb
414 // static inline box box_intersect(box b0, box b1)
415 public static Object box_intersect(Object... arg) {
416 UNSUPPORTED("34gv28cldst09bl71itjgviue"); // static inline box box_intersect(box b0, box b1)
417 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
418 UNSUPPORTED("52u27kayecy1i1e8bbo8f7s9r"); // box b;
419 UNSUPPORTED("9slu7bixuymxttjic76ha2nl2"); // b.LL.x = MAX(b0.LL.x, b1.LL.x);
420 UNSUPPORTED("3uv943c2f82yuif249pf5azob"); // b.LL.y = MAX(b0.LL.y, b1.LL.y);
421 UNSUPPORTED("74tf5h16bc9zabq3s3dyny543"); // b.UR.x = MIN(b0.UR.x, b1.UR.x);
422 UNSUPPORTED("d99gcv3i7xes7y7rqf8ii20ux"); // b.UR.y = MIN(b0.UR.y, b1.UR.y);
423 UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b;
424 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
425
426 throw new UnsupportedOperationException();
427 }
428
429
430
431
432 //3 8gfybie7k6pgb3o1a6llgpwng
433 // static inline boxf boxf_intersect(boxf b0, boxf b1)
434 public static Object boxf_intersect(Object... arg) {
435 UNSUPPORTED("ape22b8z6jfg17gvo42hok9eb"); // static inline boxf boxf_intersect(boxf b0, boxf b1)
436 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
437 UNSUPPORTED("c57pq0f87j6dnbcvygu7v6k84"); // boxf b;
438 UNSUPPORTED("9slu7bixuymxttjic76ha2nl2"); // b.LL.x = MAX(b0.LL.x, b1.LL.x);
439 UNSUPPORTED("3uv943c2f82yuif249pf5azob"); // b.LL.y = MAX(b0.LL.y, b1.LL.y);
440 UNSUPPORTED("74tf5h16bc9zabq3s3dyny543"); // b.UR.x = MIN(b0.UR.x, b1.UR.x);
441 UNSUPPORTED("d99gcv3i7xes7y7rqf8ii20ux"); // b.UR.y = MIN(b0.UR.y, b1.UR.y);
442 UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b;
443 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
444
445 throw new UnsupportedOperationException();
446 }
447
448
449
450
451 //3 7z8j2quq65govaaejrz7b4cvb
452 // static inline int box_overlap(box b0, box b1)
453 public static Object box_overlap(Object... arg) {
454 UNSUPPORTED("1e9k599x7ygct7r4cfdxlk9u9"); // static inline int box_overlap(box b0, box b1)
455 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
456 UNSUPPORTED("7a9wwpu7dhdphd08y1ecw54w5"); // return OVERLAP(b0, b1);
457 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
458
459 throw new UnsupportedOperationException();
460 }
461
462
463
464
465 //3 4z0suuut2acsay5m8mg9dqjdu
466 // static inline int boxf_overlap(boxf b0, boxf b1)
467 public static Object boxf_overlap(Object... arg) {
468 UNSUPPORTED("905nejsewihwhhc3bhnrz9nwo"); // static inline int boxf_overlap(boxf b0, boxf b1)
469 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
470 UNSUPPORTED("7a9wwpu7dhdphd08y1ecw54w5"); // return OVERLAP(b0, b1);
471 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
472
473 throw new UnsupportedOperationException();
474 }
475
476
477
478
479 //3 dd34swz5rmdgu3a2np2a4h1dy
480 // static inline int box_contains(box b0, box b1)
481 public static Object box_contains(Object... arg) {
482 UNSUPPORTED("aputfc30fjkvy6jx4otljaczq"); // static inline int box_contains(box b0, box b1)
483 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
484 UNSUPPORTED("87ap80vrh2a4gpprbxr33lrg3"); // return CONTAINS(b0, b1);
485 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
486
487 throw new UnsupportedOperationException();
488 }
489
490
491
492
493 //3 8laj1bspbu2i1cjd9upr7xt32
494 // static inline int boxf_contains(boxf b0, boxf b1)
495 public static Object boxf_contains(Object... arg) {
496 UNSUPPORTED("7ccnttkiwt834yfyw0evcm18v"); // static inline int boxf_contains(boxf b0, boxf b1)
497 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
498 UNSUPPORTED("87ap80vrh2a4gpprbxr33lrg3"); // return CONTAINS(b0, b1);
499 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
500
501 throw new UnsupportedOperationException();
502 }
503
504
505
506
507 //3 4wf5swkz24xx51ja2dynbycu1
508 // static inline pointf perp (pointf p)
509 public static Object perp(Object... arg) {
510 UNSUPPORTED("567wpqlg9rv63ynyvxd9sgkww"); // static inline pointf perp (pointf p)
511 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
512 UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r;
513 UNSUPPORTED("2fyydy6t6yifjsczccsb9szeg"); // r.x = -p.y;
514 UNSUPPORTED("evp2x66oa4s1tlnc0ytxq2qbq"); // r.y = p.x;
515 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
516 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
517
518 throw new UnsupportedOperationException();
519 }
520
521
522
523
524 //3 6dtlpzv4mvgzb9o0b252yweuv
525 // static inline pointf scale (double c, pointf p)
526 public static Object scale(Object... arg) {
527 UNSUPPORTED("c1ngytew34bmkdb7vps5h3dh8"); // static inline pointf scale (double c, pointf p)
528 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
529 UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r;
530 UNSUPPORTED("dznf7nac14snww4usquyd6r3r"); // r.x = c * p.x;
531 UNSUPPORTED("33kk73m8vjcux5tnjl8co2pe6"); // r.y = c * p.y;
532 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
533 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
534
535 throw new UnsupportedOperationException();
536 }
537
538
539 //1 nye6dsi1twkbddwo9iffca1j
540 // extern char *Version
541
542
543 //1 65mu6k7h7lb7bx14jpiw7iyxr
544 // extern char **Files
545
546
547 //1 2rpjdzsdyrvomf00zcs3u3dyn
548 // extern const char **Lib
549
550
551 //1 6d2f111lntd2rsdt4gswh5909
552 // extern char *CmdName
553
554
555 //1 a0ltq04fpeg83soa05a2fkwb2
556 // extern char *specificFlags
557
558
559 //1 1uv30qeqq2jh6uznlr4dziv0y
560 // extern char *specificItems
561
562
563 //1 7i4hkvngxe3x7lmg5h6b3t9g3
564 // extern char *Gvfilepath
565
566
567 //1 9jp96pa73kseya3w6sulxzok6
568 // extern char *Gvimagepath
569
570
571 //1 40ylumfu7mrvawwf4v2asvtwk
572 // extern unsigned char Verbose
573
574
575 //1 93st8awjy1z0h07n28qycbaka
576 // extern unsigned char Reduce
577
578
579 //1 f2vs67ts992erf8onwfglurzp
580 // extern int MemTest
581
582
583 //1 c6f8whijgjwwagjigmxlwz3gb
584 // extern char *HTTPServerEnVar
585
586
587 //1 cp4hzj7p87m7arw776d3bt7aj
588 // extern char *Output_file_name
589
590
591 //1 a3rqagofsgraie6mx0krzkgsy
592 // extern int graphviz_errors
593
594
595 //1 5up05203r4kxvjn1m4njcgq5x
596 // extern int Nop
597
598
599 //1 umig46cco431x14b3kosde2t
600 // extern double PSinputscale
601
602
603 //1 52bj6v8fqz39khasobljfukk9
604 // extern int Syntax_errors
605
606
607 //1 9ekf2ina8fsjj6y6i0an6somj
608 // extern int Show_cnt
609
610
611 //1 38di5qi3nkxkq65onyvconk3r
612 // extern char** Show_boxes
613
614
615 //1 6ri6iu712m8mpc7t2670etpcw
616 // extern int CL_type
617
618
619 //1 bomxiw3gy0cgd1ydqtek7fpxr
620 // extern unsigned char Concentrate
621
622
623 //1 cqy3gqgcq8empdrbnrhn84058
624 // extern double Epsilon
625
626
627 //1 64slegfoouqeg0rmbyjrm8wgr
628 // extern int MaxIter
629
630
631 //1 88wdinpnmfs4mab4aw62yb0bg
632 // extern int Ndim
633
634
635 //1 8bbad3ogcelqnnvo5br5s05gq
636 // extern int State
637
638
639 //1 17rnd8q45zclfn68qqst2vxxn
640 // extern int EdgeLabelsDone
641
642
643 //1 ymx1z4s8cznjifl2d9f9m8jr
644 // extern double Initial_dist
645
646
647 //1 a33bgl0c3uqb3trx419qulj1x
648 // extern double Damping
649
650
651 //1 d9lvrpjg1r0ojv40pod1xwk8n
652 // extern int Y_invert
653
654
655 //1 71efkfs77q5tq9ex6y0f4kanh
656 // extern int GvExitOnUsage
657
658
659 //1 4xy2dkdkv0acs2ue9eca8hh2e
660 // extern Agsym_t *G_activepencolor, *G_activefillcolor, *G_selectedpencolor, *G_selectedfillcolor, *G_visitedpencolor, *G_visitedfillcolor, *G_deletedpencolor, *G_deletedfillcolor, *G_ordering, *G_peripheries, *G_penwidth, *G_gradientangle, *G_margin
661
662
663 //1 9js5gxgzr74eakgtfhnbws3t9
664 // extern Agsym_t *N_height, *N_width, *N_shape, *N_color, *N_fillcolor, *N_activepencolor, *N_activefillcolor, *N_selectedpencolor, *N_selectedfillcolor, *N_visitedpencolor, *N_visitedfillcolor, *N_deletedpencolor, *N_deletedfillcolor, *N_fontsize, *N_fontname, *N_fontcolor, *N_margin, *N_label, *N_xlabel, *N_nojustify, *N_style, *N_showboxes, *N_sides, *N_peripheries, *N_ordering, *N_orientation, *N_skew, *N_distortion, *N_fixed, *N_imagescale, *N_layer, *N_group, *N_comment, *N_vertices, *N_z, *N_penwidth, *N_gradientangle
665
666
667 //1 anqllp9sj7wo45w6bm11j8trn
668 // extern Agsym_t *E_weight, *E_minlen, *E_color, *E_fillcolor, *E_activepencolor, *E_activefillcolor, *E_selectedpencolor, *E_selectedfillcolor, *E_visitedpencolor, *E_visitedfillcolor, *E_deletedpencolor, *E_deletedfillcolor, *E_fontsize, *E_fontname, *E_fontcolor, *E_label, *E_xlabel, *E_dir, *E_style, *E_decorate, *E_showboxes, *E_arrowsz, *E_constr, *E_layer, *E_comment, *E_label_float, *E_samehead, *E_sametail, *E_arrowhead, *E_arrowtail, *E_headlabel, *E_taillabel, *E_labelfontsize, *E_labelfontname, *E_labelfontcolor, *E_labeldistance, *E_labelangle, *E_tailclip, *E_headclip, *E_penwidth
669
670
671 //1 bh0z9puipqw7gymjd5h5b8s6i
672 // extern struct fdpParms_s* fdp_parms
673
674
675 //1 6ddu6mrp88g3kun2w1gg8ck8t
676 // typedef Dict_t PointSet
677
678
679 //1 6t1gwljnc5qkhgkp9oc8y7lhm
680 // typedef Dict_t PointMap
681
682
683 //1 540u5gu9i0x1wzoxqqx5n2vwp
684 // static jmp_buf jbuf
685 private static jmp_buf jbuf = new jmp_buf();
686
687 //1 4i7exv80uvzrbbvqtmcwqgujj
688 // int odb_flags
689
690
691
692
693 //3 1fgp1w41g6nj3rcw29phstsaj
694 // static cell* cellOf (snode* p, snode* q)
695 public static Object cellOf(Object... arg) {
696 UNSUPPORTED("earoc9gw4gdp2iwqsdlz5babo"); // static cell*
697 UNSUPPORTED("a81f9eexacyqhjwx31312aaij"); // cellOf (snode* p, snode* q)
698 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
699 UNSUPPORTED("2p9afojds64j2415r77pe11ot"); // cell* cp = p->cells[0];
700 UNSUPPORTED("6s9p9cp0t5f776vclqnqj9dps"); // if ((cp == q->cells[0]) || (cp == q->cells[1])) return cp;
701 UNSUPPORTED("3x1wxbq1zv1fxtxbt8cqyf2zm"); // else return p->cells[1];
702 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
703
704 throw new UnsupportedOperationException();
705 }
706
707
708
709
710 //3 d9bq37gvmpmw51z5hep2ibevp
711 // static pointf midPt (cell* cp)
712 public static Object midPt(Object... arg) {
713 UNSUPPORTED("2zzd7mrm2u540dwuyzehozffj"); // static pointf
714 UNSUPPORTED("5m9iv8q1cwqhqjdweoca9fxwp"); // midPt (cell* cp)
715 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
716 UNSUPPORTED("2bghyit203pd6xw2ihhenzyn8"); // pointf p;
717 UNSUPPORTED("6wfic6l7qkikzq3uxy7ra5rk8"); // p.x = (((cp->bb.LL.x)+(cp->bb.UR.x))/2.0);
718 UNSUPPORTED("270uxtsi045j2nyb091mgys86"); // p.y = (((cp->bb.LL.y)+(cp->bb.UR.y))/2.0);
719 UNSUPPORTED("91xduilalb406jjyw2g1i07th"); // return p;
720 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
721
722 throw new UnsupportedOperationException();
723 }
724
725
726
727
728 //3 3fs08z3b3bgjahvaa5l6b4zo0
729 // static pointf sidePt (snode* ptr, cell* cp)
730 public static Object sidePt(Object... arg) {
731 UNSUPPORTED("2zzd7mrm2u540dwuyzehozffj"); // static pointf
732 UNSUPPORTED("a38yr0nzj0vkqomj9uks960c1"); // sidePt (snode* ptr, cell* cp)
733 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
734 UNSUPPORTED("2e0v7u9pfngzg11mt4kn3oudg"); // pointf pt;
735 UNSUPPORTED("67cqw53uchqjz2cyglbs25v99"); // if (cp == ptr->cells[1]) {
736 UNSUPPORTED("7hlq358idsgr518ei0otfvvzn"); // if (ptr->isVert) {
737 UNSUPPORTED("dxvnot4cde33jxs0bsb7nz382"); // pt.x = cp->bb.LL.x;
738 UNSUPPORTED("64l4d6adxd1dwebr9az75w0bq"); // pt.y = (((cp->bb.LL.y)+(cp->bb.UR.y))/2.0);
739 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
740 UNSUPPORTED("8k75h069sv2k9b6tgz77dscwd"); // else {
741 UNSUPPORTED("b55gnqjtnj37pizchlqw7tuat"); // pt.x = (((cp->bb.LL.x)+(cp->bb.UR.x))/2.0);
742 UNSUPPORTED("d899yxmcyrxgknu569q83j56y"); // pt.y = cp->bb.LL.y;
743 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
744 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
745 UNSUPPORTED("1nyzbeonram6636b1w955bypn"); // else {
746 UNSUPPORTED("7hlq358idsgr518ei0otfvvzn"); // if (ptr->isVert) {
747 UNSUPPORTED("5jm345o0dxsgpqu2h67gvkukd"); // pt.x = cp->bb.UR.x;
748 UNSUPPORTED("64l4d6adxd1dwebr9az75w0bq"); // pt.y = (((cp->bb.LL.y)+(cp->bb.UR.y))/2.0);
749 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
750 UNSUPPORTED("8k75h069sv2k9b6tgz77dscwd"); // else {
751 UNSUPPORTED("b55gnqjtnj37pizchlqw7tuat"); // pt.x = (((cp->bb.LL.x)+(cp->bb.UR.x))/2.0);
752 UNSUPPORTED("3p9qsubmglgugaw1d40s99klt"); // pt.y = cp->bb.UR.y;
753 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
754 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
755 UNSUPPORTED("ak6zrr3ug1q6nedtkthjyg33a"); // return pt;
756 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
757
758 throw new UnsupportedOperationException();
759 }
760
761
762
763
764 //3 7emnes5443mx9i54qiv085z3c
765 // static void setSeg (segment* sp, int dir, double fix, double b1, double b2, int l1, int l2)
766 public static Object setSeg(Object... arg) {
767 UNSUPPORTED("e2z2o5ybnr5tgpkt8ty7hwan1"); // static void
768 UNSUPPORTED("czy1oo8vy1jomzgzissjz1pa8"); // setSeg (segment* sp, int dir, double fix, double b1, double b2, int l1, int l2)
769 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
770 UNSUPPORTED("2lzx2lnk6n6qiepwpcof58amv"); // sp->isVert = dir;
771 UNSUPPORTED("egu7wy8np7s0sfcam1ccn50l8"); // sp->comm_coord = fix;
772 UNSUPPORTED("4k7kksif599bd6vj4gbjlgdvu"); // if (b1 < b2) {
773 UNSUPPORTED("2kbc7nvci81onspyljnbbm2yy"); // sp->p.p1 = b1;
774 UNSUPPORTED("69ntpjs4vuyb4c55h77zuda23"); // sp->p.p2 = b2;
775 UNSUPPORTED("a5cq2nxrju7radz9bujgt4rhr"); // sp->l1 = l1;
776 UNSUPPORTED("9tatc5wgmjq70eejnp326bw0s"); // sp->l2 = l2;
777 UNSUPPORTED("20uja4lokugnba2pfzz5gomz4"); // sp->flipped = 0;
778 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
779 UNSUPPORTED("1nyzbeonram6636b1w955bypn"); // else {
780 UNSUPPORTED("dmrpx7gtvzbduny1jg7iwe9m4"); // sp->p.p2 = b1;
781 UNSUPPORTED("1fydpfnyspbu5e91gaqjd462s"); // sp->p.p1 = b2;
782 UNSUPPORTED("1q9i62p8y6lpofiaqtwag6ytb"); // sp->l2 = l1;
783 UNSUPPORTED("askwqfrybpj6e7cjozg2h65p2"); // sp->l1 = l2;
784 UNSUPPORTED("etuylyul4aqlllu3yotsuuzp8"); // sp->flipped = 1;
785 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
786 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
787
788 throw new UnsupportedOperationException();
789 }
790
791
792
793
794 //3 ejdbblkeiy6k5qhpj8qsj0z8y
795 // static route convertSPtoRoute (sgraph* g, snode* fst, snode* lst)
796 public static Object convertSPtoRoute(Object... arg) {
797 UNSUPPORTED("8fb3yibi0votqqanq3fr6x8pj"); // static route
798 UNSUPPORTED("wyj8sug7d8lkktfaafr8tnj7"); // convertSPtoRoute (sgraph* g, snode* fst, snode* lst)
799 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
800 UNSUPPORTED("76tjoqkn7jsh2pn0trcuu3nvs"); // route rte;
801 UNSUPPORTED("au5gm9chihcao74rl90b6ryps"); // snode* ptr;
802 UNSUPPORTED("cywzrf8tem3eh04r3uc8ah1di"); // snode* next;
803 UNSUPPORTED("dvl617t5wak51pbm6b2wwpq7a"); // snode* prev; /* node in shortest path just previous to next */
804 UNSUPPORTED("ccl0rgdbwuva223xhat8drba8"); // int i, sz = 0;
805 UNSUPPORTED("dyevh82lgyyzdp6weja1ovxir"); // cell* cp;
806 UNSUPPORTED("a5qjw7t9yw4fy2yn8wybaubwv"); // cell* ncp;
807 UNSUPPORTED("8tfdncboqzrme5mtb8miqamt8"); // segment seg;
808 UNSUPPORTED("e8ttz1kqzt1p2bbcbynxzgxwr"); // double fix, b1, b2;
809 UNSUPPORTED("1znk1bh9hsbr0uenjzfdyl00x"); // int l1, l2;
810 UNSUPPORTED("af5fm46r9aa1jyef1lcxmilbj"); // pointf bp1, bp2, prevbp; /* bend points */
811 UNSUPPORTED("b6zcm30rwu0uuagbtdyocmn03"); // /* count no. of nodes in shortest path */
812 UNSUPPORTED("2wn8ggohh5i2zmr4zmswe82yn"); // for (ptr = fst; ptr; ptr = (ptr)->n_dad) sz++;
813 UNSUPPORTED("32gg7r7g3ge2w1h3so5nleqkn"); // rte.n = 0;
814 UNSUPPORTED("c8dglxlwc6735e241xb2kleps"); // rte.segs = (segment*)zmalloc((sz-2)*sizeof(segment)); /* at most sz-2 segments */
815 UNSUPPORTED("anlmm69dbu1fyet3im0yytjdv"); // seg.prev = seg.next = 0;
816 UNSUPPORTED("99cys70aea9mlxqhd6l7nznh8"); // ptr = prev = (fst)->n_dad;
817 UNSUPPORTED("adcxm0zct91fjkt21xpk7t2oc"); // next = (ptr)->n_dad;
818 UNSUPPORTED("cw4hqow3w9qpnqan38q4lzr80"); // if ((ptr->cells[0]->flags & 1))
819 UNSUPPORTED("f3ouda0gkwbhpq1ghgnvzs28s"); // cp = ptr->cells[1];
820 UNSUPPORTED("div10atae09n36x269sl208r1"); // else
821 UNSUPPORTED("bwecpy85k4r89mdewgkqnxmqs"); // cp = ptr->cells[0];
822 UNSUPPORTED("8hu317tt07i24q0t1njlxgaaj"); // bp1 = sidePt (ptr, cp);
823 UNSUPPORTED("fojny6cnx3nf3wyctl8jt3m1"); // while ((next)->n_dad!=NULL) {
824 UNSUPPORTED("4685y9um6houwpnmq3o3xdnbl"); // ncp = cellOf (prev, next);
825 UNSUPPORTED("8avl1rf7puyncfn3xpiz6jmyq"); // updateWts (g, ncp, (ptr)->n_edge);
826 UNSUPPORTED("e9wkqtlau9mlc4plmvuuh9n7t"); // /* add seg if path bends or at end */
827 UNSUPPORTED("f4tdpv7sv5hrh14s0m0qn6ijr"); // if ((ptr->isVert != next->isVert) || ((next)->n_dad == lst)) {
828 UNSUPPORTED("c536jildnbvxtl2yss5a5uez"); // if (ptr->isVert != next->isVert)
829 UNSUPPORTED("8hpdisbshs8wjwypt17ftfmfg"); // bp2 = midPt (ncp);
830 UNSUPPORTED("5c97f6vfxny0zz35l2bu4maox"); // else
831 UNSUPPORTED("c06vwwj01jup12zkp64pdhnl5"); // bp2 = sidePt(next, ncp);
832 UNSUPPORTED("1yychnglbjeaemvsoqr67uc24"); // if (ptr->isVert) { /* horizontal segment */
833 UNSUPPORTED("dvn1bwxcs69692i2rl1pm8ks9"); // if (ptr == (fst)->n_dad) l1 = B_NODE;
834 UNSUPPORTED("7xkaeei1db8jok1w7cm6ipvij"); // else if (prevbp.y > bp1.y) l1 = B_UP;
835 UNSUPPORTED("eudlpvdzus72tg534zqj1oyt2"); // else l1 = B_DOWN;
836 UNSUPPORTED("2u5nit0ixq58ppnkni37zkx0p"); // if (ptr->isVert != next->isVert) {
837 UNSUPPORTED("ho3qdbjkg3vo1gms22e3owtc"); // if (next->cells[0] == ncp) l2 = B_UP;
838 UNSUPPORTED("yfq0lkdewjlujiizjym1ixwn"); // else l2 = B_DOWN;
839 UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
840 UNSUPPORTED("wfw1pwgc72zyl8jhmc2mx9q1"); // else l2 = B_NODE;
841 UNSUPPORTED("1kjvrvanocnesq3lr4m4rkpql"); // fix = cp->bb.LL.y;
842 UNSUPPORTED("3l1nsh8rq7tmjt0aaypvrjafd"); // b1 = cp->bb.LL.x;
843 UNSUPPORTED("bdk1ammkqt91fkcw3tko38c4f"); // b2 = ncp->bb.LL.x;
844 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
845 UNSUPPORTED("3jhmgphu961hd77sesd05sgwa"); // else { /* vertical segment */
846 UNSUPPORTED("dvn1bwxcs69692i2rl1pm8ks9"); // if (ptr == (fst)->n_dad) l1 = B_NODE;
847 UNSUPPORTED("5omok2oqvkufnr17ynsa5l31u"); // else if (prevbp.x > bp1.x) l1 = B_RIGHT;
848 UNSUPPORTED("5u8ur9yzca1q5snap89wagubu"); // else l1 = B_LEFT;
849 UNSUPPORTED("2u5nit0ixq58ppnkni37zkx0p"); // if (ptr->isVert != next->isVert) {
850 UNSUPPORTED("70wuwqcivcyzgs1tpuyker0tw"); // if (next->cells[0] == ncp) l2 = B_RIGHT;
851 UNSUPPORTED("b1h57bzme4p9um8dgwvjorz6d"); // else l2 = B_LEFT;
852 UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
853 UNSUPPORTED("wfw1pwgc72zyl8jhmc2mx9q1"); // else l2 = B_NODE;
854 UNSUPPORTED("a6wqml6r0ya7a0ukfjl1akcof"); // fix = cp->bb.LL.x;
855 UNSUPPORTED("c5y1a76ll49xwb6f525w31cxw"); // b1 = cp->bb.LL.y;
856 UNSUPPORTED("5y9rsak5s8cwzp9r7hqzjtdn2"); // b2 = ncp->bb.LL.y;
857 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
858 UNSUPPORTED("5ytq0i1egd8zgjegz2alyi2l"); // setSeg (&seg, !ptr->isVert, fix, b1, b2, l1, l2);
859 UNSUPPORTED("3d5wnmejfwzawn8av2oedjr6w"); // rte.segs[rte.n++] = seg;
860 UNSUPPORTED("4butkpw7q0mfe8ci5ktgzfx7h"); // cp = ncp;
861 UNSUPPORTED("6euarq5hpmo6fnhw9236tny10"); // prevbp = bp1;
862 UNSUPPORTED("9ak3tu9gfug7h6n5oe3atds63"); // bp1 = bp2;
863 UNSUPPORTED("6upeg6isij4ds1zu1jxrpacvy"); // if ((ptr->isVert != next->isVert) && ((next)->n_dad == lst)) {
864 UNSUPPORTED("c06vwwj01jup12zkp64pdhnl5"); // bp2 = sidePt(next, ncp);
865 UNSUPPORTED("1ud8fuhorhhfedc95moinbg3n"); // l2 = B_NODE;
866 UNSUPPORTED("7i3it08m376phdxh0p1uzqai5"); // if (next->isVert) { /* horizontal segment */
867 UNSUPPORTED("6i41faageoastaoondsec5yp4"); // if (prevbp.y > bp1.y) l1 = B_UP;
868 UNSUPPORTED("5g30gkn2ryx49ev1n4e2smcx9"); // else l1 = B_DOWN;
869 UNSUPPORTED("8fxukh2rk7ex4092kgv805ite"); // fix = cp->bb.LL.y;
870 UNSUPPORTED("cuz1j4nsn7d1nc8gyk6pwxms4"); // b1 = cp->bb.LL.x;
871 UNSUPPORTED("6bi6zqtgdmd0jnfszi2huxntb"); // b2 = ncp->bb.LL.x;
872 UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
873 UNSUPPORTED("d28blrbmwwqp80cyksuz7dwx9"); // else {
874 UNSUPPORTED("qmgaeq8ywmhhu9os2y3ykl5h"); // if (prevbp.x > bp1.x) l1 = B_RIGHT;
875 UNSUPPORTED("elww0yfcft9fn920zdzqjqag4"); // else l1 = B_LEFT;
876 UNSUPPORTED("e942krdqcom8eneazkyc1gf5i"); // fix = cp->bb.LL.x;
877 UNSUPPORTED("225z3yt58cl9ma5i7jb3b6zj1"); // b1 = cp->bb.LL.y;
878 UNSUPPORTED("2grsi5yyliiziqp3ehv7saoqg"); // b2 = ncp->bb.LL.y;
879 UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
880 UNSUPPORTED("atcm0274c8dmqoq2enw1723k1"); // setSeg (&seg, !next->isVert, fix, b1, b2, l1, l2);
881 UNSUPPORTED("6eajjgh7sernfrp1c4gqwdqva"); // rte.segs[rte.n++] = seg;
882 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
883 UNSUPPORTED("5oraagbeabq0cwuspqij33hro"); // ptr = next;
884 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
885 UNSUPPORTED("1qyv8z4yk5u9fxyioeycj4pg4"); // prev = next;
886 UNSUPPORTED("dtddoorswdnxqgywntqy6r3rj"); // next = (next)->n_dad;
887 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
888 UNSUPPORTED("6wc8b07bbvef9c5f0xaq0a7w7"); // rte.segs = realloc (rte.segs, rte.n*sizeof(segment));
889 UNSUPPORTED("9t92jm5uuo94z4984kskv1zs1"); // for (i=0; i<rte.n; i++) {
890 UNSUPPORTED("5lyp63c6dqwdpk6sdzho7f12g"); // if (i > 0)
891 UNSUPPORTED("6ocqv4us3offjwlpkz1trldjf"); // rte.segs[i].prev = rte.segs + (i-1);
892 UNSUPPORTED("140nkijwoi101c4avzme9y00x"); // if (i < rte.n-1)
893 UNSUPPORTED("2zgm1op1kek2062uh1ir84v1p"); // rte.segs[i].next = rte.segs + (i+1);
894 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
895 UNSUPPORTED("6rsvido8aoxm4xz31egwihvie"); // return rte;
896 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
897
898 throw new UnsupportedOperationException();
899 }
900
901
902
903
904 //3 aqw2pcwz2wbv0f1rw9usmyqgf
905 // static void freeChannel (Dt_t* d, channel* cp, Dtdisc_t* disc)
906 public static Object freeChannel(Object... arg) {
907 UNSUPPORTED("e2z2o5ybnr5tgpkt8ty7hwan1"); // static void
908 UNSUPPORTED("c9euy7p3sclc7ckkp1bzs1jx"); // freeChannel (Dt_t* d, channel* cp, Dtdisc_t* disc)
909 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
910 UNSUPPORTED("b9qijws3odg8l7q5fou8uuguj"); // free_graph (cp->G);
911 UNSUPPORTED("q5fdp3fynm4ytf68bfq4eyi1"); // free (cp->seg_list);
912 UNSUPPORTED("15g2jqm1fxtvztnindiv43hg9"); // free (cp);
913 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
914
915 throw new UnsupportedOperationException();
916 }
917
918
919
920
921 //3 czg5smuwmyt5ciilshur9hm5e
922 // static void freeChanItem (Dt_t* d, chanItem* cp, Dtdisc_t* disc)
923 public static Object freeChanItem(Object... arg) {
924 UNSUPPORTED("e2z2o5ybnr5tgpkt8ty7hwan1"); // static void
925 UNSUPPORTED("3shy48lfkzdtnmko723ebxmhv"); // freeChanItem (Dt_t* d, chanItem* cp, Dtdisc_t* disc)
926 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
927 UNSUPPORTED("2j623061b9jjl1jqz6i2eartz"); // dtclose (cp->chans);
928 UNSUPPORTED("15g2jqm1fxtvztnindiv43hg9"); // free (cp);
929 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
930
931 throw new UnsupportedOperationException();
932 }
933
934
935
936
937 //3 cbapcnadrscvk8m1ip2223p3e
938 // static int chancmpid(Dt_t* d, paird* key1, paird* key2, Dtdisc_t* disc)
939 public static Object chancmpid(Object... arg) {
940 UNSUPPORTED("eyp5xkiyummcoc88ul2b6tkeg"); // static int
941 UNSUPPORTED("c3dmj421aezge5a3ggj2xi34t"); // chancmpid(Dt_t* d, paird* key1, paird* key2, Dtdisc_t* disc)
942 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
943 UNSUPPORTED("2jh3acz833d3cdotdb2s5kr3v"); // if (key1->p1 > key2->p1) {
944 UNSUPPORTED("p297m3b0zcsixgurzbmjqkqr"); // if (key1->p2 <= key2->p2) return 0;
945 UNSUPPORTED("ayizfb4et318igswkluxa6rgf"); // else return 1;
946 UNSUPPORTED("7ijd6pszsxnoopppf6xwo8wdl"); // }
947 UNSUPPORTED("awnfnp6rvvw6qa9g0i6vjio9k"); // else if (key1->p1 < key2->p1) {
948 UNSUPPORTED("6hzvi4g07ent2az0wn1att4zj"); // if (key1->p2 >= key2->p2) return 0;
949 UNSUPPORTED("c20igl46iqplts26214lc7ebm"); // else return -1;
950 UNSUPPORTED("7ijd6pszsxnoopppf6xwo8wdl"); // }
951 UNSUPPORTED("7lrkjjj5lce2uf86c1y9o9yoa"); // else return 0;
952 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
953
954 throw new UnsupportedOperationException();
955 }
956
957
958
959
960 //3 659jucoqq7j1ud5wehj42ik2d
961 // static int dcmpid(Dt_t* d, double* key1, double* key2, Dtdisc_t* disc)
962 public static Object dcmpid(Object... arg) {
963 UNSUPPORTED("eyp5xkiyummcoc88ul2b6tkeg"); // static int
964 UNSUPPORTED("6vxm1h1q3grwa81zaivfch1re"); // dcmpid(Dt_t* d, double* key1, double* key2, Dtdisc_t* disc)
965 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
966 UNSUPPORTED("1cu94gjng90rrt7xtp42ifr1"); // if (*key1 > *key2) return 1;
967 UNSUPPORTED("3h1tdtwyfqaqhne2o7pz8yq9h"); // else if (*key1 < *key2) return -1;
968 UNSUPPORTED("7lrkjjj5lce2uf86c1y9o9yoa"); // else return 0;
969 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
970
971 throw new UnsupportedOperationException();
972 }
973
974
975 //1 ethokur0ooay9stl4lw8geq1r
976 // static Dtdisc_t chanDisc =
977
978
979 //1 db0w2llnzryezehbaes3knwwv
980 // static Dtdisc_t chanItemDisc =
981
982
983
984
985 //3 1yykle604b3x2mutto2rk7k0q
986 // static void addChan (Dt_t* chdict, channel* cp, double j)
987 public static Object addChan(Object... arg) {
988 UNSUPPORTED("e2z2o5ybnr5tgpkt8ty7hwan1"); // static void
989 UNSUPPORTED("5y1j3qnhsbg3b86o7hpanej1s"); // addChan (Dt_t* chdict, channel* cp, double j)
990 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
991 UNSUPPORTED("67yxlxmzwjczlfm96jhe7luye"); // chanItem* subd = (*(((Dt_t*)(chdict))->searchf))((chdict),(void*)(&j),0001000);
992 UNSUPPORTED("bl97x4t04cnuvu98zcsh3u3r1"); // if (!subd) {
993 UNSUPPORTED("92ya0nhv9b16cc5o2095t5rp2"); // subd = (chanItem*)zmalloc(sizeof(chanItem));
994 UNSUPPORTED("6kkqd46tx54vo55rc8xyc93dg"); // subd->v = j;
995 UNSUPPORTED("e4cijg0myh4jmsjklqxc3ia0r"); // subd->chans = dtopen (&chanDisc, Dtoset);
996 UNSUPPORTED("anh61bjg3nlucvypx7x43xfk7"); // (*(((Dt_t*)(chdict))->searchf))((chdict),(void*)(subd),0000001);
997 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
998 UNSUPPORTED("344a2yp8gxqtygac1hl0bxduf"); // (*(((Dt_t*)(subd->chans))->searchf))((subd->chans),(void*)(cp),0000001);
999 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1000
1001 throw new UnsupportedOperationException();
1002 }
1003
1004
1005
1006
1007 //3 870j0jbluhoffx3ke1eog9a0e
1008 // static Dt_t* extractHChans (maze* mp)
1009 public static Object extractHChans(Object... arg) {
1010 UNSUPPORTED("2xt7ub3z01qt6i7l0luh5zpbd"); // static Dt_t*
1011 UNSUPPORTED("6h6avfk40i1d436sls3sjaic3"); // extractHChans (maze* mp)
1012 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1013 UNSUPPORTED("b17di9c7wgtqm51bvsyxz6e2f"); // int i;
1014 UNSUPPORTED("bhhrlzv5tqbx6ctv8b8hya7ll"); // snode* np;
1015 UNSUPPORTED("2pyx8we0m19pr0whdh4wa2df9"); // Dt_t* hchans = dtopen (&chanItemDisc, Dtoset);
1016 UNSUPPORTED("cc6zk9wsty15bcay61nb68jos"); // for (i = 0; i < mp->ncells; i++) {
1017 UNSUPPORTED("6mflke7nml2pfj18uu5t0itb2"); // channel* chp;
1018 UNSUPPORTED("2noex6z427j2b0xavovcqkxja"); // cell* cp = mp->cells+i;
1019 UNSUPPORTED("4id7mgutk26h361i0yn0dr0c9"); // cell* nextcp;
1020 UNSUPPORTED("lrx70e5v1i9g2x8dyh0781af"); // if ((cp->flags & 4)) continue;
1021 UNSUPPORTED("4fw3zqbj9rdk41p6d04n8l4p9"); // /* move left */
1022 UNSUPPORTED("4hw0byd0u8kw6qzgqn54tsvsm"); // while ((np = cp->sides[M_LEFT]) && (nextcp = np->cells[0]) &&
1023 UNSUPPORTED("rfl3ehaprpjsjs96qg8xsipw"); // !(nextcp->flags & 1)) {
1024 UNSUPPORTED("292smg9hw43fsfevnum565skt"); // cp = nextcp;
1025 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1026 UNSUPPORTED("cor1kngy665478bu9tlxw55y0"); // chp = (channel*)zmalloc(sizeof(channel));
1027 UNSUPPORTED("3tv0uje2s5tbgyq4tltlazjfp"); // chp->cp = cp;
1028 UNSUPPORTED("241dtcbm0olj1vf27gmksfshg"); // chp->p.p1 = cp->bb.LL.x;
1029 UNSUPPORTED("67k0t4al7ygki756mk386ga5v"); // /* move right */
1030 UNSUPPORTED("c89349lhw5ip8nh8afxcjd01t"); // cp->flags |= 4;
1031 UNSUPPORTED("6ky3mzdgm24nohd7cwj4ljp2k"); // while ((np = cp->sides[M_RIGHT]) && (nextcp = np->cells[1]) &&
1032 UNSUPPORTED("rfl3ehaprpjsjs96qg8xsipw"); // !(nextcp->flags & 1)) {
1033 UNSUPPORTED("292smg9hw43fsfevnum565skt"); // cp = nextcp;
1034 UNSUPPORTED("1en3ueviartdiagf21oyb422w"); // cp->flags |= 4;
1035 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1036 UNSUPPORTED("78071fo42hy6imylzbfy3bf8i"); // chp->p.p2 = cp->bb.UR.x;
1037 UNSUPPORTED("e8p02vlsess6lxodmtmo1c1ms"); // addChan (hchans, chp, chp->cp->bb.LL.y);
1038 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1039 UNSUPPORTED("bq8ebjnwnc14ngjegh07xcdh7"); // return hchans;
1040 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1041
1042 throw new UnsupportedOperationException();
1043 }
1044
1045
1046
1047
1048 //3 7s43hm0mz2wo1mdduca26ojr5
1049 // static Dt_t* extractVChans (maze* mp)
1050 public static Object extractVChans(Object... arg) {
1051 UNSUPPORTED("2xt7ub3z01qt6i7l0luh5zpbd"); // static Dt_t*
1052 UNSUPPORTED("c36zuoh2qlc3lrap5d8f3y8lk"); // extractVChans (maze* mp)
1053 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1054 UNSUPPORTED("b17di9c7wgtqm51bvsyxz6e2f"); // int i;
1055 UNSUPPORTED("bhhrlzv5tqbx6ctv8b8hya7ll"); // snode* np;
1056 UNSUPPORTED("dnn2hmk22k5leb4unfdv23ay"); // Dt_t* vchans = dtopen (&chanItemDisc, Dtoset);
1057 UNSUPPORTED("cc6zk9wsty15bcay61nb68jos"); // for (i = 0; i < mp->ncells; i++) {
1058 UNSUPPORTED("6mflke7nml2pfj18uu5t0itb2"); // channel* chp;
1059 UNSUPPORTED("2noex6z427j2b0xavovcqkxja"); // cell* cp = mp->cells+i;
1060 UNSUPPORTED("4id7mgutk26h361i0yn0dr0c9"); // cell* nextcp;
1061 UNSUPPORTED("4oetph2txtwv1olvghotnhpps"); // if ((cp->flags & 2)) continue;
1062 UNSUPPORTED("c6rkuey5ihzorfjp9881pbmej"); // /* move down */
1063 UNSUPPORTED("a9307fsrcb38pq8una61um0oe"); // while ((np = cp->sides[M_BOTTOM]) && (nextcp = np->cells[0]) &&
1064 UNSUPPORTED("rfl3ehaprpjsjs96qg8xsipw"); // !(nextcp->flags & 1)) {
1065 UNSUPPORTED("292smg9hw43fsfevnum565skt"); // cp = nextcp;
1066 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1067 UNSUPPORTED("cor1kngy665478bu9tlxw55y0"); // chp = (channel*)zmalloc(sizeof(channel));
1068 UNSUPPORTED("3tv0uje2s5tbgyq4tltlazjfp"); // chp->cp = cp;
1069 UNSUPPORTED("1yizwyrbv5k2pljd9srrt507t"); // chp->p.p1 = cp->bb.LL.y;
1070 UNSUPPORTED("9l69ytmot9sii7jf1nezunp0j"); // /* move up */
1071 UNSUPPORTED("ekzngugyx3nx0hy0tcenivo3e"); // cp->flags |= 2;
1072 UNSUPPORTED("eaga01f5n4bcc04jzd7koe2zn"); // while ((np = cp->sides[M_TOP]) && (nextcp = np->cells[1]) &&
1073 UNSUPPORTED("rfl3ehaprpjsjs96qg8xsipw"); // !(nextcp->flags & 1)) {
1074 UNSUPPORTED("292smg9hw43fsfevnum565skt"); // cp = nextcp;
1075 UNSUPPORTED("2z9bt6rzic3h5f2bswrctlkm5"); // cp->flags |= 2;
1076 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1077 UNSUPPORTED("4t6wc1803m511jzzii1e5refw"); // chp->p.p2 = cp->bb.UR.y;
1078 UNSUPPORTED("117s1riz7scnahvfdhjad7oo7"); // addChan (vchans, chp, chp->cp->bb.LL.x);
1079 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1080 UNSUPPORTED("mc3k9myynjaxs0u8wam7xntw"); // return vchans;
1081 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1082
1083 throw new UnsupportedOperationException();
1084 }
1085
1086
1087
1088
1089 //3 3fx0dtmoubptoy863qaohsyiv
1090 // static void insertChan (channel* chan, segment* seg)
1091 public static Object insertChan(Object... arg) {
1092 UNSUPPORTED("e2z2o5ybnr5tgpkt8ty7hwan1"); // static void
1093 UNSUPPORTED("9wvfovtdcnhpa9y21q29xb2xs"); // insertChan (channel* chan, segment* seg)
1094 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1095 UNSUPPORTED("8rut445afekmag201py7zerog"); // seg->ind_no = chan->cnt++;
1096 UNSUPPORTED("1fpx5uvyy1jw7h6nzfgxqij4q"); // chan->seg_list = ALLOC(chan->cnt, chan->seg_list, segment*);
1097 UNSUPPORTED("dtkgbijbhv6zio2otpjus55me"); // chan->seg_list[chan->cnt-1] = seg;
1098 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1099
1100 throw new UnsupportedOperationException();
1101 }
1102
1103
1104
1105
1106 //3 2k7dmuexcawtry3q8ifzylkb9
1107 // static channel* chanSearch (Dt_t* chans, segment* seg)
1108 public static Object chanSearch(Object... arg) {
1109 UNSUPPORTED("9qh7gtx6joh26yrtekarlkx5k"); // static channel*
1110 UNSUPPORTED("6iggv78oc0ydb9b7w5c37fcdb"); // chanSearch (Dt_t* chans, segment* seg)
1111 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1112 UNSUPPORTED("6ysgprb9sb91hot466r1pbjvf"); // channel* cp;
1113 UNSUPPORTED("3eoemzrlaus9ecq2mmuirfx2e"); // chanItem* chani = (*(((Dt_t*)(chans))->searchf))((chans),(void*)(&seg->comm_coord),0001000);
1114 UNSUPPORTED("xbnh2djh0amu19ivzrfv1zrb"); // assert (chani);
1115 UNSUPPORTED("a5sgr1i6e2c5nbli6kjtt8w0o"); // cp = (*(((Dt_t*)(chani->chans))->searchf))((chani->chans),(void*)(&seg->p),0001000);
1116 UNSUPPORTED("1e4wppypayzgri783mhjwfvr3"); // assert (cp);
1117 UNSUPPORTED("4jjmko29xep9s4rocrlxrqsof"); // return cp;
1118 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1119
1120 throw new UnsupportedOperationException();
1121 }
1122
1123
1124
1125
1126 //3 e8ecrel25ykgpfve8c2pg90bt
1127 // static void assignSegs (int nrtes, route* route_list, maze* mp)
1128 public static Object assignSegs(Object... arg) {
1129 UNSUPPORTED("e2z2o5ybnr5tgpkt8ty7hwan1"); // static void
1130 UNSUPPORTED("9gbzlbbthoblu6f8211e9rp46"); // assignSegs (int nrtes, route* route_list, maze* mp)
1131 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1132 UNSUPPORTED("7pmetyg241ybw8hq3j61i271y"); // channel* chan;
1133 UNSUPPORTED("dzpsknrwv8qkqq20hjnjpjn68"); // int i, j;
1134 UNSUPPORTED("arcr89i9kld6j0uwf2fd919vf"); // for (i=0;i<nrtes;i++) {
1135 UNSUPPORTED("8nmg5kva9un1iagmu3w2ewcpz"); // route rte = route_list[i];
1136 UNSUPPORTED("9ken3gc0llddmodnj5r6bw80u"); // for (j=0;j<rte.n;j++) {
1137 UNSUPPORTED("x3l60c48rutxrsfwa82yiy0b"); // segment* seg = rte.segs+j;
1138 UNSUPPORTED("b131wmg0a9ey6t0bzxmyjvujo"); // if (seg->isVert)
1139 UNSUPPORTED("bdeg9z0esjwizlyn8av1pup0v"); // chan = chanSearch(mp->vchans, seg);
1140 UNSUPPORTED("5c97f6vfxny0zz35l2bu4maox"); // else
1141 UNSUPPORTED("52uzmq8ikrhropj8svxedldsn"); // chan = chanSearch(mp->hchans, seg);
1142 UNSUPPORTED("73ufkqlb3bea3t1t87hm2wgdl"); // insertChan (chan, seg);
1143 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1144 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1145 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1146
1147 throw new UnsupportedOperationException();
1148 }
1149
1150
1151
1152
1153 //3 4648ghx1zvrhmfvw1szjx5en
1154 // static void addLoop (sgraph* sg, cell* cp, snode* dp, snode* sp)
1155 public static Object addLoop(Object... arg) {
1156 UNSUPPORTED("e2z2o5ybnr5tgpkt8ty7hwan1"); // static void
1157 UNSUPPORTED("a3tsmcxhg7iyjoceb1tpll3mb"); // addLoop (sgraph* sg, cell* cp, snode* dp, snode* sp)
1158 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1159 UNSUPPORTED("b17di9c7wgtqm51bvsyxz6e2f"); // int i;
1160 UNSUPPORTED("a5bapcojbf1pon4upj40dgnit"); // int onTop;
1161 UNSUPPORTED("2mmprwecm43sdonztnzfjh86u"); // pointf midp = midPt (cp);
1162 UNSUPPORTED("2zty3wxdquu2fbdk9ag3eibug"); // for (i = 0; i < cp->nsides; i++) {
1163 UNSUPPORTED("6aknf99z3dbb067he348v23c2"); // cell* ocp;
1164 UNSUPPORTED("9wdrv4uc4c7ssn0qpmxgz5eu1"); // pointf p;
1165 UNSUPPORTED("97a26i8tw0qmzg5i2dlia94tf"); // double wt;
1166 UNSUPPORTED("2o74t2kk9zszzjmhl2o58radp"); // snode* onp = cp->sides[i];
1167 UNSUPPORTED("2bh0qvoskfpyikivdli33p1t7"); // if (onp->isVert) continue;
1168 UNSUPPORTED("3r96db0og4bylr45sqo2u7ire"); // if (onp->cells[0] == cp) {
1169 UNSUPPORTED("5ld3bwx3i8kedyixr9hiunybw"); // onTop = 1;
1170 UNSUPPORTED("7u4yqyzc7gp7vvs8j9a8o1vz3"); // ocp = onp->cells[1];
1171 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1172 UNSUPPORTED("8k75h069sv2k9b6tgz77dscwd"); // else {
1173 UNSUPPORTED("4nrjdhrb9ccxue57dab1e82ec"); // onTop = 0;
1174 UNSUPPORTED("5t2fdtivke5zplmmsz3noc2h2"); // ocp = onp->cells[0];
1175 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1176 UNSUPPORTED("3o5hqzfql7utdq40v2mp489na"); // p = sidePt (onp, ocp);
1177 UNSUPPORTED("2pqzno9l1yhihvq61yikfha7x"); // wt = abs(p.x - midp.x) + abs(p.y - midp.y);
1178 UNSUPPORTED("eeypctdtd8leg1t71p1ef13ns"); // if (onTop)
1179 UNSUPPORTED("ay6bley4n4nuqyi003sc8kb3d"); // createSEdge (sg, sp, onp, 0); /* FIX weight */
1180 UNSUPPORTED("9352ql3e58qs4fzapgjfrms2s"); // else
1181 UNSUPPORTED("bhgjjjfikli3ur37hc7x7pvem"); // createSEdge (sg, dp, onp, 0); /* FIX weight */
1182 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1183 UNSUPPORTED("3o1amzqcqc6xflt5rclqgaoop"); // sg->nnodes += 2;
1184 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1185
1186 throw new UnsupportedOperationException();
1187 }
1188
1189
1190
1191
1192 //3 89iyhk6f9rhg0e8rz0hlwkesx
1193 // static void addNodeEdges (sgraph* sg, cell* cp, snode* np)
1194 public static Object addNodeEdges(Object... arg) {
1195 UNSUPPORTED("e2z2o5ybnr5tgpkt8ty7hwan1"); // static void
1196 UNSUPPORTED("3s08k325s6c0dzl8xxm0e71pf"); // addNodeEdges (sgraph* sg, cell* cp, snode* np)
1197 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1198 UNSUPPORTED("b17di9c7wgtqm51bvsyxz6e2f"); // int i;
1199 UNSUPPORTED("2mmprwecm43sdonztnzfjh86u"); // pointf midp = midPt (cp);
1200 UNSUPPORTED("2zty3wxdquu2fbdk9ag3eibug"); // for (i = 0; i < cp->nsides; i++) {
1201 UNSUPPORTED("2o74t2kk9zszzjmhl2o58radp"); // snode* onp = cp->sides[i];
1202 UNSUPPORTED("6aknf99z3dbb067he348v23c2"); // cell* ocp;
1203 UNSUPPORTED("9wdrv4uc4c7ssn0qpmxgz5eu1"); // pointf p;
1204 UNSUPPORTED("97a26i8tw0qmzg5i2dlia94tf"); // double wt;
1205 UNSUPPORTED("5tmebwuyw7chpq5iitcyuvnod"); // if (onp->cells[0] == cp)
1206 UNSUPPORTED("7u4yqyzc7gp7vvs8j9a8o1vz3"); // ocp = onp->cells[1];
1207 UNSUPPORTED("9352ql3e58qs4fzapgjfrms2s"); // else
1208 UNSUPPORTED("5t2fdtivke5zplmmsz3noc2h2"); // ocp = onp->cells[0];
1209 UNSUPPORTED("3o5hqzfql7utdq40v2mp489na"); // p = sidePt (onp, ocp);
1210 UNSUPPORTED("2pqzno9l1yhihvq61yikfha7x"); // wt = abs(p.x - midp.x) + abs(p.y - midp.y);
1211 UNSUPPORTED("d513bewr1npimr2it2ia2k56r"); // createSEdge (sg, np, onp, 0); /* FIX weight */
1212 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1213 UNSUPPORTED("580kqdl0txe4fd1g3jdsx7oj8"); // sg->nnodes++;
1214 UNSUPPORTED("8dkxzvuy1kheqf9w0lmvljni5"); // np->cells[0] = np->cells[1] = cp;
1215 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1216
1217 throw new UnsupportedOperationException();
1218 }
1219
1220
1221
1222
1223 //3 7yrubx0zxon9c2uglsfqdw6wb
1224 // static char* bendToStr (bend b)
1225 public static Object bendToStr(Object... arg) {
1226 UNSUPPORTED("aso9sesbnmywhnboxv863whri"); // static char* bendToStr (bend b)
1227 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1228 UNSUPPORTED("1nqf38mopzr5h6gz1w5jgibcq"); // char* s;
1229 UNSUPPORTED("6ep6naubtnkle2baax49za5kt"); // switch (b) {
1230 UNSUPPORTED("468ky1b2wfpa4muv0a4vayt73"); // case B_NODE :
1231 UNSUPPORTED("7asao4q2agscqkw1vxzbiovd"); // s = "B_NODE";
1232 UNSUPPORTED("8ofzhd1f1qc2gz9hfk7vzz6ox"); // break;
1233 UNSUPPORTED("9p3ucw6vl509wdnlc9fo3qviu"); // case B_UP :
1234 UNSUPPORTED("eabybll1yskskaq7a8kxvc8tp"); // s = "B_UP";
1235 UNSUPPORTED("8ofzhd1f1qc2gz9hfk7vzz6ox"); // break;
1236 UNSUPPORTED("6y3zt8d6u1qyjwi9sxz0vhxov"); // case B_LEFT :
1237 UNSUPPORTED("83j5r4h8qfyqcjko2filk6pf6"); // s = "B_LEFT";
1238 UNSUPPORTED("8ofzhd1f1qc2gz9hfk7vzz6ox"); // break;
1239 UNSUPPORTED("9twa5d2kxeox6wxq7il75kpvb"); // case B_DOWN :
1240 UNSUPPORTED("2lrnwyogg8ylvavh64j9fsc4v"); // s = "B_DOWN";
1241 UNSUPPORTED("8ofzhd1f1qc2gz9hfk7vzz6ox"); // break;
1242 UNSUPPORTED("e3th0xydbkfhgz8nlphys6knw"); // case B_RIGHT :
1243 UNSUPPORTED("4z5jeqjq3629k9tjxww0ixjqv"); // s = "B_RIGHT";
1244 UNSUPPORTED("8ofzhd1f1qc2gz9hfk7vzz6ox"); // break;
1245 UNSUPPORTED("7ijd6pszsxnoopppf6xwo8wdl"); // }
1246 UNSUPPORTED("cw8hinum739bvjkye9axxkjp3"); // return s;
1247 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1248
1249 throw new UnsupportedOperationException();
1250 }
1251
1252
1253
1254
1255 //3 90xcxnm75ks9geu9fenh3dm1y
1256 // static void putSeg (FILE* fp, segment* seg)
1257 public static Object putSeg(Object... arg) {
1258 UNSUPPORTED("ezdh139xemkeu6ueshufvm7w2"); // static void putSeg (FILE* fp, segment* seg)
1259 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1260 UNSUPPORTED("70c5pnzzsu7czszgxj1512qab"); // if (seg->isVert)
1261 UNSUPPORTED("ah8jrf48288m893sn0xhnsoyl"); // fprintf (fp, "((%f,%f),(%f,%f)) %s %s", seg->comm_coord, seg->p.p1,
1262 UNSUPPORTED("1m3ectywf3939xa468uztvqoq"); // seg->comm_coord, seg->p.p2, bendToStr (seg->l1), bendToStr (seg->l2));
1263 UNSUPPORTED("8983svt6g1kt3l45bd6ju9mw6"); // else
1264 UNSUPPORTED("c1qsbthiirdz2q4klv9p53rth"); // fprintf (fp, "((%f,%f),(%f,%f)) %s %s", seg->p.p1,seg->comm_coord,
1265 UNSUPPORTED("bxjfdk1v4pdjllz1clm0jzi7c"); // seg->p.p2, seg->comm_coord, bendToStr (seg->l1), bendToStr (seg->l2));
1266 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1267
1268 throw new UnsupportedOperationException();
1269 }
1270
1271
1272
1273
1274 //3 2fdwckbttldonqwo3v1bwb0tx
1275 // static void dumpChanG (channel* cp, int v)
1276 public static Object dumpChanG(Object... arg) {
1277 UNSUPPORTED("e2z2o5ybnr5tgpkt8ty7hwan1"); // static void
1278 UNSUPPORTED("1jiwdzplvv49bv58z35y6cdxe"); // dumpChanG (channel* cp, int v)
1279 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1280 UNSUPPORTED("8ebsbykup813mmiz374hgxn60"); // int k;
1281 UNSUPPORTED("9sznn1kro0jd847rh8vo0hwbc"); // intitem* ip;
1282 UNSUPPORTED("1e46umbsk6iochvxe1wvpa4hm"); // Dt_t* adj;
1283 UNSUPPORTED("6oro5r2fdy2jr6tual6x7sagh"); // if (cp->cnt < 2) return;
1284 UNSUPPORTED("cz9tbd9xi7o70lfrwgwnls8ry"); // fprintf (stderr, "channel %d (%f,%f)\n", v, cp->p.p1, cp->p.p2);
1285 UNSUPPORTED("2e81m6ga4aivsowi1d0mro7qz"); // for (k=0;k<cp->cnt;k++) {
1286 UNSUPPORTED("esbukm9onpnxbeewu9ks5cx7q"); // adj = cp->G->vertices[k].adj_list;
1287 UNSUPPORTED("7d5y6bg0ngegbqsnsn7gu87bt"); // if (dtsize(adj) == 0) continue;
1288 UNSUPPORTED("7wdg4xscc6apj5ksye6gvz131"); // putSeg (stderr, cp->seg_list[k]);
1289 UNSUPPORTED("d811shlhb0ykm0lp0t2naamkw"); // fputs (" ->\n", stderr);
1290 UNSUPPORTED("4lca7ud2mcwkyvh8ynb1pjo61"); // for (ip = (intitem*)(*(((Dt_t*)(adj))->searchf))((adj),(void*)(0),0000200); ip; ip = (intitem*)(*(((Dt_t*)(adj))->searchf))((adj),(void*)(ip),0000010)) {
1291 UNSUPPORTED("drhixa423prmpgu5j6qe8l3je"); // fputs (" ", stderr);
1292 UNSUPPORTED("8kybw0d4hrww4xqhdna4mlsgc"); // putSeg (stderr, cp->seg_list[ip->id]);
1293 UNSUPPORTED("24p9gcmr0oxvz0sli52c722vt"); // fputs ("\n", stderr);
1294 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1295 UNSUPPORTED("7ijd6pszsxnoopppf6xwo8wdl"); // }
1296 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1297
1298 throw new UnsupportedOperationException();
1299 }
1300
1301
1302
1303
1304 //3 d0tqkl09dlk95z7uv7a0esz2h
1305 // static void assignTrackNo (Dt_t* chans)
1306 public static Object assignTrackNo(Object... arg) {
1307 UNSUPPORTED("e2z2o5ybnr5tgpkt8ty7hwan1"); // static void
1308 UNSUPPORTED("32zdrf69xvfxhlj0l5jffzppy"); // assignTrackNo (Dt_t* chans)
1309 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1310 UNSUPPORTED("a4p8766eh6ra21i7u5o9nf6rm"); // Dt_t* lp;
1311 UNSUPPORTED("1mqjeo37v4tmo6kht0rep1tht"); // Dtlink_t* l1;
1312 UNSUPPORTED("eiqtkkndttzmunuxtnm99mkpy"); // Dtlink_t* l2;
1313 UNSUPPORTED("dbd08d8bpiw762wer960cicgj"); // channel* cp;
1314 UNSUPPORTED("b0kisc5bimb4jnz3z1g2yhbqv"); // int k;
1315 UNSUPPORTED("cp4kv1fg74up3ubek2qyx8d25"); // for (l1 = dtflatten (chans); l1; l1 = (((Dtlink_t*)(l1))->right)) {
1316 UNSUPPORTED("950o75hi1nj794oxa101pt5t0"); // lp = ((chanItem*)l1)->chans;
1317 UNSUPPORTED("71dqer4eeiqshvsh6rbj0kis5"); // for (l2 = dtflatten (lp); l2; l2 = (((Dtlink_t*)(l2))->right)) {
1318 UNSUPPORTED("135wr0zp93ul7lqzg4608t7cy"); // cp = (channel*)l2;
1319 UNSUPPORTED("jmhm2rezhg6jgnyq2vvyf1xt"); // if (cp->cnt) {
1320 UNSUPPORTED("oz7u32hmswbxtvcx0h9iwqbc"); // if (odb_flags & 8) dumpChanG (cp, ((chanItem*)l1)->v);
1321 UNSUPPORTED("4g04bc8ywv1z7gpxqhucbcys2"); // top_sort (cp->G);
1322 UNSUPPORTED("9u4bikrj4ida8i29gym2jn5b9"); // for (k=0;k<cp->cnt;k++)
1323 UNSUPPORTED("8o41cm37dmlh7y14o8j7byzbn"); // cp->seg_list[k]->track_no = cp->G->vertices[k].topsort_order+1;
1324 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
1325 UNSUPPORTED("9pqd0punhe3g1up9qd8xxo652"); // }
1326 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1327 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1328
1329 throw new UnsupportedOperationException();
1330 }
1331
1332
1333
1334
1335 //3 4cvz30tum1j5kh2mr4tikagu7
1336 // static void create_graphs(Dt_t* chans)
1337 public static Object create_graphs(Object... arg) {
1338 UNSUPPORTED("e2z2o5ybnr5tgpkt8ty7hwan1"); // static void
1339 UNSUPPORTED("bhabfg4ovu9hg3f74xotdq8w2"); // create_graphs(Dt_t* chans)
1340 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1341 UNSUPPORTED("a4p8766eh6ra21i7u5o9nf6rm"); // Dt_t* lp;
1342 UNSUPPORTED("1mqjeo37v4tmo6kht0rep1tht"); // Dtlink_t* l1;
1343 UNSUPPORTED("eiqtkkndttzmunuxtnm99mkpy"); // Dtlink_t* l2;
1344 UNSUPPORTED("dbd08d8bpiw762wer960cicgj"); // channel* cp;
1345 UNSUPPORTED("cp4kv1fg74up3ubek2qyx8d25"); // for (l1 = dtflatten (chans); l1; l1 = (((Dtlink_t*)(l1))->right)) {
1346 UNSUPPORTED("950o75hi1nj794oxa101pt5t0"); // lp = ((chanItem*)l1)->chans;
1347 UNSUPPORTED("71dqer4eeiqshvsh6rbj0kis5"); // for (l2 = dtflatten (lp); l2; l2 = (((Dtlink_t*)(l2))->right)) {
1348 UNSUPPORTED("135wr0zp93ul7lqzg4608t7cy"); // cp = (channel*)l2;
1349 UNSUPPORTED("3cr2g51ro0c0oi5l2n756dpbt"); // cp->G = make_graph (cp->cnt);
1350 UNSUPPORTED("9pqd0punhe3g1up9qd8xxo652"); // }
1351 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1352 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1353
1354 throw new UnsupportedOperationException();
1355 }
1356
1357
1358
1359
1360 //3 bzybz2vhse04djha8f0fquflw
1361 // static int eqEndSeg (bend S1l2, bend S2l2, bend T1, bend T2)
1362 public static Object eqEndSeg(Object... arg) {
1363 UNSUPPORTED("eyp5xkiyummcoc88ul2b6tkeg"); // static int
1364 UNSUPPORTED("85zkrfkxr894bmai11bwpink8"); // eqEndSeg (bend S1l2, bend S2l2, bend T1, bend T2)
1365 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1366 UNSUPPORTED("7gxac6sgui9mlexwzhcjde73q"); // if (((S1l2==T2)&&(S2l2=!T2))
1367 UNSUPPORTED("60oyzebkxpkavx2feau5rt7kl"); // || ((S1l2==B_NODE)&&(S2l2==T1)))
1368 UNSUPPORTED("dcqs008t3a3ccoe71d0lqe7yd"); // return(0);
1369 UNSUPPORTED("div10atae09n36x269sl208r1"); // else
1370 UNSUPPORTED("1b9bshcz3yhp7bwyu248z4k9t"); // return(-1);
1371 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1372
1373 throw new UnsupportedOperationException();
1374 }
1375
1376
1377
1378
1379 //3 eb1uhz6fkbngny6t6auaxxt9b
1380 // static int overlapSeg (segment* S1, segment* S2, bend T1, bend T2)
1381 public static Object overlapSeg(Object... arg) {
1382 UNSUPPORTED("eyp5xkiyummcoc88ul2b6tkeg"); // static int
1383 UNSUPPORTED("ezv23yz3jqikw7nzsie354dxc"); // overlapSeg (segment* S1, segment* S2, bend T1, bend T2)
1384 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1385 UNSUPPORTED("a78h8j082nhcdjv739yn4qppz"); // if(S1->p.p2<S2->p.p2) {
1386 UNSUPPORTED("4rsshkwyw60o88gdb3dn0ovf4"); // if(S1->l2==T1&&S2->l1==T2) return(-1);
1387 UNSUPPORTED("2mabne1z2rhv79s1slqsz0khx"); // else if(S1->l2==T2&&S2->l1==T1) return(1);
1388 UNSUPPORTED("2vzk76estb6plbulns7pz9fh4"); // else return(0);
1389 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1390 UNSUPPORTED("f2sgqrqg5ty4z7q2umaxpejio"); // else if(S1->p.p2==S2->p.p2) {
1391 UNSUPPORTED("ct6utyz0mi3m48f5wk8rnqoc3"); // if(S2->l1==T2) return eqEndSeg (S1->l2, S2->l2, T1, T2);
1392 UNSUPPORTED("5ot15cxdtf6ibi79p9ahnuiyy"); // else return -1*eqEndSeg (S2->l2, S1->l2, T1, T2);
1393 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1394 UNSUPPORTED("7aq9p42tl9bfo9gar2o9pyo6"); // else { /* S1->p.p2>S2->p.p2 */
1395 UNSUPPORTED("89qwmoj26o4fkmkwqkugfzwjf"); // if(S2->l1==T2&&S2->l2==T2) return(-1);
1396 UNSUPPORTED("adhycem4k08o2rbxo59z3jkhz"); // else if (S2->l1==T1&&S2->l2==T1) return(1);
1397 UNSUPPORTED("2vzk76estb6plbulns7pz9fh4"); // else return(0);
1398 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1399 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1400
1401 throw new UnsupportedOperationException();
1402 }
1403
1404
1405
1406
1407 //3 916xnvutvt73y05azmf2m6y6t
1408 // static int ellSeg (bend S1l1, bend S1l2, bend T)
1409 public static Object ellSeg(Object... arg) {
1410 UNSUPPORTED("eyp5xkiyummcoc88ul2b6tkeg"); // static int
1411 UNSUPPORTED("akzolart54jjjeeqmyxqrnmuc"); // ellSeg (bend S1l1, bend S1l2, bend T)
1412 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1413 UNSUPPORTED("be5bxc372qf9z4u0bn8p5f3a2"); // if (S1l1 == T) {
1414 UNSUPPORTED("19rq2setuug0dsuwd18u6bp16"); // if (S1l2== T) return -1;
1415 UNSUPPORTED("3x8iplz4npgo85ip5rp23jmcu"); // else return 0;
1416 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1417 UNSUPPORTED("ayizfb4et318igswkluxa6rgf"); // else return 1;
1418 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1419
1420 throw new UnsupportedOperationException();
1421 }
1422
1423
1424
1425
1426 //3 3set1dgc7lhl9wfckj4voync3
1427 // static int segCmp (segment* S1, segment* S2, bend T1, bend T2)
1428 public static Object segCmp(Object... arg) {
1429 UNSUPPORTED("eyp5xkiyummcoc88ul2b6tkeg"); // static int
1430 UNSUPPORTED("5so0u4o583yem7g066n6h5h8v"); // segCmp (segment* S1, segment* S2, bend T1, bend T2)
1431 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1432 UNSUPPORTED("cgb5j5ouyqocl1eu5sq5ul1m1"); // /* no overlap */
1433 UNSUPPORTED("1m7w9c5br675ne9d38ak6hu53"); // if((S1->p.p2<S2->p.p1)||(S1->p.p1>S2->p.p2)) return(0);
1434 UNSUPPORTED("edg1u6oyftrvreqlbjqxcznnc"); // /* left endpoint of S2 inside S1 */
1435 UNSUPPORTED("1x0gxclmpt2dwwdqev2ara450"); // if(S1->p.p1<S2->p.p1&&S2->p.p1<S1->p.p2)
1436 UNSUPPORTED("am1178qaqllybktyjo3nv97xc"); // return overlapSeg (S1, S2, T1, T2);
1437 UNSUPPORTED("bvhn7dxguoamigzpbv1635rse"); // /* left endpoint of S1 inside S2 */
1438 UNSUPPORTED("1x5d71ow7dh9gcypm1uex4adi"); // else if(S2->p.p1<S1->p.p1&&S1->p.p1<S2->p.p2)
1439 UNSUPPORTED("8jh6cjdtp573oq8qqbvo18fjx"); // return -1*overlapSeg (S2, S1, T1, T2);
1440 UNSUPPORTED("cjqc4716c7f0ty1biibdcbi3b"); // else if(S1->p.p1==S2->p.p1) {
1441 UNSUPPORTED("1a96hc1yp8pa6nhuky2f3kpov"); // if(S1->p.p2==S2->p.p2) {
1442 UNSUPPORTED("dakz4gu568b47ilof0mjlkp3g"); // if((S1->l1==S2->l1)&&(S1->l2==S2->l2))
1443 UNSUPPORTED("dtxrebylagy9i05p1v1fhxnuz"); // return(0);
1444 UNSUPPORTED("57vde3e47agnudbdc9bacshif"); // else if (S2->l1==S2->l2) {
1445 UNSUPPORTED("67o69o09wpy0v0ur5f1l1c5s5"); // if(S2->l1==T1) return(1);
1446 UNSUPPORTED("b6r32yfv7dexk3ru7g6nqwg1g"); // else if(S2->l1==T2) return(-1);
1447 UNSUPPORTED("ek9n5w1l5tq5so113ne9728y8"); // else if ((S1->l1!=T1)&&(S1->l2!=T1)) return (1);
1448 UNSUPPORTED("3877rrvm4cl9vsly8mophiluw"); // else if ((S1->l1!=T2)&&(S1->l2!=T2)) return (-1);
1449 UNSUPPORTED("7ke2h1gpwvqi6ougdwfz82wmh"); // else return 0;
1450 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
1451 UNSUPPORTED("3lz4dhijiqr5ht941jdjwgi7z"); // else if ((S2->l1==T1)&&(S2->l2==T2)) {
1452 UNSUPPORTED("6679v73zr10343sabv0545ajx"); // if ((S1->l1!=T1)&&(S1->l2==T2)) return 1;
1453 UNSUPPORTED("5c357ofc3tlta7b6ntliniwd9"); // else if ((S1->l1==T1)&&(S1->l2!=T2)) return -1;
1454 UNSUPPORTED("7ke2h1gpwvqi6ougdwfz82wmh"); // else return 0;
1455 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
1456 UNSUPPORTED("evz657j0gnvx74823jqra523c"); // else if ((S2->l2==T1)&&(S2->l1==T2)) {
1457 UNSUPPORTED("aitlrwojh186x6j2ty4o4gocm"); // if ((S1->l2!=T1)&&(S1->l1==T2)) return 1;
1458 UNSUPPORTED("er78pkwc9gkhcxvyjq62zor6c"); // else if ((S1->l2==T1)&&(S1->l1!=T2)) return -1;
1459 UNSUPPORTED("7ke2h1gpwvqi6ougdwfz82wmh"); // else return 0;
1460 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
1461 UNSUPPORTED("1ny3yv8c13bp4zcfp8dvffoa8"); // else if ((S2->l1==B_NODE)&&(S2->l2==T1)) {
1462 UNSUPPORTED("4mlaa90t6h9d80djun5rflzkq"); // return ellSeg (S1->l1, S1->l2, T1);
1463 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
1464 UNSUPPORTED("3dq7kw6w7e1wh4etca0rl6d0v"); // else if ((S2->l1==B_NODE)&&(S2->l2==T2)) {
1465 UNSUPPORTED("4i2pfdj4zt2umblnmyoloiduk"); // return -1*ellSeg (S1->l1, S1->l2, T2);
1466 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
1467 UNSUPPORTED("2v5dfnazye6510cbha31l8i7w"); // else if ((S2->l1==T1)&&(S2->l2==B_NODE)) {
1468 UNSUPPORTED("4rq25g617jse4401t7v75md57"); // return ellSeg (S1->l2, S1->l1, T1);
1469 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
1470 UNSUPPORTED("96b656c5ejlopals3g50cqegi"); // else { /* ((S2->l1==T2)&&(S2->l2==B_NODE)) */
1471 UNSUPPORTED("bcifb3xs85visnlkzrg2nt70g"); // return -1*ellSeg (S1->l2, S1->l1, T2);
1472 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
1473 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1474 UNSUPPORTED("bmcaw8gehzc5d62dx0w3skyig"); // else if(S1->p.p2<S2->p.p2) {
1475 UNSUPPORTED("1u3o14xi8e1cxvb445iu3kct6"); // if(S1->l2==T1)
1476 UNSUPPORTED("1qnx7k0mdbkhofu0mdzisxijd"); // return eqEndSeg (S2->l1, S1->l1, T1, T2);
1477 UNSUPPORTED("5c97f6vfxny0zz35l2bu4maox"); // else
1478 UNSUPPORTED("d9rodbu7eiqzjvik47smclsdl"); // return -1*eqEndSeg (S2->l1, S1->l1, T1, T2);
1479 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1480 UNSUPPORTED("7aq9p42tl9bfo9gar2o9pyo6"); // else { /* S1->p.p2>S2->p.p2 */
1481 UNSUPPORTED("51m1xa8u2znzxazdwantwyuyv"); // if(S2->l2==T2)
1482 UNSUPPORTED("4f3mewxm7upg06y9z4bjrn4vf"); // return eqEndSeg (S1->l1, S2->l1, T1, T2);
1483 UNSUPPORTED("5c97f6vfxny0zz35l2bu4maox"); // else
1484 UNSUPPORTED("b7xkdbwtc22b1j95kr0hty8sp"); // return -1*eqEndSeg (S1->l1, S2->l1, T1, T2);
1485 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1486 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1487 UNSUPPORTED("1z3rgo8s9sfovtqdrlci7ydng"); // else if(S1->p.p2==S2->p.p1) {
1488 UNSUPPORTED("dryuqkmwg4utuh4fz56nec4iu"); // if(S1->l2==S2->l1) return(0);
1489 UNSUPPORTED("92dwbh0qiegdwle729knbwdao"); // else if(S1->l2==T2) return(1);
1490 UNSUPPORTED("2yl5dq1it450fqpkn8wjdxab4"); // else return(-1);
1491 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1492 UNSUPPORTED("ewjrcchl8l1d8fp4y1r6qfbp3"); // else { /* S1->p.p1==S2->p.p2 */
1493 UNSUPPORTED("1h7f8h4o89nvu26mb04i68h34"); // if(S1->l1==S2->l2) return(0);
1494 UNSUPPORTED("e97u2o9q8t0rv2icxkb8fsowu"); // else if(S1->l1==T2) return(1);
1495 UNSUPPORTED("2yl5dq1it450fqpkn8wjdxab4"); // else return(-1);
1496 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1497 UNSUPPORTED("6ufddz487491174h94zezajk8"); // assert(0);
1498 UNSUPPORTED("5oxhd3fvp0gfmrmz12vndnjt"); // return 0;
1499 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1500
1501 throw new UnsupportedOperationException();
1502 }
1503
1504
1505
1506
1507 //3 2why0kxj0qrlrn435c0twfblb
1508 // static int seg_cmp(segment* S1, segment* S2)
1509 public static Object seg_cmp(Object... arg) {
1510 UNSUPPORTED("eyp5xkiyummcoc88ul2b6tkeg"); // static int
1511 UNSUPPORTED("5ucj9rj7ohyk0eh1h5jzk9qhh"); // seg_cmp(segment* S1, segment* S2)
1512 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1513 UNSUPPORTED("ef82t09fd18di0isi59csjlwu"); // if(S1->isVert!=S2->isVert||S1->comm_coord!=S2->comm_coord) {
1514 UNSUPPORTED("2a6h1eg3z0m4zzhdw7vtdz33i"); // agerr (AGERR, "incomparable segments !! -- Aborting\n");
1515 UNSUPPORTED("1ghgraebed3srgimi1gdqx5nj"); // longjmp(jbuf, 1);
1516 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1517 UNSUPPORTED("88n6v57rjcx5w9zz51wjd80mn"); // if(S1->isVert)
1518 UNSUPPORTED("10jcxkwtbmjakpk36jpzzhsnm"); // return segCmp (S1, S2, B_RIGHT, B_LEFT);
1519 UNSUPPORTED("div10atae09n36x269sl208r1"); // else
1520 UNSUPPORTED("1ealfunb0xbji4f46jf9balu7"); // return segCmp (S1, S2, B_DOWN, B_UP);
1521 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1522
1523 throw new UnsupportedOperationException();
1524 }
1525
1526
1527
1528
1529 //3 7ycppm4b8xqpa85ov0gpp4r1w
1530 // static void add_edges_in_G(channel* cp)
1531 public static Object add_edges_in_G(Object... arg) {
1532 UNSUPPORTED("59dl3yc4jbcy2pb7j1njhlybi"); // static void
1533 UNSUPPORTED("e7prlxhst1riecg8sy2dq7ho3"); // add_edges_in_G(channel* cp)
1534 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1535 UNSUPPORTED("2b5x6xxv7d1fwjdnit9o6fac4"); // int x,y;
1536 UNSUPPORTED("462fowlguwrqt49rjdjc35vdl"); // segment** seg_list = cp->seg_list;
1537 UNSUPPORTED("9zouge4neqmqsg96284lxensf"); // int size = cp->cnt;
1538 UNSUPPORTED("dmbfnx3582vhxsi4o65ruesyn"); // rawgraph* G = cp->G;
1539 UNSUPPORTED("8uyd6tjjadhk8ovw1osaocc0g"); // for(x=0;x+1<size;x++) {
1540 UNSUPPORTED("d6rcr7i0zif84j0etj6znobof"); // for(y=x+1;y<size;y++) {
1541 UNSUPPORTED("13nwmc2b6etct75wmtn4vn94z"); // switch (seg_cmp(seg_list[x],seg_list[y])) {
1542 UNSUPPORTED("5224921bwtkpbe3zt8fvgs1bu"); // case 1:
1543 UNSUPPORTED("5e6oqdqibspr5jq2bc2n7dkk2"); // insert_edge(G,x,y);
1544 UNSUPPORTED("9ekmvj13iaml5ndszqyxa8eq"); // break;
1545 UNSUPPORTED("7v6ydzgso87upf4u6dz4wpwrk"); // case 0:
1546 UNSUPPORTED("9ekmvj13iaml5ndszqyxa8eq"); // break;
1547 UNSUPPORTED("6d61fnn1tbjq1dmeag53gout6"); // case -1:
1548 UNSUPPORTED("pcg0zn469jrk5lvqquyyj7oi"); // insert_edge(G,y,x);
1549 UNSUPPORTED("9ekmvj13iaml5ndszqyxa8eq"); // break;
1550 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
1551 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1552 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1553 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1554
1555 throw new UnsupportedOperationException();
1556 }
1557
1558
1559
1560
1561 //3 d5ycixr4ake5beje9bmkeg5p0
1562 // static void add_np_edges (Dt_t* chans)
1563 public static Object add_np_edges(Object... arg) {
1564 UNSUPPORTED("e2z2o5ybnr5tgpkt8ty7hwan1"); // static void
1565 UNSUPPORTED("4pvanrmfcrnmuei62le54kcbt"); // add_np_edges (Dt_t* chans)
1566 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1567 UNSUPPORTED("a4p8766eh6ra21i7u5o9nf6rm"); // Dt_t* lp;
1568 UNSUPPORTED("1mqjeo37v4tmo6kht0rep1tht"); // Dtlink_t* l1;
1569 UNSUPPORTED("eiqtkkndttzmunuxtnm99mkpy"); // Dtlink_t* l2;
1570 UNSUPPORTED("dbd08d8bpiw762wer960cicgj"); // channel* cp;
1571 UNSUPPORTED("cp4kv1fg74up3ubek2qyx8d25"); // for (l1 = dtflatten (chans); l1; l1 = (((Dtlink_t*)(l1))->right)) {
1572 UNSUPPORTED("950o75hi1nj794oxa101pt5t0"); // lp = ((chanItem*)l1)->chans;
1573 UNSUPPORTED("71dqer4eeiqshvsh6rbj0kis5"); // for (l2 = dtflatten (lp); l2; l2 = (((Dtlink_t*)(l2))->right)) {
1574 UNSUPPORTED("135wr0zp93ul7lqzg4608t7cy"); // cp = (channel*)l2;
1575 UNSUPPORTED("b9bbgy74zwpeh6zk1wsld8tx2"); // if (cp->cnt)
1576 UNSUPPORTED("37n1ytiss9w7m68eh2a5ahf44"); // add_edges_in_G(cp);
1577 UNSUPPORTED("9pqd0punhe3g1up9qd8xxo652"); // }
1578 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1579 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1580
1581 throw new UnsupportedOperationException();
1582 }
1583
1584
1585
1586
1587 //3 emn5p2pij0zdp2hl3dyjefe36
1588 // static segment* next_seg(segment* seg, int dir)
1589 public static Object next_seg(Object... arg) {
1590 UNSUPPORTED("5hl6i4lkcopw8a7eywmfv5qyv"); // static segment*
1591 UNSUPPORTED("6ov8c8zpwswdr0pj1gzchtfwx"); // next_seg(segment* seg, int dir)
1592 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1593 UNSUPPORTED("6ri8jco2tikytst7ste1069yq"); // assert(seg);
1594 UNSUPPORTED("9yxubvqbrubzc3jcqnh9rpnmf"); // if (!dir)
1595 UNSUPPORTED("8dd4jx4ni1rdife7uof1nuwi9"); // return(seg->prev);
1596 UNSUPPORTED("div10atae09n36x269sl208r1"); // else
1597 UNSUPPORTED("5c5he207xx8av0i912x9hawr2"); // return(seg->next);
1598 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1599
1600 throw new UnsupportedOperationException();
1601 }
1602
1603
1604
1605
1606 //3 cs3u9dks2e2tzv2xu98p77w90
1607 // static int propagate_prec(segment* seg, int prec, int hops, int dir)
1608 public static Object propagate_prec(Object... arg) {
1609 UNSUPPORTED("eyp5xkiyummcoc88ul2b6tkeg"); // static int
1610 UNSUPPORTED("tr6cv9djjf64a8yuh6q95jsp"); // propagate_prec(segment* seg, int prec, int hops, int dir)
1611 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1612 UNSUPPORTED("dpr58lv2eeka28wequlp2xrzl"); // int x;
1613 UNSUPPORTED("ay64podpnebhkrkm9jq6r391s"); // int ans=prec;
1614 UNSUPPORTED("5ih4ipri3bjcgm61xdrc8ud4y"); // segment* next;
1615 UNSUPPORTED("cbeluzwuxiponx0az49dgkui4"); // segment* current;
1616 UNSUPPORTED("o8icbmalf0qgkleaf5kmc0ui"); // current = seg;
1617 UNSUPPORTED("yvzhy5oaj4saluubblynzmhv"); // for(x=1;x<=hops;x++) {
1618 UNSUPPORTED("9h1ebsbxexcfuink8l7o97r07"); // next = next_seg(current, dir);
1619 UNSUPPORTED("2gosr1fjv173ysmvks0ybbgvt"); // if(!current->isVert) {
1620 UNSUPPORTED("4v64kcbbxxsk315fnsi8ya930"); // if(next->comm_coord==current->p.p1) {
1621 UNSUPPORTED("6gkb69knhwko2b5weglnqbil9"); // if(current->l1==B_UP) ans *= -1;
1622 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
1623 UNSUPPORTED("6q044im7742qhglc4553noina"); // else {
1624 UNSUPPORTED("2o8y0vj6uxky1dqkbntiyges"); // if(current->l2==B_DOWN) ans *= -1;
1625 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
1626 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1627 UNSUPPORTED("8k75h069sv2k9b6tgz77dscwd"); // else {
1628 UNSUPPORTED("4v64kcbbxxsk315fnsi8ya930"); // if(next->comm_coord==current->p.p1) {
1629 UNSUPPORTED("bzsdu04we48ifrljpe0az0g4j"); // if(current->l1==B_RIGHT) ans *= -1;
1630 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
1631 UNSUPPORTED("6q044im7742qhglc4553noina"); // else {
1632 UNSUPPORTED("2q2w4w0cp24ko6jdyfchiodyq"); // if(current->l2==B_LEFT) ans *= -1;
1633 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
1634 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1635 UNSUPPORTED("10sew6kuf3dcpt2wqk10ptksi"); // current = next;
1636 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1637 UNSUPPORTED("dhivmxtyss2i31bgun146pdvx"); // return(ans);
1638 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1639
1640 throw new UnsupportedOperationException();
1641 }
1642
1643
1644
1645
1646 //3 bp53nx2ri4vm9anrojt7u7c2u
1647 // static int is_parallel(segment* s1, segment* s2)
1648 public static Object is_parallel(Object... arg) {
1649 UNSUPPORTED("eyp5xkiyummcoc88ul2b6tkeg"); // static int
1650 UNSUPPORTED("ddygyr541ybi2kvxacd9n2m9j"); // is_parallel(segment* s1, segment* s2)
1651 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1652 UNSUPPORTED("51or2j2w3vw4tt3ek3h4o7r2t"); // assert (s1->comm_coord==s2->comm_coord);
1653 UNSUPPORTED("9gufgbv51f5we43a6jx1uyqh9"); // return ((s1->p.p1==s2->p.p1)&&
1654 UNSUPPORTED("4cxvzf3a2g1ubcxf02lgmj2xh"); // (s1->p.p2==s2->p.p2)&&
1655 UNSUPPORTED("bzty8iew02v127lmuh0uuecmi"); // (s1->l1==s2->l1)&&
1656 UNSUPPORTED("8ilakshy93x5k5my1hijj1fpw"); // (s1->l2==s2->l2));
1657 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1658
1659 throw new UnsupportedOperationException();
1660 }
1661
1662
1663
1664
1665 //3 5cy5xm5pageww1ken6y8teea4
1666 // static pair decide_point(segment* si, segment* sj, int dir1, int dir2)
1667 public static Object decide_point(Object... arg) {
1668 UNSUPPORTED("f1byl3savsjxfld9h2fobwfo3"); // static pair
1669 UNSUPPORTED("7l2qer0l7u4rucnbo5kqj4vgc"); // decide_point(segment* si, segment* sj, int dir1, int dir2)
1670 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1671 UNSUPPORTED("dfk7h3txri9a3b4e7wkrzosju"); // int prec, ans = 0, temp;
1672 UNSUPPORTED("axbwlxs3xs2c5t2is2ke1ham5"); // pair ret;
1673 UNSUPPORTED("36dbtz3qjw44q55zoxfkmkykb"); // segment* np1;
1674 UNSUPPORTED("b95suv5ftmjl1s7ra4hrpi2db"); // segment* np2;
1675 UNSUPPORTED("afc9pg3q0h9ku0fioayd8nokq"); // while ((np1 = next_seg(si,dir1)) && (np2 = next_seg(sj,dir2)) &&
1676 UNSUPPORTED("a0ti049y8u1wrflxigii3nmuq"); // is_parallel(np1, np2)) {
1677 UNSUPPORTED("aunxscflrorekqz8lv1sco0h1"); // ans++;
1678 UNSUPPORTED("ok657kaukdbv5j6b55n9lu6c"); // si = np1;
1679 UNSUPPORTED("7e7drakmuxwngzq18f1lbsn1g"); // sj = np2;
1680 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1681 UNSUPPORTED("4z9en58svufdyqqt3fyi3z80j"); // if (!np1)
1682 UNSUPPORTED("98h93apvsb643md8j6fnbun83"); // prec = 0;
1683 UNSUPPORTED("8p3l7vg6fa42z5f9qr4kcwdbk"); // else if (!np2)
1684 UNSUPPORTED("9o9tshvh3903w7oznf4dx4ksw"); // assert(0); /* FIXME */
1685 UNSUPPORTED("1nyzbeonram6636b1w955bypn"); // else {
1686 UNSUPPORTED("9sednl43da21gajvwpmk1pyle"); // temp = seg_cmp(np1, np2);
1687 UNSUPPORTED("bojwazeev7k8w4xnz842s9dc6"); // prec = propagate_prec(np1, temp, ans+1, 1-dir1);
1688 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1689 UNSUPPORTED("c46mwi9n2qk3nz5az4iu04e2s"); // ret.a = ans;
1690 UNSUPPORTED("5vibf15888faapk0uzvvophg9"); // ret.b = prec;
1691 UNSUPPORTED("35t727xxibdqfcn6xwikpae5w"); // return(ret);
1692 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1693
1694 throw new UnsupportedOperationException();
1695 }
1696
1697
1698
1699
1700 //3 9lqaqtqdkw9rqhmyltdrzs6xy
1701 // static void set_parallel_edges (segment* seg1, segment* seg2, int dir1, int dir2, int hops, maze* mp)
1702 public static Object set_parallel_edges(Object... arg) {
1703 UNSUPPORTED("e2z2o5ybnr5tgpkt8ty7hwan1"); // static void
1704 UNSUPPORTED("3p9s2fmb4u10tilwejs0l9pp1"); // set_parallel_edges (segment* seg1, segment* seg2, int dir1, int dir2, int hops,
1705 UNSUPPORTED("1rikd6gjoe3cvxggpkhj7z34d"); // maze* mp)
1706 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1707 UNSUPPORTED("dpr58lv2eeka28wequlp2xrzl"); // int x;
1708 UNSUPPORTED("7pmetyg241ybw8hq3j61i271y"); // channel* chan;
1709 UNSUPPORTED("81v3bzorfnk43chwizhwmbb1n"); // channel* nchan;
1710 UNSUPPORTED("2qv0nvdra5zvo2b2ewep1ala4"); // segment* prev1;
1711 UNSUPPORTED("6s95g7xlatuyfm26klez18no0"); // segment* prev2;
1712 UNSUPPORTED("430rnwqjk85b89sh9kt07e6a0"); // if (seg1->isVert)
1713 UNSUPPORTED("4m8jh0bz7h9xwt55zl1stxnm8"); // chan = chanSearch(mp->vchans, seg1);
1714 UNSUPPORTED("div10atae09n36x269sl208r1"); // else
1715 UNSUPPORTED("4sukugpamblizlwievszn8nl3"); // chan = chanSearch(mp->hchans, seg1);
1716 UNSUPPORTED("1elt521vxb74ewc1nqabq3gby"); // insert_edge(chan->G, seg1->ind_no, seg2->ind_no);
1717 UNSUPPORTED("2n7xloj5t3tkvc8h58imqk8td"); // for (x=1;x<=hops;x++) {
1718 UNSUPPORTED("iytowix4us30gxbxx69ke9rn"); // prev1 = next_seg(seg1, dir1);
1719 UNSUPPORTED("9v39bw7og01cgrd9fnjubn0pi"); // prev2 = next_seg(seg2, dir2);
1720 UNSUPPORTED("7q2x5kqynrhvcsduekv09bdn4"); // if(!seg1->isVert) {
1721 UNSUPPORTED("7hs0lytek5umsxrj0a6jc8t5f"); // nchan = chanSearch(mp->vchans, prev1);
1722 UNSUPPORTED("7lpjkbjai262xfygabcg0nwnu"); // if(prev1->comm_coord==seg1->p.p1) {
1723 UNSUPPORTED("13ucbaachj06c0mvgupkiswfl"); // if(seg1->l1==B_UP) {
1724 UNSUPPORTED("e14484zac1ca6tr55nq056y2s"); // if(edge_exists(chan->G, seg1->ind_no, seg2->ind_no))
1725 UNSUPPORTED("850me5iwi1gvweet5jzd7lqwy"); // insert_edge(nchan->G, prev2->ind_no, prev1->ind_no);
1726 UNSUPPORTED("9acag2yacl63g8rg6r1alu62x"); // else
1727 UNSUPPORTED("9jmkjj0x67qxhr4shs6ibvgk3"); // insert_edge(nchan->G, prev1->ind_no, prev2->ind_no);
1728 UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
1729 UNSUPPORTED("d28blrbmwwqp80cyksuz7dwx9"); // else {
1730 UNSUPPORTED("e14484zac1ca6tr55nq056y2s"); // if(edge_exists(chan->G, seg1->ind_no, seg2->ind_no))
1731 UNSUPPORTED("9jmkjj0x67qxhr4shs6ibvgk3"); // insert_edge(nchan->G, prev1->ind_no, prev2->ind_no);
1732 UNSUPPORTED("9acag2yacl63g8rg6r1alu62x"); // else
1733 UNSUPPORTED("850me5iwi1gvweet5jzd7lqwy"); // insert_edge(nchan->G, prev2->ind_no, prev1->ind_no);
1734 UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
1735 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
1736 UNSUPPORTED("6q044im7742qhglc4553noina"); // else {
1737 UNSUPPORTED("8vywd7o1vdaaij4z9jtx8pi63"); // if(seg1->l2==B_UP) {
1738 UNSUPPORTED("e14484zac1ca6tr55nq056y2s"); // if(edge_exists(chan->G, seg1->ind_no, seg2->ind_no))
1739 UNSUPPORTED("173hlqu5ukdae2k6wt7ch1x8p"); // insert_edge(nchan->G,prev1->ind_no, prev2->ind_no);
1740 UNSUPPORTED("9acag2yacl63g8rg6r1alu62x"); // else
1741 UNSUPPORTED("7lby5m10dvjryzfv32elha7cq"); // insert_edge(nchan->G,prev2->ind_no, prev1->ind_no);
1742 UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
1743 UNSUPPORTED("d28blrbmwwqp80cyksuz7dwx9"); // else {
1744 UNSUPPORTED("e14484zac1ca6tr55nq056y2s"); // if(edge_exists(chan->G, seg1->ind_no, seg2->ind_no))
1745 UNSUPPORTED("850me5iwi1gvweet5jzd7lqwy"); // insert_edge(nchan->G, prev2->ind_no, prev1->ind_no);
1746 UNSUPPORTED("9acag2yacl63g8rg6r1alu62x"); // else
1747 UNSUPPORTED("9jmkjj0x67qxhr4shs6ibvgk3"); // insert_edge(nchan->G, prev1->ind_no, prev2->ind_no);
1748 UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
1749 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
1750 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1751 UNSUPPORTED("8k75h069sv2k9b6tgz77dscwd"); // else {
1752 UNSUPPORTED("9tap010f91m7yxd7a77xcc6gy"); // nchan = chanSearch(mp->hchans, prev1);
1753 UNSUPPORTED("7lpjkbjai262xfygabcg0nwnu"); // if(prev1->comm_coord==seg1->p.p1) {
1754 UNSUPPORTED("bv0pfzaflx2zmsfq7fl4fumox"); // if(seg1->l1==B_LEFT) {
1755 UNSUPPORTED("e14484zac1ca6tr55nq056y2s"); // if(edge_exists(chan->G, seg1->ind_no, seg2->ind_no))
1756 UNSUPPORTED("9jmkjj0x67qxhr4shs6ibvgk3"); // insert_edge(nchan->G, prev1->ind_no, prev2->ind_no);
1757 UNSUPPORTED("9acag2yacl63g8rg6r1alu62x"); // else
1758 UNSUPPORTED("850me5iwi1gvweet5jzd7lqwy"); // insert_edge(nchan->G, prev2->ind_no, prev1->ind_no);
1759 UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
1760 UNSUPPORTED("d28blrbmwwqp80cyksuz7dwx9"); // else {
1761 UNSUPPORTED("e14484zac1ca6tr55nq056y2s"); // if(edge_exists(chan->G, seg1->ind_no, seg2->ind_no))
1762 UNSUPPORTED("850me5iwi1gvweet5jzd7lqwy"); // insert_edge(nchan->G, prev2->ind_no, prev1->ind_no);
1763 UNSUPPORTED("9acag2yacl63g8rg6r1alu62x"); // else
1764 UNSUPPORTED("9jmkjj0x67qxhr4shs6ibvgk3"); // insert_edge(nchan->G, prev1->ind_no, prev2->ind_no);
1765 UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
1766 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
1767 UNSUPPORTED("6q044im7742qhglc4553noina"); // else {
1768 UNSUPPORTED("nvpd9xg7sp7w29u53zc5n7om"); // if(seg1->l2==B_LEFT) {
1769 UNSUPPORTED("e14484zac1ca6tr55nq056y2s"); // if(edge_exists(chan->G, seg1->ind_no, seg2->ind_no))
1770 UNSUPPORTED("850me5iwi1gvweet5jzd7lqwy"); // insert_edge(nchan->G, prev2->ind_no, prev1->ind_no);
1771 UNSUPPORTED("9acag2yacl63g8rg6r1alu62x"); // else
1772 UNSUPPORTED("9jmkjj0x67qxhr4shs6ibvgk3"); // insert_edge(nchan->G, prev1->ind_no, prev2->ind_no);
1773 UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
1774 UNSUPPORTED("d28blrbmwwqp80cyksuz7dwx9"); // else {
1775 UNSUPPORTED("e14484zac1ca6tr55nq056y2s"); // if(edge_exists(chan->G, seg1->ind_no, seg2->ind_no))
1776 UNSUPPORTED("9jmkjj0x67qxhr4shs6ibvgk3"); // insert_edge(nchan->G, prev1->ind_no, prev2->ind_no);
1777 UNSUPPORTED("9acag2yacl63g8rg6r1alu62x"); // else
1778 UNSUPPORTED("850me5iwi1gvweet5jzd7lqwy"); // insert_edge(nchan->G, prev2->ind_no, prev1->ind_no);
1779 UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
1780 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
1781 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1782 UNSUPPORTED("3d9r09rxjpct04hoj66705cp1"); // chan = nchan;
1783 UNSUPPORTED("2c2yvnaxh16x89y9hq4w5yk1m"); // seg1 = prev1;
1784 UNSUPPORTED("11ckhoc2b2u2dsurx9qg07st6"); // seg2 = prev2;
1785 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1786 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1787
1788 throw new UnsupportedOperationException();
1789 }
1790
1791
1792
1793
1794 //3 38cpeb1o8uvzyjd93p234ds9f
1795 // static void removeEdge(segment* seg1, segment* seg2, int dir, maze* mp)
1796 public static Object removeEdge(Object... arg) {
1797 UNSUPPORTED("e2z2o5ybnr5tgpkt8ty7hwan1"); // static void
1798 UNSUPPORTED("6sgltkpz58p9krap0y1sbvj6k"); // removeEdge(segment* seg1, segment* seg2, int dir, maze* mp)
1799 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1800 UNSUPPORTED("szrq58jnhhhevz1yqgbr4ck2"); // segment* ptr1;
1801 UNSUPPORTED("31dak66p4n83b984pfixwotla"); // segment* ptr2;
1802 UNSUPPORTED("7pmetyg241ybw8hq3j61i271y"); // channel* chan;
1803 UNSUPPORTED("3f6utfpnejoda18juym1fb1ko"); // ptr1 = seg1;
1804 UNSUPPORTED("4zdcf2h90axz04i03w6ttg5k4"); // ptr2 = seg2;
1805 UNSUPPORTED("bnoomvnxrkeudsz6vyirx44uc"); // while(is_parallel(ptr1, ptr2)) {
1806 UNSUPPORTED("bgoj9z4ow368rwa0wiqpvom0o"); // ptr1 = next_seg(ptr1, 1);
1807 UNSUPPORTED("6k9a6lk6tlg00as6qklki8xiz"); // ptr2 = next_seg(ptr2, dir);
1808 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1809 UNSUPPORTED("ai7oa06ous30ke73ob1k1h6go"); // if(ptr1->isVert)
1810 UNSUPPORTED("7qlxjn3a1d6nys3x5s0ngrs5q"); // chan = chanSearch(mp->vchans, ptr1);
1811 UNSUPPORTED("div10atae09n36x269sl208r1"); // else
1812 UNSUPPORTED("79qdq8et7m2rlyh1z4wss3y1n"); // chan = chanSearch(mp->hchans, ptr1);
1813 UNSUPPORTED("1f4mrzxo4q83k5yazad1hezbb"); // remove_redge (chan->G, ptr1->ind_no, ptr2->ind_no);
1814 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1815
1816 throw new UnsupportedOperationException();
1817 }
1818
1819
1820
1821
1822 //3 eiig50kmclab4ei88pq4soo34
1823 // static void addPEdges (channel* cp, maze* mp)
1824 public static Object addPEdges(Object... arg) {
1825 UNSUPPORTED("e2z2o5ybnr5tgpkt8ty7hwan1"); // static void
1826 UNSUPPORTED("68fs5heyk95e6jn74c6cgq01t"); // addPEdges (channel* cp, maze* mp)
1827 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1828 UNSUPPORTED("8nbbb2xvtigkcv51627tsphb7"); // int i,j;
1829 UNSUPPORTED("691z894ert27013tlk15hh2qh"); // /* dir[1,2] are used to figure out whether we should use prev
1830 UNSUPPORTED("d52bbwvlo6xaftcxmyc07f9w5"); // * pointers or next pointers -- 0 : decrease, 1 : increase
1831 UNSUPPORTED("795vpnc8yojryr8b46aidsu69"); // */
1832 UNSUPPORTED("2ihd1217lj7h5zt9n0d1q5cna"); // int dir;
1833 UNSUPPORTED("2ur22e7h79m2ohnopwac8a76b"); // /* number of hops along the route to get to the deciding points */
1834 UNSUPPORTED("8czu5hbarwrdzcuxp2djvv4rp"); // pair hops;
1835 UNSUPPORTED("3cz2vt0y2kw2ogxww3u2j1kl6"); // /* precedences of the deciding points : same convention as
1836 UNSUPPORTED("1tpdmm5wve9rduvay2ahgvle9"); // * seg_cmp function
1837 UNSUPPORTED("795vpnc8yojryr8b46aidsu69"); // */
1838 UNSUPPORTED("522qtrew5eqvwpn5wxnu2k9dn"); // int prec1, prec2;
1839 UNSUPPORTED("1fnwnz6zqrixdpfmd5wf4hbj"); // pair p;
1840 UNSUPPORTED("dmbfnx3582vhxsi4o65ruesyn"); // rawgraph* G = cp->G;
1841 UNSUPPORTED("7hb8fcc74usveupz7kgy2qol3"); // segment** segs = cp->seg_list;
1842 UNSUPPORTED("39nnkurg9t4qq74t5jz3zkjrl"); // for(i=0;i+1<cp->cnt;i++) {
1843 UNSUPPORTED("6a9jbb5aterxr0g0hiu2pyhld"); // for(j=i+1;j<cp->cnt;j++) {
1844 UNSUPPORTED("3dvaxn4ireem858ssmcsr58hn"); // if (!edge_exists(G,i,j) && !edge_exists(G,j,i)) {
1845 UNSUPPORTED("dpy9omkq97zyoo9w1inx3pbm9"); // if (is_parallel(segs[i], segs[j])) {
1846 UNSUPPORTED("6ig9p93cmed2v70a0npblnlxp"); // /* get_directions */
1847 UNSUPPORTED("amvy33u98h6r9qq7ugnuf2nlz"); // if(segs[i]->prev==0) {
1848 UNSUPPORTED("cc25alanei7n0arh5bqailcv4"); // if(segs[j]->prev==0)
1849 UNSUPPORTED("27dopm02s7e623flmf0oyucf6"); // dir = 0;
1850 UNSUPPORTED("cqgi8f4d37bqva8z6bx5rvn7w"); // else
1851 UNSUPPORTED("afmb9itetac5509pz0vzquffn"); // dir = 1;
1852 UNSUPPORTED("dkxvw03k2gg9anv4dbze06axd"); // }
1853 UNSUPPORTED("6tva5tknk59csaydjoaehlxqy"); // else if(segs[j]->prev==0) {
1854 UNSUPPORTED("bf3scu300t9b1jl5wrxkahki9"); // dir = 1;
1855 UNSUPPORTED("dkxvw03k2gg9anv4dbze06axd"); // }
1856 UNSUPPORTED("cphaexi33y32dnefwtu3jsom4"); // else {
1857 UNSUPPORTED("ay1tigliz8fu739c3s4lnp4c8"); // if(segs[i]->prev->comm_coord==segs[j]->prev->comm_coord)
1858 UNSUPPORTED("27dopm02s7e623flmf0oyucf6"); // dir = 0;
1859 UNSUPPORTED("cqgi8f4d37bqva8z6bx5rvn7w"); // else
1860 UNSUPPORTED("afmb9itetac5509pz0vzquffn"); // dir = 1;
1861 UNSUPPORTED("dkxvw03k2gg9anv4dbze06axd"); // }
1862 UNSUPPORTED("2h9ts7wzrya1rr66lklhh0rda"); // p = decide_point(segs[i], segs[j], 0, dir);
1863 UNSUPPORTED("y15vvy2yhgh75hmjibm6d0tv"); // hops.a = p.a;
1864 UNSUPPORTED("6y60dh26moscelbp5xfex7fy7"); // prec1 = p.b;
1865 UNSUPPORTED("1fwna4qrlam89qjgrsjnzwkuc"); // p = decide_point(segs[i], segs[j], 1, 1-dir);
1866 UNSUPPORTED("7ck6vr1ic310ui6v7y8lcpwbh"); // hops.b = p.a;
1867 UNSUPPORTED("564q1rsht56yza954y2x1jtm"); // prec2 = p.b;
1868 UNSUPPORTED("dtcs9mr4kwcta690gbrwlt910"); // switch(prec1) {
1869 UNSUPPORTED("7xhopigym72b3wkri4tfjy1dy"); // case -1 :
1870 UNSUPPORTED("enqa6da4597ij1v8v5x3f251q"); // set_parallel_edges (segs[j], segs[i], dir, 0, hops.a, mp);
1871 UNSUPPORTED("6diyb5ikl44b7ym0eennr0yq6"); // set_parallel_edges (segs[j], segs[i], 1-dir, 1, hops.b, mp);
1872 UNSUPPORTED("5r2jji4zmdfrbfwx99e4tv69i"); // if(prec2==1)
1873 UNSUPPORTED("8x6usd0clpqn19g8onqqgzjn4"); // removeEdge (segs[i], segs[j], 1-dir, mp);
1874 UNSUPPORTED("a5064jph9xpw67dcun2my4mcm"); // break;
1875 UNSUPPORTED("22xfu28lqt3r284k47pbuy7cz"); // case 0 :
1876 UNSUPPORTED("4dfzzbp1vuxk64hoh65xa34yc"); // switch(prec2) {
1877 UNSUPPORTED("4gsejoo0eevrt7un6e6qn989l"); // case -1:
1878 UNSUPPORTED("emhqawmwj90tfh02qk8r1pk0v"); // set_parallel_edges (segs[j], segs[i], dir, 0, hops.a, mp);
1879 UNSUPPORTED("9n3o6zltbzimqd4msu9ngqtyd"); // set_parallel_edges (segs[j], segs[i], 1-dir, 1, hops.b, mp);
1880 UNSUPPORTED("a4shncx2bmdaa04gvja9v2blz"); // break;
1881 UNSUPPORTED("9bar4olfqd3r7389ggqw5djvq"); // case 0 :
1882 UNSUPPORTED("2s64t77sytwec1d6n2jbf74wc"); // set_parallel_edges (segs[i], segs[j], 0, dir, hops.a, mp);
1883 UNSUPPORTED("6r0468haso97c6g4zkdfg9kt2"); // set_parallel_edges (segs[i], segs[j], 1, 1-dir, hops.b, mp);
1884 UNSUPPORTED("a4shncx2bmdaa04gvja9v2blz"); // break;
1885 UNSUPPORTED("4yd30eh9icuxnqotseihb7l4w"); // case 1:
1886 UNSUPPORTED("2s64t77sytwec1d6n2jbf74wc"); // set_parallel_edges (segs[i], segs[j], 0, dir, hops.a, mp);
1887 UNSUPPORTED("6r0468haso97c6g4zkdfg9kt2"); // set_parallel_edges (segs[i], segs[j], 1, 1-dir, hops.b, mp);
1888 UNSUPPORTED("a4shncx2bmdaa04gvja9v2blz"); // break;
1889 UNSUPPORTED("3to5h0rvqxdeqs38mhv47mm3o"); // }
1890 UNSUPPORTED("a5064jph9xpw67dcun2my4mcm"); // break;
1891 UNSUPPORTED("7725wrsrh4ancb1bh89l3x12r"); // case 1 :
1892 UNSUPPORTED("3ubmnbt9kypi1ptpye7w37vkl"); // set_parallel_edges (segs[i], segs[j], 0, dir, hops.a, mp);
1893 UNSUPPORTED("4s97q82e6wclxf2y8jhzfh14k"); // set_parallel_edges (segs[i], segs[j], 1, 1-dir, hops.b, mp);
1894 UNSUPPORTED("5zh7u5zg9v4zshpcfsj3brwfk"); // if(prec2==-1)
1895 UNSUPPORTED("8x6usd0clpqn19g8onqqgzjn4"); // removeEdge (segs[i], segs[j], 1-dir, mp);
1896 UNSUPPORTED("a5064jph9xpw67dcun2my4mcm"); // break;
1897 UNSUPPORTED("dkxvw03k2gg9anv4dbze06axd"); // }
1898 UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
1899 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
1900 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1901 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1902 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1903
1904 throw new UnsupportedOperationException();
1905 }
1906
1907
1908
1909
1910 //3 98d1c54yaxchy0ms0e99lst7s
1911 // static void add_p_edges (Dt_t* chans, maze* mp)
1912 public static Object add_p_edges(Object... arg) {
1913 UNSUPPORTED("59dl3yc4jbcy2pb7j1njhlybi"); // static void
1914 UNSUPPORTED("5ebboq5zrhtd0rfaeawkl5s2f"); // add_p_edges (Dt_t* chans, maze* mp)
1915 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1916 UNSUPPORTED("a4p8766eh6ra21i7u5o9nf6rm"); // Dt_t* lp;
1917 UNSUPPORTED("1mqjeo37v4tmo6kht0rep1tht"); // Dtlink_t* l1;
1918 UNSUPPORTED("eiqtkkndttzmunuxtnm99mkpy"); // Dtlink_t* l2;
1919 UNSUPPORTED("cp4kv1fg74up3ubek2qyx8d25"); // for (l1 = dtflatten (chans); l1; l1 = (((Dtlink_t*)(l1))->right)) {
1920 UNSUPPORTED("950o75hi1nj794oxa101pt5t0"); // lp = ((chanItem*)l1)->chans;
1921 UNSUPPORTED("71dqer4eeiqshvsh6rbj0kis5"); // for (l2 = dtflatten (lp); l2; l2 = (((Dtlink_t*)(l2))->right)) {
1922 UNSUPPORTED("di14tjuua1p9n96grrfboue6o"); // addPEdges ((channel*)l2, mp);
1923 UNSUPPORTED("9pqd0punhe3g1up9qd8xxo652"); // }
1924 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1925 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1926
1927 throw new UnsupportedOperationException();
1928 }
1929
1930
1931
1932
1933 //3 bxsh28469kd6r9fen9l7v8f2w
1934 // static void assignTracks (int nrtes, route* route_list, maze* mp)
1935 public static Object assignTracks(Object... arg) {
1936 UNSUPPORTED("e2z2o5ybnr5tgpkt8ty7hwan1"); // static void
1937 UNSUPPORTED("e80kmdu0n8gwftxrcchppqznf"); // assignTracks (int nrtes, route* route_list, maze* mp)
1938 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1939 UNSUPPORTED("26qmbe7syf8caazopicbw1o73"); // /* Create the graphs for each channel */
1940 UNSUPPORTED("5kswlmxeu7z6znausks9omj52"); // create_graphs(mp->hchans);
1941 UNSUPPORTED("1qo05yt4o0eiyn1axxxfiecee"); // create_graphs(mp->vchans);
1942 UNSUPPORTED("9k9f44tgb14d6rvcxauyk4kg3"); // /* add edges between non-parallel segments */
1943 UNSUPPORTED("2bpipgzzkyey9l1jwcx2ytvc0"); // add_np_edges(mp->hchans);
1944 UNSUPPORTED("7fju2e1xyweu6benhq0akolab"); // add_np_edges(mp->vchans);
1945 UNSUPPORTED("a2akrqgy2t88akl274eg0somv"); // /* add edges between parallel segments + remove appropriate edges */
1946 UNSUPPORTED("5zdimrk15jv0lju7twpsqz29m"); // add_p_edges(mp->hchans, mp);
1947 UNSUPPORTED("9bqggms2mbxxvkbh0u4jidv0l"); // add_p_edges(mp->vchans, mp);
1948 UNSUPPORTED("9envbpdpd498dstkls2pqtswo"); // /* Assign the tracks after a top sort */
1949 UNSUPPORTED("10z0c5n6u2v6o7td59aig5lfd"); // assignTrackNo (mp->hchans);
1950 UNSUPPORTED("t8kw88xoabf7nbvqv8ds7www"); // assignTrackNo (mp->vchans);
1951 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1952
1953 throw new UnsupportedOperationException();
1954 }
1955
1956
1957
1958
1959 //3 udi38qq74cw0pvrqn6g1yle5
1960 // static double vtrack (segment* seg, maze* m)
1961 public static Object vtrack(Object... arg) {
1962 UNSUPPORTED("lt6cippjix5bbvyhkcpl8g7g"); // static double
1963 UNSUPPORTED("19x5ivyvkfhintu5d2rpflcvo"); // vtrack (segment* seg, maze* m)
1964 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1965 UNSUPPORTED("1xvv17gm5rfjinvy3gmnsc2ke"); // channel* chp = chanSearch(m->vchans, seg);
1966 UNSUPPORTED("76k3vszrhcky681kek2r7d5h9"); // double f = ((double)seg->track_no)/(chp->cnt+1);
1967 UNSUPPORTED("2ug8vx71z1uw4iw38ehgqdc7g"); // double left = chp->cp->bb.LL.x;
1968 UNSUPPORTED("f2ozrx5u8liyshw7972fqzlry"); // double right = chp->cp->bb.UR.x;
1969 UNSUPPORTED("2gju483ltduiu0c964t9ir9wa"); // return left + f*(right-left);
1970 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1971
1972 throw new UnsupportedOperationException();
1973 }
1974
1975
1976
1977
1978 //3 3cqaxjb6pietkwiyugn6h26kd
1979 // static int htrack (segment* seg, maze* m)
1980 public static Object htrack(Object... arg) {
1981 UNSUPPORTED("eyp5xkiyummcoc88ul2b6tkeg"); // static int
1982 UNSUPPORTED("a2hs7lm69vuj9mt0513f8z4oz"); // htrack (segment* seg, maze* m)
1983 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1984 UNSUPPORTED("40ntn3e9uwr1zuuu2sbtdsa6w"); // channel* chp = chanSearch(m->hchans, seg);
1985 UNSUPPORTED("erszzli51plsbzcgsn48c0180"); // double f = 1.0 - ((double)seg->track_no)/(chp->cnt+1);
1986 UNSUPPORTED("4i67gabp0r3u9scclorhs3ktm"); // double lo = chp->cp->bb.LL.y;
1987 UNSUPPORTED("4p8tiujx3t2fm7is5dxnoqxhe"); // double hi = chp->cp->bb.UR.y;
1988 UNSUPPORTED("83od9je177vrwp4ps0kbd4szw"); // return lo + f*(hi-lo);
1989 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1990
1991 throw new UnsupportedOperationException();
1992 }
1993
1994
1995
1996
1997 //3 83e5ejcqta67f2p2asgbtfaoi
1998 // static pointf addPoints(pointf p0, pointf p1)
1999 public static Object addPoints(Object... arg) {
2000 UNSUPPORTED("2zzd7mrm2u540dwuyzehozffj"); // static pointf
2001 UNSUPPORTED("682qkd4mibtnxpxyv5orrsjtx"); // addPoints(pointf p0, pointf p1)
2002 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
2003 UNSUPPORTED("f5hox117bxx1r58lcs3udisoe"); // p0.x += p1.x;
2004 UNSUPPORTED("ujsxixrtu1t8f32elbvw8dwa"); // p0.y += p1.y;
2005 UNSUPPORTED("3eojsvh2rm970fcai0twfpvnl"); // return p0;
2006 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
2007
2008 throw new UnsupportedOperationException();
2009 }
2010
2011
2012
2013
2014 //3 a0iuxsb2zu9l7k8a3v4ixv00e
2015 // static void attachOrthoEdges (Agraph_t* g, maze* mp, int n_edges, route* route_list, splineInfo *sinfo, epair_t es[], int doLbls)
2016 public static Object attachOrthoEdges(Object... arg) {
2017 UNSUPPORTED("e2z2o5ybnr5tgpkt8ty7hwan1"); // static void
2018 UNSUPPORTED("cspgusupjxy5utjicgxrmrq7w"); // attachOrthoEdges (Agraph_t* g, maze* mp, int n_edges, route* route_list, splineInfo *sinfo, epair_t es[], int doLbls)
2019 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
2020 UNSUPPORTED("bzsk5t9x5gtbz8fnomb2f9s4v"); // int irte = 0;
2021 UNSUPPORTED("9guu55302lj09t48j16nqyxbq"); // int i, ipt, npts;
2022 UNSUPPORTED("5b40dnpfc88et1cia7fuj40yb"); // pointf* ispline = 0;
2023 UNSUPPORTED("dprplco8u5mu9i11jo6go6bcy"); // int splsz = 0;
2024 UNSUPPORTED("2asgcu0nywvhoazecb6ofcubs"); // pointf p, p1, q1;
2025 UNSUPPORTED("76tjoqkn7jsh2pn0trcuu3nvs"); // route rte;
2026 UNSUPPORTED("9ixgpcejsl25oetqsy1ewnfnu"); // segment* seg;
2027 UNSUPPORTED("6yramhpyls8c6kexupyqip8oq"); // Agedge_t* e;
2028 UNSUPPORTED("ef044lvbrsjiucn4ouhr6x2qb"); // textlabel_t* lbl;
2029 UNSUPPORTED("77xmhk7dbpg0c00j8666pclyi"); // for (; irte < n_edges; irte++) {
2030 UNSUPPORTED("bv52iygkt2gg4gzoyp4c9wk6b"); // e = es[irte].e;
2031 UNSUPPORTED("ay9p5i1iubyhzon5z6a3jrw9n"); // p1 = addPoints(ND_coord(agtail(e)), ED_tail_port(e).p);
2032 UNSUPPORTED("4z87m5xmyxfqf4gbe4pskna9n"); // q1 = addPoints(ND_coord(aghead(e)), ED_head_port(e).p);
2033 UNSUPPORTED("8wciy7quxxigt8dwxr9ctgk2d"); // rte = route_list[irte];
2034 UNSUPPORTED("6ed9g47vzboko6g0h5y17e1ou"); // npts = 1 + 3*rte.n;
2035 UNSUPPORTED("efs0cd713nnm7zxrgb0l11wz"); // if (npts > splsz) {
2036 UNSUPPORTED("5d7b0ws1zxf4b536zojp5j1gy"); // if (ispline) free (ispline);
2037 UNSUPPORTED("dqxwk098ekx7gst5gdhr310bc"); // ispline = (pointf*)gmalloc((npts)*sizeof(pointf));
2038 UNSUPPORTED("e4i1tff7gmkjg8kevj7hw8gs1"); // splsz = npts;
2039 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
2040 UNSUPPORTED("1ry9c35mgaxl2ivjx1h2v5cr0"); // seg = rte.segs;
2041 UNSUPPORTED("6pz2d4cdoe2l7351iysy6x98p"); // if (seg->isVert) {
2042 UNSUPPORTED("91n0eh3r7wj0n97kdj9ld31kj"); // p.x = vtrack(seg, mp);
2043 UNSUPPORTED("45fe06ci8qec4u7eii52becqh"); // p.y = p1.y;
2044 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
2045 UNSUPPORTED("8k75h069sv2k9b6tgz77dscwd"); // else {
2046 UNSUPPORTED("9t5iimum2tu1jo5tlcx6m7fhq"); // p.y = htrack(seg, mp);
2047 UNSUPPORTED("8je4vuu6jnq5fu4znanftosq8"); // p.x = p1.x;
2048 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
2049 UNSUPPORTED("76sz3tzo9psbgiwiel6nlkhyd"); // ispline[0] = ispline[1] = p;
2050 UNSUPPORTED("2xvzqz1y0roznr4j0qz8gdn97"); // ipt = 2;
2051 UNSUPPORTED("ehl4i682tsgw4ev386bxd9bvk"); // for (i = 1;i<rte.n;i++) {
2052 UNSUPPORTED("dqq6tgen8yf0v8lzn6zc3vwpi"); // seg = rte.segs+i;
2053 UNSUPPORTED("oscgdxl7tuvnm27y3ajyf90a"); // if (seg->isVert)
2054 UNSUPPORTED("5ordk0g9tt85vst6tn9y7yw5e"); // p.x = vtrack(seg, mp);
2055 UNSUPPORTED("7e1uy5mzei37p66t8jp01r3mk"); // else
2056 UNSUPPORTED("2e3jl8piax6scxsrx2jl4mn0m"); // p.y = htrack(seg, mp);
2057 UNSUPPORTED("5zlu7lc3edxwcalx4u2toh91o"); // ispline[ipt+2] = ispline[ipt+1] = ispline[ipt] = p;
2058 UNSUPPORTED("1h4km88eju8ubv62x2a9mwdzm"); // ipt += 3;
2059 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
2060 UNSUPPORTED("6pz2d4cdoe2l7351iysy6x98p"); // if (seg->isVert) {
2061 UNSUPPORTED("91n0eh3r7wj0n97kdj9ld31kj"); // p.x = vtrack(seg, mp);
2062 UNSUPPORTED("obj8bne89a63k09t0vg3ksax"); // p.y = q1.y;
2063 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
2064 UNSUPPORTED("8k75h069sv2k9b6tgz77dscwd"); // else {
2065 UNSUPPORTED("9t5iimum2tu1jo5tlcx6m7fhq"); // p.y = htrack(seg, mp);
2066 UNSUPPORTED("cwlvttt636ou35je24a6zn8fw"); // p.x = q1.x;
2067 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
2068 UNSUPPORTED("6883d1dn4elcixp0dy2yzu4ck"); // ispline[ipt] = ispline[ipt+1] = p;
2069 UNSUPPORTED("e7wcbocwpb0ubwm19n3qdsfdu"); // if (Verbose > 1)
2070 UNSUPPORTED("6243buyivvpmixvapfka7f2n3"); // fprintf(stderr, "ortho %s %s\n", agnameof(agtail(e)),agnameof(aghead(e)));
2071 UNSUPPORTED("aiznf16jsmgfywhbln59n8weh"); // clip_and_install(e, aghead(e), ispline, npts, sinfo);
2072 UNSUPPORTED("5odapjhwjcy61acm5m79qw8fs"); // if (doLbls && (lbl = ED_label(e)) && !lbl->set)
2073 UNSUPPORTED("2bpsdc28nv5l876oe7rqtanlx"); // addEdgeLabels(g, e, p1, q1);
2074 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2075 UNSUPPORTED("c0bfcb8svwdkq95cokqra1pi2"); // free(ispline);
2076 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
2077
2078 throw new UnsupportedOperationException();
2079 }
2080
2081
2082
2083
2084 //3 e71zkztxzapvl1mgiq8p5gzzs
2085 // static int edgeLen (Agedge_t* e)
2086 public static Object edgeLen(Object... arg) {
2087 UNSUPPORTED("eyp5xkiyummcoc88ul2b6tkeg"); // static int
2088 UNSUPPORTED("4eh66xikxzh6l4lhjcmvtv8cn"); // edgeLen (Agedge_t* e)
2089 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
2090 UNSUPPORTED("1vcqzavbye1orax38cfndljrr"); // pointf p = ND_coord(agtail(e));
2091 UNSUPPORTED("d1qthvuzf3w3d5qujx199xm23"); // pointf q = ND_coord(aghead(e));
2092 UNSUPPORTED("7b42di3iyhbsuhhw6yaw6539m"); // return (int)DIST2(p,q);
2093 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
2094
2095 throw new UnsupportedOperationException();
2096 }
2097
2098
2099
2100
2101 //3 7afj2qnluiytxt8hvcnhreb2
2102 // static int edgecmp(epair_t* e0, epair_t* e1)
2103 public static Object edgecmp(Object... arg) {
2104 UNSUPPORTED("4biy4n19ul16vp6vcv9xmui1i"); // static int edgecmp(epair_t* e0, epair_t* e1)
2105 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
2106 UNSUPPORTED("dlcw570tkt0usu32yvwm8cd3q"); // return (e0->d - e1->d);
2107 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
2108
2109 throw new UnsupportedOperationException();
2110 }
2111
2112
2113
2114
2115 //3 v4bpabyggw2gk3qw5qiapig9
2116 // static boolean spline_merge(node_t * n)
2117 public static Object spline_merge(Object... arg) {
2118 UNSUPPORTED("676qpx3n8ouo1wjyumn6zmyxp"); // static boolean spline_merge(node_t * n)
2119 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
2120 UNSUPPORTED("5oxhd3fvp0gfmrmz12vndnjt"); // return 0;
2121 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
2122
2123 throw new UnsupportedOperationException();
2124 }
2125
2126
2127
2128
2129 //3 90yjqn8lf9ig968uma0q5sh34
2130 // static boolean swap_ends_p(edge_t * e)
2131 public static Object swap_ends_p(Object... arg) {
2132 UNSUPPORTED("3fjj0uj2p25pitmluszw94p02"); // static boolean swap_ends_p(edge_t * e)
2133 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
2134 UNSUPPORTED("5oxhd3fvp0gfmrmz12vndnjt"); // return 0;
2135 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
2136
2137 throw new UnsupportedOperationException();
2138 }
2139
2140
2141 //1 9nmy74adtwr7rthq8xzoptzrf
2142 // static splineInfo sinfo =
2143
2144
2145
2146
2147 //3 9rb5k3o906weqm31n2i8lv5so
2148 // void orthoEdges (Agraph_t* g, int doLbls)
2149 public static Object orthoEdges(Object... arg) {
2150 UNSUPPORTED("c01vxogao855zs8fe94tpim9g"); // void
2151 UNSUPPORTED("9ttq9irkfbqsx0q7wcnetzy74"); // orthoEdges (Agraph_t* g, int doLbls)
2152 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
2153 UNSUPPORTED("2omyui5qg1nq6by9uehikdjsy"); // sgraph* sg;
2154 UNSUPPORTED("7cg9ke1jhysixb020x5an69jv"); // maze* mp;
2155 UNSUPPORTED("cu6yxi1acnq5g0btge7zjdkm0"); // int n_edges;
2156 UNSUPPORTED("9ro0xuxbh1xd61xqzcaaadikl"); // route* route_list;
2157 UNSUPPORTED("bl7f59ax29638dd6kka6eopr"); // int i, gstart;
2158 UNSUPPORTED("ci2zh69w6nhi0q816i1ixuy9k"); // Agnode_t* n;
2159 UNSUPPORTED("6yramhpyls8c6kexupyqip8oq"); // Agedge_t* e;
2160 UNSUPPORTED("7kt5z7l3gj30fc2g11brz7hn3"); // snode* sn;
2161 UNSUPPORTED("4lm0qpz2knefonz0ik550n9qi"); // snode* dn;
2162 UNSUPPORTED("f0kzqokjxzhga3oyrmev903hw"); // epair_t* es = (epair_t*)gmalloc((agnedges(g))*sizeof(epair_t));
2163 UNSUPPORTED("ih7y3b036cc7gqpd8tqtpr9q"); // cell* start;
2164 UNSUPPORTED("1jv0h6v7ggk7dfm6oqzs4u3lj"); // cell* dest;
2165 UNSUPPORTED("4vt2v1dwhho9ajlyh6nnd1d8h"); // PointSet* ps;
2166 UNSUPPORTED("ef044lvbrsjiucn4ouhr6x2qb"); // textlabel_t* lbl;
2167 UNSUPPORTED("e800kdbiqq8i4me0u6fwkd370"); // if (Concentrate)
2168 UNSUPPORTED("7r91fjc8u70111hbxlvqd7ktw"); // ps = newPS();
2169 UNSUPPORTED("6ld19omy1z68vprfzbhrjqr2z"); // {
2170 UNSUPPORTED("9wn8pvvih4vrawe5alvfhm9yn"); // char* s = agget(g, "odb");
2171 UNSUPPORTED("b8c7bwegidsegu11m5xttb11j"); // char c;
2172 UNSUPPORTED("1jro8v0ct38i7wcl91bk3ic3e"); // odb_flags = 0;
2173 UNSUPPORTED("3jmzbbt2cpizqt2dufx87w3al"); // if (s && (*s != '\0')) {
2174 UNSUPPORTED("7ns3g2gy7v368e78t92w9xfwe"); // while ((c = *s++)) {
2175 UNSUPPORTED("2mo7busikqaj4ukkdtf5zm8ik"); // switch (c) {
2176 UNSUPPORTED("ahx4iaogjvo14pciwab02xzsk"); // case 'c' :
2177 UNSUPPORTED("eai7hbieqphsrvjgzprem79fi"); // odb_flags |= 8; // emit channel graph
2178 UNSUPPORTED("czyohktf9bkx4udfqhx42f4lu"); // break;
2179 UNSUPPORTED("3dcblef3ry3y3dukenp1w4dfg"); // case 'i' :
2180 UNSUPPORTED("8f1c36fjkua8s8jgm0zigqvgv"); // odb_flags |= (2|16); // emit search graphs
2181 UNSUPPORTED("czyohktf9bkx4udfqhx42f4lu"); // break;
2182 UNSUPPORTED("a5nt85f0rq0jcipae19734270"); // case 'm' :
2183 UNSUPPORTED("6jh77aqljluu3rx42j6uz2wog"); // odb_flags |= 1; // emit maze
2184 UNSUPPORTED("czyohktf9bkx4udfqhx42f4lu"); // break;
2185 UNSUPPORTED("ci305ii9fygih5qjkc9cb43gn"); // case 'r' :
2186 UNSUPPORTED("db7u5t19gdpwvuygsvb2vjc3d"); // odb_flags |= 4; // emit routes in maze
2187 UNSUPPORTED("czyohktf9bkx4udfqhx42f4lu"); // break;
2188 UNSUPPORTED("bt1b5biu9zb9zccgj0cr658xz"); // case 's' :
2189 UNSUPPORTED("3uqs3qb95942pbzmg53uqc42a"); // odb_flags |= 2; // emit search graph
2190 UNSUPPORTED("czyohktf9bkx4udfqhx42f4lu"); // break;
2191 UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
2192 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
2193 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
2194 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2195 UNSUPPORTED("71u00vuawtzqg4gz0lsai1m4a"); // if (doLbls) {
2196 UNSUPPORTED("10xzs4g55w92883ej7ty5glms"); // agerr(AGWARN, "Orthogonal edges do not currently handle edge labels. Try using xlabels.\n");
2197 UNSUPPORTED("ditf90dyqp9mua87s8pumvi32"); // doLbls = 0;
2198 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2199 UNSUPPORTED("etv0iiw2ala4rlayc040wzggy"); // mp = mkMaze (g, doLbls);
2200 UNSUPPORTED("4mmgpe06gcmxv31p3y6ipyf5s"); // sg = mp->sg;
2201 UNSUPPORTED("emjkv8wxfnbb355266hsa90ni"); // if (odb_flags & 2) emitSearchGraph (stderr, sg);
2202 UNSUPPORTED("6kfj8qzl4paerer9gefcgsf7h"); // /* store edges to be routed in es, along with their lengths */
2203 UNSUPPORTED("c8047kmsz3vp9lv0w3cw7yas8"); // n_edges = 0;
2204 UNSUPPORTED("ef1ej9licmntta3ibshtov76v"); // for (n = agfstnode (g); n; n = agnxtnode(g, n)) {
2205 UNSUPPORTED("bojcrt9w5b2e0csoijdzfkvq9"); // for (e = agfstout(g, n); e; e = agnxtout(g,e)) {
2206 UNSUPPORTED("2xpa4q3kqyqhcc2z6j7asagqt"); // if ((Nop == 2) && ED_spl(e)) continue;
2207 UNSUPPORTED("41rwk0z8paqjc2mcm2a1byosa"); // if (Concentrate) {
2208 UNSUPPORTED("9luudm8wqdv4jx4s0ustrk6br"); // int ti = AGSEQ(agtail(e));
2209 UNSUPPORTED("c976iy0d8sqzcrczrfzsoevxv"); // int hi = AGSEQ(aghead(e));
2210 UNSUPPORTED("48wqpeunj9fn8sno227cy07cn"); // if (ti <= hi) {
2211 UNSUPPORTED("4xk5rpi8h5diyml5ko1c9pb4o"); // if (isInPS (ps,ti,hi)) continue;
2212 UNSUPPORTED("eufspanc57875qmod8zz8vvj"); // else addPS (ps,ti,hi);
2213 UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
2214 UNSUPPORTED("d28blrbmwwqp80cyksuz7dwx9"); // else {
2215 UNSUPPORTED("9g3uik8w4uis1skxgzm9wfjkr"); // if (isInPS (ps,hi,ti)) continue;
2216 UNSUPPORTED("ckw8orokucnmrq9rly0vp6483"); // else addPS (ps,hi,ti);
2217 UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
2218 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
2219 UNSUPPORTED("disvm7blt6qwq36jp0pcx05p8"); // es[n_edges].e = e;
2220 UNSUPPORTED("8treoc9xy0md6z4ggqb44auyg"); // es[n_edges].d = edgeLen (e);
2221 UNSUPPORTED("e9hecjb6c3qp2o2tya683ai62"); // n_edges++;
2222 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
2223 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2224 UNSUPPORTED("191cpw36uzdm3gqmxfphm1xbu"); // route_list = (route*)zmalloc((n_edges)*sizeof(route));
2225 UNSUPPORTED("2gq02agovwtyskbeh5vefmslh"); // qsort((char *)es, n_edges, sizeof(epair_t), (qsort_cmpf) edgecmp);
2226 UNSUPPORTED("brl796jea4mql81k1b7ershdc"); // gstart = sg->nnodes;
2227 UNSUPPORTED("cs9x91hl58n3ub79e9ugvdn4x"); // PQgen (sg->nnodes+2);
2228 UNSUPPORTED("5d43q0fg31x5nwtqm0ata3zjz"); // sn = &sg->nodes[gstart];
2229 UNSUPPORTED("66qkjbw0jrnak7d2s42h0jg70"); // dn = &sg->nodes[gstart+1];
2230 UNSUPPORTED("6gdenpywxn3p3xidvp7z66cf1"); // for (i = 0; i < n_edges; i++) {
2231 UNSUPPORTED("49gwq06gbm2qhfpy2s6ar6gje"); // if ((i > 0) && (odb_flags & 16)) emitSearchGraph (stderr, sg);
2232 UNSUPPORTED("a80m8bfu7lu477kat2scc0z01"); // e = es[i].e;
2233 UNSUPPORTED("cod1w9an9gcxijan671a4atdt"); // start = ((cell*)ND_alg(agtail(e)));
2234 UNSUPPORTED("emi0a8wy2fz98d3tyq50nu13j"); // dest = ((cell*)ND_alg(aghead(e)));
2235 UNSUPPORTED("3n4xox18pqitgomsjx10rjonm"); // if (doLbls && (lbl = ED_label(e)) && lbl->set) {
2236 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
2237 UNSUPPORTED("8k75h069sv2k9b6tgz77dscwd"); // else {
2238 UNSUPPORTED("596hk3sqi3zgv5ypngx0bx7mq"); // if (start == dest)
2239 UNSUPPORTED("d0zcyw4sme2i3mtmhe3hlbrmc"); // addLoop (sg, start, dn, sn);
2240 UNSUPPORTED("6q044im7742qhglc4553noina"); // else {
2241 UNSUPPORTED("3uirdblzfj10bp724w2p35bup"); // addNodeEdges (sg, dest, dn);
2242 UNSUPPORTED("52k51th88uehvgef7fd4gfbu6"); // addNodeEdges (sg, start, sn);
2243 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
2244 UNSUPPORTED("dd3ztkz69q7dffhj4ihaizk6s"); // if (shortPath (sg, dn, sn)) goto orthofinish;
2245 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
2246 UNSUPPORTED("nl2nzce1mtx118xuy1w9uq6v"); // route_list[i] = convertSPtoRoute(sg, sn, dn);
2247 UNSUPPORTED("bt25p7tmlvva5imw8gh97toy4"); // reset (sg);
2248 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2249 UNSUPPORTED("9br7yf8ixw2vq0ih496kr0a3p"); // PQfree ();
2250 UNSUPPORTED("1h1p1wlchwso3mavejmc8cyxv"); // mp->hchans = extractHChans (mp);
2251 UNSUPPORTED("dbw3nbw93ongdgdhdtscvuxb8"); // mp->vchans = extractVChans (mp);
2252 UNSUPPORTED("9r77bxpkuu3nsxa0nttqjh0hl"); // assignSegs (n_edges, route_list, mp);
2253 UNSUPPORTED("bbjzso9cox08g0ax9rs132q90"); // if (setjmp(jbuf))
2254 UNSUPPORTED("uycdh1qmy4ty2pb0zgz2v78a"); // goto orthofinish;
2255 UNSUPPORTED("41rz8iqv9lm60deshcar8hjxa"); // assignTracks (n_edges, route_list, mp);
2256 UNSUPPORTED("as0ctk4holgq03a3hl4doch8d"); // if (odb_flags & 4) emitGraph (stderr, mp, n_edges, route_list, es);
2257 UNSUPPORTED("c1p0r114sfd1lvyamywzbro10"); // attachOrthoEdges (g, mp, n_edges, route_list, &sinfo, es, doLbls);
2258 UNSUPPORTED("7e5qeaxbygknkdgnv53oq2u1e"); // orthofinish:
2259 UNSUPPORTED("2o1inibord55o8k32yn7kfrwl"); // if (Concentrate)
2260 UNSUPPORTED("ghiimsk3vbhjzh67h8pwbk95"); // freePS (ps);
2261 UNSUPPORTED("an57w0rx9dpimg8nf764q8n97"); // for (i=0; i < n_edges; i++)
2262 UNSUPPORTED("3fz1dnh6u4wislz0u5bxb5ugh"); // free (route_list[i].segs);
2263 UNSUPPORTED("570o41p0l7jgclg83j647v910"); // free (route_list);
2264 UNSUPPORTED("3pnwqn95p3wz9ni8ys8j0u5hv"); // freeMaze (mp);
2265 UNSUPPORTED("d507lsxnfvq57ccke7bica6zl"); // free (es);
2266 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
2267
2268 throw new UnsupportedOperationException();
2269 }
2270
2271
2272 //1 d9p47q2g7x3b0asfu3jvceq3l
2273 // static char* prolog2 =
2274
2275
2276 //1 475m5xvb3loybtd1l2z8rftoq
2277 // static char* epilog2 =
2278
2279
2280
2281
2282 //3 dx1s3vj94skvk7pmrz4s875l9
2283 // static point coordOf (cell* cp, snode* np)
2284 public static Object coordOf(Object... arg) {
2285 UNSUPPORTED("5ji3k3tukj2uxmd2ympfpwtml"); // static point
2286 UNSUPPORTED("dd9sjhv4zfl34767d8g79k27"); // coordOf (cell* cp, snode* np)
2287 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
2288 UNSUPPORTED("41nrdsugvfgw23s93g0dhizkn"); // point p;
2289 UNSUPPORTED("703pcgiucdy0i6g6mphde8dno"); // if (cp->sides[M_TOP] == np) {
2290 UNSUPPORTED("68easn97lilb2aqdb8frrsss1"); // p.x = (cp->bb.LL.x + cp->bb.UR.x)/2;
2291 UNSUPPORTED("6aab1cx7aql0barme21mg8zqj"); // p.y = cp->bb.UR.y;
2292 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2293 UNSUPPORTED("835f42b2b380czfp1110k8i9k"); // else if (cp->sides[M_BOTTOM] == np) {
2294 UNSUPPORTED("68easn97lilb2aqdb8frrsss1"); // p.x = (cp->bb.LL.x + cp->bb.UR.x)/2;
2295 UNSUPPORTED("2hak744886lhw45wamafgo56x"); // p.y = cp->bb.LL.y;
2296 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2297 UNSUPPORTED("5ik2pzxq0pwcq7l7og6ti9ee3"); // else if (cp->sides[M_LEFT] == np) {
2298 UNSUPPORTED("1t69shrxanujd9qd85gq4qeng"); // p.y = (cp->bb.LL.y + cp->bb.UR.y)/2;
2299 UNSUPPORTED("4k1o0atpyqo35gcbuse4az3rg"); // p.x = cp->bb.LL.x;
2300 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2301 UNSUPPORTED("4u9elo3yvf0zruskl3zjt2b2f"); // else if (cp->sides[M_RIGHT] == np) {
2302 UNSUPPORTED("1t69shrxanujd9qd85gq4qeng"); // p.y = (cp->bb.LL.y + cp->bb.UR.y)/2;
2303 UNSUPPORTED("ehaxid5d4p09fg8swm5oivbh9"); // p.x = cp->bb.UR.x;
2304 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2305 UNSUPPORTED("91xduilalb406jjyw2g1i07th"); // return p;
2306 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
2307
2308 throw new UnsupportedOperationException();
2309 }
2310
2311
2312
2313
2314 //3 88q5zadn0aehrwxgxwm2qrbrk
2315 // static boxf emitEdge (FILE* fp, Agedge_t* e, route rte, maze* m, int ix, boxf bb)
2316 public static Object emitEdge(Object... arg) {
2317 UNSUPPORTED("d5qt6s97burjfu5qe0oxyyrmr"); // static boxf
2318 UNSUPPORTED("dnxab88k0n0c2bl3z0wgvml6i"); // emitEdge (FILE* fp, Agedge_t* e, route rte, maze* m, int ix, boxf bb)
2319 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
2320 UNSUPPORTED("eusea1bk6jn8fd1b9chikta59"); // int i, x, y;
2321 UNSUPPORTED("orqp5l9owubc5xfs0c6zc4fu"); // boxf n = ((cell*)ND_alg(agtail(e)))->bb;
2322 UNSUPPORTED("bv14gu5qoc27okyaav2vdl3fi"); // segment* seg = rte.segs;
2323 UNSUPPORTED("9z20n0kimree8b0ala1dzcz3f"); // if (seg->isVert) {
2324 UNSUPPORTED("d35lpqdphvgn7a4elfttfttf5"); // x = vtrack(seg, m);
2325 UNSUPPORTED("7d8m8clw270qs6crbw28fvj90"); // y = (n.UR.y + n.LL.y)/2;
2326 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2327 UNSUPPORTED("1nyzbeonram6636b1w955bypn"); // else {
2328 UNSUPPORTED("cl661znjs3x3fj8d1y9cg24sj"); // y = htrack(seg, m);
2329 UNSUPPORTED("c1hxt4wou5pqdatrc4gw3y5yt"); // x = (n.UR.x + n.LL.x)/2;
2330 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2331 UNSUPPORTED("xhluynvutbzbfvcxx2cjyytz"); // bb.LL.x = MIN(bb.LL.x, 1*x);
2332 UNSUPPORTED("33wk87zqb5r4f23468khg93pg"); // bb.LL.y = MIN(bb.LL.y, 1*y);
2333 UNSUPPORTED("6mk0mwcxlhcgch8smmk49m01g"); // bb.UR.x = MAX(bb.UR.x, 1*x);
2334 UNSUPPORTED("4z54bwwdfw0evollgabbhoyfh"); // bb.UR.y = MAX(bb.UR.y, 1*y);
2335 UNSUPPORTED("bd57sg9ngr5l29b4xy3hasneh"); // fprintf (fp, "newpath %d %d moveto\n", 1*x, 1*y);
2336 UNSUPPORTED("rfx8uba9j7zxsbk2dfcyo2j8"); // for (i = 1;i<rte.n;i++) {
2337 UNSUPPORTED("90i6hsbw4ncxgqnor5ejql4qy"); // seg = rte.segs+i;
2338 UNSUPPORTED("6pz2d4cdoe2l7351iysy6x98p"); // if (seg->isVert) {
2339 UNSUPPORTED("1b5sxos9qcnmmvphnk5nns37s"); // x = vtrack(seg, m);
2340 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
2341 UNSUPPORTED("8k75h069sv2k9b6tgz77dscwd"); // else {
2342 UNSUPPORTED("19kkar9zhosg7ryut8il82rx7"); // y = htrack(seg, m);
2343 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
2344 UNSUPPORTED("2d7turuf2z2kzsjsi5ajmg6np"); // bb.LL.x = MIN(bb.LL.x, 1*x);
2345 UNSUPPORTED("c2qeisl94yrotinrfx39xxqo3"); // bb.LL.y = MIN(bb.LL.y, 1*y);
2346 UNSUPPORTED("2y9tfuxsj7noszyfrt0ahp2lk"); // bb.UR.x = MAX(bb.UR.x, 1*x);
2347 UNSUPPORTED("ckczjxes8uggdg6ltkg2gqw5x"); // bb.UR.y = MAX(bb.UR.y, 1*y);
2348 UNSUPPORTED("dwd2wbhfazyd038t2qn0hc7bv"); // fprintf (fp, "%d %d lineto\n", 1*x, 1*y);
2349 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2350 UNSUPPORTED("b0b65d8qp73v6bg7hjzivvqz9"); // n = ((cell*)ND_alg(aghead(e)))->bb;
2351 UNSUPPORTED("9z20n0kimree8b0ala1dzcz3f"); // if (seg->isVert) {
2352 UNSUPPORTED("d35lpqdphvgn7a4elfttfttf5"); // x = vtrack(seg, m);
2353 UNSUPPORTED("7d8m8clw270qs6crbw28fvj90"); // y = (n.UR.y + n.LL.y)/2;
2354 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2355 UNSUPPORTED("1nyzbeonram6636b1w955bypn"); // else {
2356 UNSUPPORTED("cl661znjs3x3fj8d1y9cg24sj"); // y = htrack(seg, m);
2357 UNSUPPORTED("d0efs14iyqyu5lops51368trn"); // x = (n.LL.x + n.UR.x)/2;
2358 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2359 UNSUPPORTED("xhluynvutbzbfvcxx2cjyytz"); // bb.LL.x = MIN(bb.LL.x, 1*x);
2360 UNSUPPORTED("33wk87zqb5r4f23468khg93pg"); // bb.LL.y = MIN(bb.LL.y, 1*y);
2361 UNSUPPORTED("6mk0mwcxlhcgch8smmk49m01g"); // bb.UR.x = MAX(bb.UR.x, 1*x);
2362 UNSUPPORTED("4z54bwwdfw0evollgabbhoyfh"); // bb.UR.y = MAX(bb.UR.y, 1*y);
2363 UNSUPPORTED("4lv2wvln641rjodmppi1ea8ow"); // fprintf (fp, "%d %d lineto stroke\n", 1*x, 1*y);
2364 UNSUPPORTED("5v5hh30squmit8o2i5hs25eig"); // return bb;
2365 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
2366
2367 throw new UnsupportedOperationException();
2368 }
2369
2370
2371
2372
2373 //3 26m9b9nmqeqz2egz17qjrsmi6
2374 // static void emitSearchGraph (FILE* fp, sgraph* sg)
2375 public static Object emitSearchGraph(Object... arg) {
2376 UNSUPPORTED("e2z2o5ybnr5tgpkt8ty7hwan1"); // static void
2377 UNSUPPORTED("3afa3kd81chzz47ecdq46zrer"); // emitSearchGraph (FILE* fp, sgraph* sg)
2378 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
2379 UNSUPPORTED("dyevh82lgyyzdp6weja1ovxir"); // cell* cp;
2380 UNSUPPORTED("bhhrlzv5tqbx6ctv8b8hya7ll"); // snode* np;
2381 UNSUPPORTED("2360u3fv51vz7azzvwtpxz8ys"); // sedge* ep;
2382 UNSUPPORTED("41nrdsugvfgw23s93g0dhizkn"); // point p;
2383 UNSUPPORTED("b17di9c7wgtqm51bvsyxz6e2f"); // int i;
2384 UNSUPPORTED("6gvhztp2b7m89nv2btikaiyz4"); // fputs ("graph G {\n", fp);
2385 UNSUPPORTED("bmtp7y0sxxjdh22j8p4pvgssu"); // fputs (" node[shape=point]\n", fp);
2386 UNSUPPORTED("89usm1dk3yo4ttycgh9mcqv0f"); // for (i = 0; i < sg->nnodes; i++) {
2387 UNSUPPORTED("3kjyiosnhbp02weff5w4htinu"); // np = sg->nodes+i;
2388 UNSUPPORTED("4k5we2dw3u45kv7a09gffw8tf"); // cp = np->cells[0];
2389 UNSUPPORTED("1kn01nkzc34bp86c9bvl7a74b"); // if (cp == np->cells[1]) {
2390 UNSUPPORTED("e78riujsgaj8ogp31bihqa6rr"); // pointf pf = midPt (cp);
2391 UNSUPPORTED("1hdg4vfvme7qnviehisvcj5jl"); // p.x = pf.x;
2392 UNSUPPORTED("7o9naunu16bztru6ho4g6yp5s"); // p.y = pf.y;
2393 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
2394 UNSUPPORTED("8k75h069sv2k9b6tgz77dscwd"); // else {
2395 UNSUPPORTED("7ks8s38h2f1xoqnd6vgdegepn"); // if ((cp->flags & 1)) cp = np->cells[1];
2396 UNSUPPORTED("995g67hltj0paxtxlkedyryh1"); // p = coordOf (cp, np);
2397 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
2398 UNSUPPORTED("7lalws1y1951xlz9ffakcbom8"); // fprintf (fp, " %d [pos=\"%d,%d\"]\n", i, p.x, p.y);
2399 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2400 UNSUPPORTED("2ktcncbuekdxpzstdfs5xnwyu"); // for (i = 0; i < sg->nedges; i++) {
2401 UNSUPPORTED("6hjfrnsaxev4hsgcyeka41z77"); // ep = sg->edges+i;
2402 UNSUPPORTED("a7b1ejc81bv3o5ahc8hoxa98u"); // fprintf (fp, " %d -- %d[len=\"%f\"]\n", ep->v1, ep->v2, ep->weight);
2403 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2404 UNSUPPORTED("69smfbpzurcjvgjvm90vhl35k"); // fputs ("}\n", fp);
2405 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
2406
2407 throw new UnsupportedOperationException();
2408 }
2409
2410
2411
2412
2413 //3 7qavznbkl6bvpmm9axulwfdbe
2414 // static void emitGraph (FILE* fp, maze* mp, int n_edges, route* route_list, epair_t es[])
2415 public static Object emitGraph(Object... arg) {
2416 UNSUPPORTED("e2z2o5ybnr5tgpkt8ty7hwan1"); // static void
2417 UNSUPPORTED("bkcsiggpetlvefiz01q93uej4"); // emitGraph (FILE* fp, maze* mp, int n_edges, route* route_list, epair_t es[])
2418 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
2419 UNSUPPORTED("b17di9c7wgtqm51bvsyxz6e2f"); // int i;
2420 UNSUPPORTED("7546bgor76e4n44ldtchty3d4"); // boxf bb, absbb;
2421 UNSUPPORTED("emg8ro778e56pul9iomm1odwo"); // box bbox;
2422 UNSUPPORTED("c1kybqd5l3qg3n9a305wjynks"); // absbb.LL.x = absbb.LL.y = MAXDOUBLE;
2423 UNSUPPORTED("8k7etzgpxlrl6uupdtjg0hodh"); // absbb.UR.x = absbb.UR.y = -MAXDOUBLE;
2424 UNSUPPORTED("118oh6o7l5ozdkayqepqyzeq1"); // fprintf (fp, "%s", prolog2);
2425 UNSUPPORTED("1m4pf51j8j5r5hwafqhf1gpxp"); // fprintf (fp, "%d %d translate\n", 10, 10);
2426 UNSUPPORTED("1l4k0raj069p4juux59nmeddm"); // fputs ("0 0 1 setrgbcolor\n", fp);
2427 UNSUPPORTED("eabxb5i0ddkbddnag9j34xjbc"); // for (i = 0; i < mp->ngcells; i++) {
2428 UNSUPPORTED("8we0nz55uqrc136qh9ei4wi1r"); // bb = mp->gcells[i].bb;
2429 UNSUPPORTED("eaawrfhkil1c35bbtxc96ifj7"); // fprintf (fp, "%f %f %f %f node\n", bb.LL.x, bb.LL.y, bb.UR.x, bb.UR.y);
2430 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2431 UNSUPPORTED("6gdenpywxn3p3xidvp7z66cf1"); // for (i = 0; i < n_edges; i++) {
2432 UNSUPPORTED("c0bzh5j9t4e77lu0tb21a67bz"); // absbb = emitEdge (fp, es[i].e, route_list[i], mp, i, absbb);
2433 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2434 UNSUPPORTED("86kkucwmapf5ozkph3236xcgb"); // fputs ("0.8 0.8 0.8 setrgbcolor\n", fp);
2435 UNSUPPORTED("cc6zk9wsty15bcay61nb68jos"); // for (i = 0; i < mp->ncells; i++) {
2436 UNSUPPORTED("323ihqshamlg2xo726pk3b3vj"); // bb = mp->cells[i].bb;
2437 UNSUPPORTED("e86ar5rrwd873yux3qqdkktes"); // fprintf (fp, "%f %f %f %f cell\n", bb.LL.x, bb.LL.y, bb.UR.x, bb.UR.y);
2438 UNSUPPORTED("1739n1u2wlfk0ha07u0i2kqns"); // absbb.LL.x = MIN(absbb.LL.x, bb.LL.x);
2439 UNSUPPORTED("2k0qxt9afi97ol188k2rxoiot"); // absbb.LL.y = MIN(absbb.LL.y, bb.LL.y);
2440 UNSUPPORTED("cgmau9yngryx709jc2th5sk7o"); // absbb.UR.x = MAX(absbb.UR.x, bb.UR.x);
2441 UNSUPPORTED("b08g38fj835q33y3jhlu4r7or"); // absbb.UR.y = MAX(absbb.UR.y, bb.UR.y);
2442 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
2443 UNSUPPORTED("66qdohztsd8obgtrz7n7aneyq"); // bbox.LL.x = absbb.LL.x + 10;
2444 UNSUPPORTED("eanpui2i9474f3m8ugpr9isad"); // bbox.LL.y = absbb.LL.y + 10;
2445 UNSUPPORTED("8azdlhxair6id14ox480nrq72"); // bbox.UR.x = absbb.UR.x + 10;
2446 UNSUPPORTED("3pbdldqi9gmkwgneq7kyfowun"); // bbox.UR.y = absbb.UR.y + 10;
2447 UNSUPPORTED("e2528fy8l69smovwey76qcix3"); // fprintf (fp, epilog2, bbox.LL.x, bbox.LL.y, bbox.UR.x, bbox.UR.y);
2448 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
2449
2450 throw new UnsupportedOperationException();
2451 }
2452
2453
2454 }