Debian Codegraph @

src/gen/lib/dotgen/acyclic__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.dotgen;
47 import static gen.lib.cgraph.edge__c.aghead;
48 import static gen.lib.cgraph.edge__c.agtail;
49 import static gen.lib.dotgen.fastgr__c.delete_fast_edge;
50 import static gen.lib.dotgen.fastgr__c.find_fast_edge;
51 import static gen.lib.dotgen.fastgr__c.merge_oneway;
52 import static gen.lib.dotgen.fastgr__c.virtual_edge;
53 import static smetana.core.JUtilsDebug.ENTERING;
54 import static smetana.core.JUtilsDebug.LEAVING;
55 import static smetana.core.Macro.GD_comp;
56 import static smetana.core.Macro.GD_nlist;
57 import static smetana.core.Macro.ND_mark;
58 import static smetana.core.Macro.ND_next;
59 import static smetana.core.Macro.ND_onstack;
60 import static smetana.core.Macro.ND_out;
61 import static smetana.core.Macro.UNSUPPORTED;
62 import h.ST_Agedge_s;
63 import h.ST_Agnode_s;
64 import h.ST_Agraph_s;
65 import h.ST_pointf;
66
67 public class acyclic__c {
68 //1 2digov3edok6d5srhgtlmrycs
69 // extern lt_symlist_t lt_preloaded_symbols[]
70
71
72 //1 baedz5i9est5csw3epz3cv7z
73 // typedef Ppoly_t Ppolyline_t
74
75
76 //1 9k44uhd5foylaeoekf3llonjq
77 // extern Dtmethod_t* Dtset
78
79
80 //1 1ahfywsmzcpcig2oxm7pt9ihj
81 // extern Dtmethod_t* Dtbag
82
83
84 //1 anhghfj3k7dmkudy2n7rvt31v
85 // extern Dtmethod_t* Dtoset
86
87
88 //1 5l6oj1ux946zjwvir94ykejbc
89 // extern Dtmethod_t* Dtobag
90
91
92 //1 2wtf222ak6cui8cfjnw6w377z
93 // extern Dtmethod_t* Dtlist
94
95
96 //1 d1s1s6ibtcsmst88e3057u9r7
97 // extern Dtmethod_t* Dtstack
98
99
100 //1 axa7mflo824p6fspjn1rdk0mt
101 // extern Dtmethod_t* Dtqueue
102
103
104 //1 ega812utobm4xx9oa9w9ayij6
105 // extern Dtmethod_t* Dtdeque
106
107
108 //1 cyfr996ur43045jv1tjbelzmj
109 // extern Dtmethod_t* Dtorder
110
111
112 //1 wlofoiftbjgrrabzb2brkycg
113 // extern Dtmethod_t* Dttree
114
115
116 //1 12bds94t7voj7ulwpcvgf6agr
117 // extern Dtmethod_t* Dthash
118
119
120 //1 9lqknzty480cy7zsubmabkk8h
121 // extern Dtmethod_t _Dttree
122
123
124 //1 bvn6zkbcp8vjdhkccqo1xrkrb
125 // extern Dtmethod_t _Dthash
126
127
128 //1 9lidhtd6nsmmv3e7vjv9e10gw
129 // extern Dtmethod_t _Dtlist
130
131
132 //1 34ujfamjxo7xn89u90oh2k6f8
133 // extern Dtmethod_t _Dtqueue
134
135
136 //1 3jy4aceckzkdv950h89p4wjc8
137 // extern Dtmethod_t _Dtstack
138
139
140 //1 8dfqgf3u1v830qzcjqh9o8ha7
141 // extern Agmemdisc_t AgMemDisc
142
143
144 //1 18k2oh2t6llfsdc5x0wlcnby8
145 // extern Agiddisc_t AgIdDisc
146
147
148 //1 a4r7hi80gdxtsv4hdoqpyiivn
149 // extern Agiodisc_t AgIoDisc
150
151
152 //1 bnzt5syjb7mgeru19114vd6xx
153 // extern Agdisc_t AgDefaultDisc
154
155
156 //1 35y2gbegsdjilegaribes00mg
157 // extern Agdesc_t Agdirected, Agstrictdirected, Agundirected, Agstrictundirected
158
159
160 //1 c2rygslq6bcuka3awmvy2b3ow
161 // typedef Agsubnode_t Agnoderef_t
162
163
164 //1 xam6yv0dcsx57dtg44igpbzn
165 // typedef Dtlink_t Agedgeref_t
166
167
168 //1 nye6dsi1twkbddwo9iffca1j
169 // extern char *Version
170
171
172 //1 65mu6k7h7lb7bx14jpiw7iyxr
173 // extern char **Files
174
175
176 //1 2rpjdzsdyrvomf00zcs3u3dyn
177 // extern const char **Lib
178
179
180 //1 6d2f111lntd2rsdt4gswh5909
181 // extern char *CmdName
182
183
184 //1 a0ltq04fpeg83soa05a2fkwb2
185 // extern char *specificFlags
186
187
188 //1 1uv30qeqq2jh6uznlr4dziv0y
189 // extern char *specificItems
190
191
192 //1 7i4hkvngxe3x7lmg5h6b3t9g3
193 // extern char *Gvfilepath
194
195
196 //1 9jp96pa73kseya3w6sulxzok6
197 // extern char *Gvimagepath
198
199
200 //1 40ylumfu7mrvawwf4v2asvtwk
201 // extern unsigned char Verbose
202
203
204 //1 93st8awjy1z0h07n28qycbaka
205 // extern unsigned char Reduce
206
207
208 //1 f2vs67ts992erf8onwfglurzp
209 // extern int MemTest
210
211
212 //1 c6f8whijgjwwagjigmxlwz3gb
213 // extern char *HTTPServerEnVar
214
215
216 //1 cp4hzj7p87m7arw776d3bt7aj
217 // extern char *Output_file_name
218
219
220 //1 a3rqagofsgraie6mx0krzkgsy
221 // extern int graphviz_errors
222
223
224 //1 5up05203r4kxvjn1m4njcgq5x
225 // extern int Nop
226
227
228 //1 umig46cco431x14b3kosde2t
229 // extern double PSinputscale
230
231
232 //1 52bj6v8fqz39khasobljfukk9
233 // extern int Syntax_errors
234
235
236 //1 9ekf2ina8fsjj6y6i0an6somj
237 // extern int Show_cnt
238
239
240 //1 38di5qi3nkxkq65onyvconk3r
241 // extern char** Show_boxes
242
243
244 //1 6ri6iu712m8mpc7t2670etpcw
245 // extern int CL_type
246
247
248 //1 bomxiw3gy0cgd1ydqtek7fpxr
249 // extern unsigned char Concentrate
250
251
252 //1 cqy3gqgcq8empdrbnrhn84058
253 // extern double Epsilon
254
255
256 //1 64slegfoouqeg0rmbyjrm8wgr
257 // extern int MaxIter
258
259
260 //1 88wdinpnmfs4mab4aw62yb0bg
261 // extern int Ndim
262
263
264 //1 8bbad3ogcelqnnvo5br5s05gq
265 // extern int State
266
267
268 //1 17rnd8q45zclfn68qqst2vxxn
269 // extern int EdgeLabelsDone
270
271
272 //1 ymx1z4s8cznjifl2d9f9m8jr
273 // extern double Initial_dist
274
275
276 //1 a33bgl0c3uqb3trx419qulj1x
277 // extern double Damping
278
279
280 //1 d9lvrpjg1r0ojv40pod1xwk8n
281 // extern int Y_invert
282
283
284 //1 71efkfs77q5tq9ex6y0f4kanh
285 // extern int GvExitOnUsage
286
287
288 //1 4xy2dkdkv0acs2ue9eca8hh2e
289 // 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
290
291
292 //1 9js5gxgzr74eakgtfhnbws3t9
293 // 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
294
295
296 //1 anqllp9sj7wo45w6bm11j8trn
297 // 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
298
299
300 //1 bh0z9puipqw7gymjd5h5b8s6i
301 // extern struct fdpParms_s* fdp_parms
302
303
304
305
306 //3 ciez0pfggxdljedzsbklq49f0
307 // static inline point pointof(int x, int y)
308 public static Object pointof(Object... arg) {
309 UNSUPPORTED("8e4tj258yvfq5uhsdpk37n5eq"); // static inline point pointof(int x, int y)
310 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
311 UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r;
312 UNSUPPORTED("12jimkrzqxavaie0cpapbx18c"); // r.x = x;
313 UNSUPPORTED("7ivmviysahgsc5nn9gtp7q2if"); // r.y = y;
314 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
315 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
316
317 throw new UnsupportedOperationException();
318 }
319
320
321
322
323 //3 c1s4k85p1cdfn176o3uryeros
324 // static inline pointf pointfof(double x, double y)
325 public static ST_pointf pointfof(double x, double y) {
326 // WARNING!! STRUCT
327 return pointfof_w_(x, y).copy();
328 }
329 private static ST_pointf pointfof_w_(double x, double y) {
330 ENTERING("c1s4k85p1cdfn176o3uryeros","pointfof");
331 try {
332 final ST_pointf r = new ST_pointf();
333 r.setDouble("x", x);
334 r.setDouble("y", y);
335 return r;
336 } finally {
337 LEAVING("c1s4k85p1cdfn176o3uryeros","pointfof");
338 }
339 }
340
341
342
343
344 //3 7cufnfitrh935ew093mw0i4b7
345 // static inline box boxof(int llx, int lly, int urx, int ury)
346 public static Object boxof(Object... arg) {
347 UNSUPPORTED("3lzesfdd337h31jrlib1czocm"); // static inline box boxof(int llx, int lly, int urx, int ury)
348 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
349 UNSUPPORTED("52u27kayecy1i1e8bbo8f7s9r"); // box b;
350 UNSUPPORTED("cylhjlutoc0sc0uy7g98m9fb8"); // b.LL.x = llx, b.LL.y = lly;
351 UNSUPPORTED("242of6revxzx8hpe7yerrchz6"); // b.UR.x = urx, b.UR.y = ury;
352 UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b;
353 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
354
355 throw new UnsupportedOperationException();
356 }
357
358
359
360
361
362
363
364
365 //3 1n5xl70wxuabyf97mclvilsm6
366 // static inline point add_point(point p, point q)
367 public static Object add_point(Object... arg) {
368 UNSUPPORTED("6iamka1fx8fk1rohzzse8phte"); // static inline point add_point(point p, point q)
369 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
370 UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r;
371 UNSUPPORTED("3n2sizjd0civbzm6iq7su1s2p"); // r.x = p.x + q.x;
372 UNSUPPORTED("65ygdo31w09i5i6bd2f7azcd3"); // r.y = p.y + q.y;
373 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
374 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
375
376 throw new UnsupportedOperationException();
377 }
378
379
380
381
382 //3 arrsbik9b5tnfcbzsm8gr2chx
383 // static inline pointf add_pointf(pointf p, pointf q)
384 public static ST_pointf add_pointf(final ST_pointf p, final ST_pointf q) {
385 // WARNING!! STRUCT
386 return add_pointf_w_(p.copy(), q.copy()).copy();
387 }
388 private static ST_pointf add_pointf_w_(final ST_pointf p, final ST_pointf q) {
389 ENTERING("arrsbik9b5tnfcbzsm8gr2chx","add_pointf");
390 try {
391 final ST_pointf r = new ST_pointf();
392 r.setDouble("x", p.x + q.x);
393 r.setDouble("y", p.y + q.y);
394 return r;
395 } finally {
396 LEAVING("arrsbik9b5tnfcbzsm8gr2chx","add_pointf");
397 }
398 }
399
400
401
402
403 //3 ai2dprak5y6obdsflguh5qbd7
404 // static inline point sub_point(point p, point q)
405 public static Object sub_point(Object... arg) {
406 UNSUPPORTED("cd602849h0bce8lu9xegka0ia"); // static inline point sub_point(point p, point q)
407 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
408 UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r;
409 UNSUPPORTED("4q4q9dveah93si8ajfv59gz27"); // r.x = p.x - q.x;
410 UNSUPPORTED("9f90ik0o2yqhanzntpy3d2ydy"); // r.y = p.y - q.y;
411 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
412 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
413
414 throw new UnsupportedOperationException();
415 }
416
417
418
419
420 //3 16f6pyogcv3j7n2p0n8giqqgh
421 // static inline pointf sub_pointf(pointf p, pointf q)
422 public static Object sub_pointf(Object... arg) {
423 UNSUPPORTED("dmufj44lddsnj0wjyxsg2fcso"); // static inline pointf sub_pointf(pointf p, pointf q)
424 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
425 UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r;
426 UNSUPPORTED("4q4q9dveah93si8ajfv59gz27"); // r.x = p.x - q.x;
427 UNSUPPORTED("9f90ik0o2yqhanzntpy3d2ydy"); // r.y = p.y - q.y;
428 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
429 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
430
431 throw new UnsupportedOperationException();
432 }
433
434
435
436
437 //3 9k50jgrhc4f9824vf8ony74rw
438 // static inline point mid_point(point p, point q)
439 public static Object mid_point(Object... arg) {
440 UNSUPPORTED("evy44tdsmu3erff9dp2x835u2"); // static inline point mid_point(point p, point q)
441 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
442 UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r;
443 UNSUPPORTED("1a6p6fm57o0wt5ze2btsx06c7"); // r.x = (p.x + q.x) / 2;
444 UNSUPPORTED("1kbj5tgdmfi6kf4jgg6skhr6e"); // r.y = (p.y + q.y) / 2;
445 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
446 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
447
448 throw new UnsupportedOperationException();
449 }
450
451
452
453
454 //3 59c4f7im0ftyowhnzzq2v9o1x
455 // static inline pointf mid_pointf(pointf p, pointf q)
456 public static Object mid_pointf(Object... arg) {
457 UNSUPPORTED("381o63o9kb04d7gzg65v0r3q"); // static inline pointf mid_pointf(pointf p, pointf q)
458 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
459 UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r;
460 UNSUPPORTED("c5vboetlr3mf43wns7iik6m1w"); // r.x = (p.x + q.x) / 2.;
461 UNSUPPORTED("bcdf562ldr3bjn78hcay5xd63"); // r.y = (p.y + q.y) / 2.;
462 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
463 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
464
465 throw new UnsupportedOperationException();
466 }
467
468
469
470
471 //3 5r18p38gisvcx3zsvbb9saixx
472 // static inline pointf interpolate_pointf(double t, pointf p, pointf q)
473 public static Object interpolate_pointf(Object... arg) {
474 UNSUPPORTED("894yimn33kmtm454llwdaotu8"); // static inline pointf interpolate_pointf(double t, pointf p, pointf q)
475 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
476 UNSUPPORTED("ef2acl8wa2ooqcb5vz3098maz"); // pointf r;
477 UNSUPPORTED("5tpwuyf5iidesy80v8o4nwkmk"); // r.x = p.x + t * (q.x - p.x);
478 UNSUPPORTED("ewnrc5uloj3w5jbmsjcn3wja0"); // r.y = p.y + t * (q.y - p.y);
479 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
480 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
481
482 throw new UnsupportedOperationException();
483 }
484
485
486
487
488 //3 bxzrv2ghq04qk5cbyy68s4mol
489 // static inline point exch_xy(point p)
490 public static Object exch_xy(Object... arg) {
491 UNSUPPORTED("2vxya0v2fzlv5e0vjaa8d414"); // static inline point exch_xy(point p)
492 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
493 UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r;
494 UNSUPPORTED("60cojdwc2h7f0m51s9jdwvup7"); // r.x = p.y;
495 UNSUPPORTED("evp2x66oa4s1tlnc0ytxq2qbq"); // r.y = p.x;
496 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
497 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
498
499 throw new UnsupportedOperationException();
500 }
501
502
503
504
505 //3 9lt3e03tac6h6sydljrcws8fd
506 // static inline pointf exch_xyf(pointf p)
507 public static Object exch_xyf(Object... arg) {
508 UNSUPPORTED("8qamrobrqi8jsvvfrxkimrsnw"); // static inline pointf exch_xyf(pointf p)
509 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
510 UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r;
511 UNSUPPORTED("60cojdwc2h7f0m51s9jdwvup7"); // r.x = p.y;
512 UNSUPPORTED("evp2x66oa4s1tlnc0ytxq2qbq"); // r.y = p.x;
513 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
514 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
515
516 throw new UnsupportedOperationException();
517 }
518
519
520
521
522 //3 8l9qhieokthntzdorlu5zn29b
523 // static inline box box_bb(box b0, box b1)
524 public static Object box_bb(Object... arg) {
525 UNSUPPORTED("36et5gmnjrby6o7bq9sgh1hx6"); // static inline box box_bb(box b0, box b1)
526 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
527 UNSUPPORTED("52u27kayecy1i1e8bbo8f7s9r"); // box b;
528 UNSUPPORTED("8mr2c9xitsqi8z1plbp7ox1hu"); // b.LL.x = MIN(b0.LL.x, b1.LL.x);
529 UNSUPPORTED("2egu55ef4u1i03nwz01k7kcrl"); // b.LL.y = MIN(b0.LL.y, b1.LL.y);
530 UNSUPPORTED("9n6ei3odbgefwfxvql9whcpe"); // b.UR.x = MAX(b0.UR.x, b1.UR.x);
531 UNSUPPORTED("19ocysbuh4pxyft2bqhyhigr1"); // b.UR.y = MAX(b0.UR.y, b1.UR.y);
532 UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b;
533 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
534
535 throw new UnsupportedOperationException();
536 }
537
538
539
540
541 //3 clws9h3bbjm0lw3hexf8nl4c4
542 // static inline boxf boxf_bb(boxf b0, boxf b1)
543 public static Object boxf_bb(Object... arg) {
544 UNSUPPORTED("dyrqu4ww9osr9c86gqgmifcp6"); // static inline boxf boxf_bb(boxf b0, boxf b1)
545 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
546 UNSUPPORTED("c57pq0f87j6dnbcvygu7v6k84"); // boxf b;
547 UNSUPPORTED("8mr2c9xitsqi8z1plbp7ox1hu"); // b.LL.x = MIN(b0.LL.x, b1.LL.x);
548 UNSUPPORTED("2egu55ef4u1i03nwz01k7kcrl"); // b.LL.y = MIN(b0.LL.y, b1.LL.y);
549 UNSUPPORTED("9n6ei3odbgefwfxvql9whcpe"); // b.UR.x = MAX(b0.UR.x, b1.UR.x);
550 UNSUPPORTED("19ocysbuh4pxyft2bqhyhigr1"); // b.UR.y = MAX(b0.UR.y, b1.UR.y);
551 UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b;
552 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
553
554 throw new UnsupportedOperationException();
555 }
556
557
558
559
560 //3 bit6ycxo1iqd2al92y8gkzlvb
561 // static inline box box_intersect(box b0, box b1)
562 public static Object box_intersect(Object... arg) {
563 UNSUPPORTED("34gv28cldst09bl71itjgviue"); // static inline box box_intersect(box b0, box b1)
564 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
565 UNSUPPORTED("52u27kayecy1i1e8bbo8f7s9r"); // box b;
566 UNSUPPORTED("9slu7bixuymxttjic76ha2nl2"); // b.LL.x = MAX(b0.LL.x, b1.LL.x);
567 UNSUPPORTED("3uv943c2f82yuif249pf5azob"); // b.LL.y = MAX(b0.LL.y, b1.LL.y);
568 UNSUPPORTED("74tf5h16bc9zabq3s3dyny543"); // b.UR.x = MIN(b0.UR.x, b1.UR.x);
569 UNSUPPORTED("d99gcv3i7xes7y7rqf8ii20ux"); // b.UR.y = MIN(b0.UR.y, b1.UR.y);
570 UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b;
571 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
572
573 throw new UnsupportedOperationException();
574 }
575
576
577
578
579 //3 8gfybie7k6pgb3o1a6llgpwng
580 // static inline boxf boxf_intersect(boxf b0, boxf b1)
581 public static Object boxf_intersect(Object... arg) {
582 UNSUPPORTED("ape22b8z6jfg17gvo42hok9eb"); // static inline boxf boxf_intersect(boxf b0, boxf b1)
583 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
584 UNSUPPORTED("c57pq0f87j6dnbcvygu7v6k84"); // boxf b;
585 UNSUPPORTED("9slu7bixuymxttjic76ha2nl2"); // b.LL.x = MAX(b0.LL.x, b1.LL.x);
586 UNSUPPORTED("3uv943c2f82yuif249pf5azob"); // b.LL.y = MAX(b0.LL.y, b1.LL.y);
587 UNSUPPORTED("74tf5h16bc9zabq3s3dyny543"); // b.UR.x = MIN(b0.UR.x, b1.UR.x);
588 UNSUPPORTED("d99gcv3i7xes7y7rqf8ii20ux"); // b.UR.y = MIN(b0.UR.y, b1.UR.y);
589 UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b;
590 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
591
592 throw new UnsupportedOperationException();
593 }
594
595
596
597
598 //3 7z8j2quq65govaaejrz7b4cvb
599 // static inline int box_overlap(box b0, box b1)
600 public static Object box_overlap(Object... arg) {
601 UNSUPPORTED("1e9k599x7ygct7r4cfdxlk9u9"); // static inline int box_overlap(box b0, box b1)
602 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
603 UNSUPPORTED("7a9wwpu7dhdphd08y1ecw54w5"); // return OVERLAP(b0, b1);
604 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
605
606 throw new UnsupportedOperationException();
607 }
608
609
610
611
612 //3 4z0suuut2acsay5m8mg9dqjdu
613 // static inline int boxf_overlap(boxf b0, boxf b1)
614 public static Object boxf_overlap(Object... arg) {
615 UNSUPPORTED("905nejsewihwhhc3bhnrz9nwo"); // static inline int boxf_overlap(boxf b0, boxf b1)
616 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
617 UNSUPPORTED("7a9wwpu7dhdphd08y1ecw54w5"); // return OVERLAP(b0, b1);
618 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
619
620 throw new UnsupportedOperationException();
621 }
622
623
624
625
626 //3 dd34swz5rmdgu3a2np2a4h1dy
627 // static inline int box_contains(box b0, box b1)
628 public static Object box_contains(Object... arg) {
629 UNSUPPORTED("aputfc30fjkvy6jx4otljaczq"); // static inline int box_contains(box b0, box b1)
630 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
631 UNSUPPORTED("87ap80vrh2a4gpprbxr33lrg3"); // return CONTAINS(b0, b1);
632 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
633
634 throw new UnsupportedOperationException();
635 }
636
637
638
639
640 //3 8laj1bspbu2i1cjd9upr7xt32
641 // static inline int boxf_contains(boxf b0, boxf b1)
642 public static Object boxf_contains(Object... arg) {
643 UNSUPPORTED("7ccnttkiwt834yfyw0evcm18v"); // static inline int boxf_contains(boxf b0, boxf b1)
644 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
645 UNSUPPORTED("87ap80vrh2a4gpprbxr33lrg3"); // return CONTAINS(b0, b1);
646 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
647
648 throw new UnsupportedOperationException();
649 }
650
651
652
653
654 //3 4wf5swkz24xx51ja2dynbycu1
655 // static inline pointf perp (pointf p)
656 public static Object perp(Object... arg) {
657 UNSUPPORTED("567wpqlg9rv63ynyvxd9sgkww"); // static inline pointf perp (pointf p)
658 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
659 UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r;
660 UNSUPPORTED("2fyydy6t6yifjsczccsb9szeg"); // r.x = -p.y;
661 UNSUPPORTED("evp2x66oa4s1tlnc0ytxq2qbq"); // r.y = p.x;
662 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
663 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
664
665 throw new UnsupportedOperationException();
666 }
667
668
669
670
671 //3 6dtlpzv4mvgzb9o0b252yweuv
672 // static inline pointf scale (double c, pointf p)
673 public static Object scale(Object... arg) {
674 UNSUPPORTED("c1ngytew34bmkdb7vps5h3dh8"); // static inline pointf scale (double c, pointf p)
675 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
676 UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r;
677 UNSUPPORTED("dznf7nac14snww4usquyd6r3r"); // r.x = c * p.x;
678 UNSUPPORTED("33kk73m8vjcux5tnjl8co2pe6"); // r.y = c * p.y;
679 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
680 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
681
682 throw new UnsupportedOperationException();
683 }
684
685
686
687
688 //3 9hm902ya6q6bq246ewuh67h38
689 // void reverse_edge(edge_t * e)
690 public static void reverse_edge(ST_Agedge_s e) {
691 ENTERING("9hm902ya6q6bq246ewuh67h38","reverse_edge");
692 try {
693 ST_Agedge_s f;
694 delete_fast_edge(e);
695 if ((f = find_fast_edge(aghead(e), agtail(e)))!=null)
696 merge_oneway(e, f);
697 else
698 virtual_edge(aghead(e), agtail(e), e);
699 } finally {
700 LEAVING("9hm902ya6q6bq246ewuh67h38","reverse_edge");
701 }
702 }
703
704
705
706
707 //3 e9h7n52fs8rucrug9tr0zebe2
708 // static void dfs(node_t * n)
709 public static void dfs(ST_Agnode_s n) {
710 ENTERING("e9h7n52fs8rucrug9tr0zebe2","dfs");
711 try {
712 int i;
713 ST_Agedge_s e;
714 ST_Agnode_s w;
715 if (ND_mark(n)!=0)
716 return;
717 ND_mark(n, 1);
718 ND_onstack(n, 1);
719 for (i = 0; (e = (ST_Agedge_s) ND_out(n).getFromList(i))!=null; i++) {
720 w = aghead(e);
721 if (ND_onstack(w)) {
722 reverse_edge(e);
723 i--;
724 } else {
725 if (ND_mark(w) == 0)
726 dfs(w);
727 }
728 }
729 ND_onstack(n, 0);
730 } finally {
731 LEAVING("e9h7n52fs8rucrug9tr0zebe2","dfs");
732 }
733 }
734
735
736
737
738 //3 1ejgnwd7ek344caegjwg46n6h
739 // void acyclic(graph_t * g)
740 public static void acyclic_(ST_Agraph_s g) {
741 ENTERING("1ejgnwd7ek344caegjwg46n6h","acyclic");
742 try {
743 int c;
744 ST_Agnode_s n;
745 for (c = 0; c < GD_comp(g).size; c++) {
746 GD_nlist(g, GD_comp(g).getFromList(c));
747 for (n = GD_nlist(g); n!=null; n = ND_next(n))
748 ND_mark(n, 0);
749 for (n = GD_nlist(g); n!=null; n = ND_next(n))
750 dfs(n);
751 }
752 } finally {
753 LEAVING("1ejgnwd7ek344caegjwg46n6h","acyclic");
754 }
755 }
756
757
758 }