Debian Codegraph @

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