Debian Codegraph @

src/gen/lib/pack/pack__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.pack;
47 import static gen.lib.cgraph.attr__c.agget;
48 import static smetana.core.JUtilsDebug.ENTERING;
49 import static smetana.core.JUtilsDebug.LEAVING;
50 import static smetana.core.Macro.UNSUPPORTED;
51 import h.ST_Agraph_s;
52 import h.ST_pack_info;
53 import h.ST_pointf;
54 import smetana.core.CString;
55
56 public class pack__c {
57 //1 2digov3edok6d5srhgtlmrycs
58 // extern lt_symlist_t lt_preloaded_symbols[]
59
60
61 //1 baedz5i9est5csw3epz3cv7z
62 // typedef Ppoly_t Ppolyline_t
63
64
65 //1 9k44uhd5foylaeoekf3llonjq
66 // extern Dtmethod_t* Dtset
67
68
69 //1 1ahfywsmzcpcig2oxm7pt9ihj
70 // extern Dtmethod_t* Dtbag
71
72
73 //1 anhghfj3k7dmkudy2n7rvt31v
74 // extern Dtmethod_t* Dtoset
75
76
77 //1 5l6oj1ux946zjwvir94ykejbc
78 // extern Dtmethod_t* Dtobag
79
80
81 //1 2wtf222ak6cui8cfjnw6w377z
82 // extern Dtmethod_t* Dtlist
83
84
85 //1 d1s1s6ibtcsmst88e3057u9r7
86 // extern Dtmethod_t* Dtstack
87
88
89 //1 axa7mflo824p6fspjn1rdk0mt
90 // extern Dtmethod_t* Dtqueue
91
92
93 //1 ega812utobm4xx9oa9w9ayij6
94 // extern Dtmethod_t* Dtdeque
95
96
97 //1 cyfr996ur43045jv1tjbelzmj
98 // extern Dtmethod_t* Dtorder
99
100
101 //1 wlofoiftbjgrrabzb2brkycg
102 // extern Dtmethod_t* Dttree
103
104
105 //1 12bds94t7voj7ulwpcvgf6agr
106 // extern Dtmethod_t* Dthash
107
108
109 //1 9lqknzty480cy7zsubmabkk8h
110 // extern Dtmethod_t _Dttree
111
112
113 //1 bvn6zkbcp8vjdhkccqo1xrkrb
114 // extern Dtmethod_t _Dthash
115
116
117 //1 9lidhtd6nsmmv3e7vjv9e10gw
118 // extern Dtmethod_t _Dtlist
119
120
121 //1 34ujfamjxo7xn89u90oh2k6f8
122 // extern Dtmethod_t _Dtqueue
123
124
125 //1 3jy4aceckzkdv950h89p4wjc8
126 // extern Dtmethod_t _Dtstack
127
128
129 //1 8dfqgf3u1v830qzcjqh9o8ha7
130 // extern Agmemdisc_t AgMemDisc
131
132
133 //1 18k2oh2t6llfsdc5x0wlcnby8
134 // extern Agiddisc_t AgIdDisc
135
136
137 //1 a4r7hi80gdxtsv4hdoqpyiivn
138 // extern Agiodisc_t AgIoDisc
139
140
141 //1 bnzt5syjb7mgeru19114vd6xx
142 // extern Agdisc_t AgDefaultDisc
143
144
145 //1 35y2gbegsdjilegaribes00mg
146 // extern Agdesc_t Agdirected, Agstrictdirected, Agundirected, Agstrictundirected
147
148
149 //1 c2rygslq6bcuka3awmvy2b3ow
150 // typedef Agsubnode_t Agnoderef_t
151
152
153 //1 xam6yv0dcsx57dtg44igpbzn
154 // typedef Dtlink_t Agedgeref_t
155
156
157 //1 nye6dsi1twkbddwo9iffca1j
158 // extern char *Version
159
160
161 //1 65mu6k7h7lb7bx14jpiw7iyxr
162 // extern char **Files
163
164
165 //1 2rpjdzsdyrvomf00zcs3u3dyn
166 // extern const char **Lib
167
168
169 //1 6d2f111lntd2rsdt4gswh5909
170 // extern char *CmdName
171
172
173 //1 a0ltq04fpeg83soa05a2fkwb2
174 // extern char *specificFlags
175
176
177 //1 1uv30qeqq2jh6uznlr4dziv0y
178 // extern char *specificItems
179
180
181 //1 7i4hkvngxe3x7lmg5h6b3t9g3
182 // extern char *Gvfilepath
183
184
185 //1 9jp96pa73kseya3w6sulxzok6
186 // extern char *Gvimagepath
187
188
189 //1 40ylumfu7mrvawwf4v2asvtwk
190 // extern unsigned char Verbose
191
192
193 //1 93st8awjy1z0h07n28qycbaka
194 // extern unsigned char Reduce
195
196
197 //1 f2vs67ts992erf8onwfglurzp
198 // extern int MemTest
199
200
201 //1 c6f8whijgjwwagjigmxlwz3gb
202 // extern char *HTTPServerEnVar
203
204
205 //1 cp4hzj7p87m7arw776d3bt7aj
206 // extern char *Output_file_name
207
208
209 //1 a3rqagofsgraie6mx0krzkgsy
210 // extern int graphviz_errors
211
212
213 //1 5up05203r4kxvjn1m4njcgq5x
214 // extern int Nop
215
216
217 //1 umig46cco431x14b3kosde2t
218 // extern double PSinputscale
219
220
221 //1 52bj6v8fqz39khasobljfukk9
222 // extern int Syntax_errors
223
224
225 //1 9ekf2ina8fsjj6y6i0an6somj
226 // extern int Show_cnt
227
228
229 //1 38di5qi3nkxkq65onyvconk3r
230 // extern char** Show_boxes
231
232
233 //1 6ri6iu712m8mpc7t2670etpcw
234 // extern int CL_type
235
236
237 //1 bomxiw3gy0cgd1ydqtek7fpxr
238 // extern unsigned char Concentrate
239
240
241 //1 cqy3gqgcq8empdrbnrhn84058
242 // extern double Epsilon
243
244
245 //1 64slegfoouqeg0rmbyjrm8wgr
246 // extern int MaxIter
247
248
249 //1 88wdinpnmfs4mab4aw62yb0bg
250 // extern int Ndim
251
252
253 //1 8bbad3ogcelqnnvo5br5s05gq
254 // extern int State
255
256
257 //1 17rnd8q45zclfn68qqst2vxxn
258 // extern int EdgeLabelsDone
259
260
261 //1 ymx1z4s8cznjifl2d9f9m8jr
262 // extern double Initial_dist
263
264
265 //1 a33bgl0c3uqb3trx419qulj1x
266 // extern double Damping
267
268
269 //1 d9lvrpjg1r0ojv40pod1xwk8n
270 // extern int Y_invert
271
272
273 //1 71efkfs77q5tq9ex6y0f4kanh
274 // extern int GvExitOnUsage
275
276
277 //1 4xy2dkdkv0acs2ue9eca8hh2e
278 // 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
279
280
281 //1 9js5gxgzr74eakgtfhnbws3t9
282 // 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
283
284
285 //1 anqllp9sj7wo45w6bm11j8trn
286 // 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
287
288
289 //1 bh0z9puipqw7gymjd5h5b8s6i
290 // extern struct fdpParms_s* fdp_parms
291
292
293
294
295 //3 ciez0pfggxdljedzsbklq49f0
296 // static inline point pointof(int x, int y)
297 public static Object pointof(Object... arg) {
298 UNSUPPORTED("8e4tj258yvfq5uhsdpk37n5eq"); // static inline point pointof(int x, int y)
299 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
300 UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r;
301 UNSUPPORTED("12jimkrzqxavaie0cpapbx18c"); // r.x = x;
302 UNSUPPORTED("7ivmviysahgsc5nn9gtp7q2if"); // r.y = y;
303 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
304 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
305
306 throw new UnsupportedOperationException();
307 }
308
309
310
311
312 //3 c1s4k85p1cdfn176o3uryeros
313 // static inline pointf pointfof(double x, double y)
314 public static ST_pointf pointfof(double x, double y) {
315 // WARNING!! STRUCT
316 return pointfof_w_(x, y).copy();
317 }
318 private static ST_pointf pointfof_w_(double x, double y) {
319 ENTERING("c1s4k85p1cdfn176o3uryeros","pointfof");
320 try {
321 final ST_pointf r = new ST_pointf();
322 r.setDouble("x", x);
323 r.setDouble("y", y);
324 return r;
325 } finally {
326 LEAVING("c1s4k85p1cdfn176o3uryeros","pointfof");
327 }
328 }
329
330
331
332
333 //3 7cufnfitrh935ew093mw0i4b7
334 // static inline box boxof(int llx, int lly, int urx, int ury)
335 public static Object boxof(Object... arg) {
336 UNSUPPORTED("3lzesfdd337h31jrlib1czocm"); // static inline box boxof(int llx, int lly, int urx, int ury)
337 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
338 UNSUPPORTED("52u27kayecy1i1e8bbo8f7s9r"); // box b;
339 UNSUPPORTED("cylhjlutoc0sc0uy7g98m9fb8"); // b.LL.x = llx, b.LL.y = lly;
340 UNSUPPORTED("242of6revxzx8hpe7yerrchz6"); // b.UR.x = urx, b.UR.y = ury;
341 UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b;
342 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
343
344 throw new UnsupportedOperationException();
345 }
346
347
348
349
350
351
352
353 //3 1n5xl70wxuabyf97mclvilsm6
354 // static inline point add_point(point p, point q)
355 public static Object add_point(Object... arg) {
356 UNSUPPORTED("6iamka1fx8fk1rohzzse8phte"); // static inline point add_point(point p, point q)
357 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
358 UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r;
359 UNSUPPORTED("3n2sizjd0civbzm6iq7su1s2p"); // r.x = p.x + q.x;
360 UNSUPPORTED("65ygdo31w09i5i6bd2f7azcd3"); // r.y = p.y + q.y;
361 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
362 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
363
364 throw new UnsupportedOperationException();
365 }
366
367
368
369
370 //3 arrsbik9b5tnfcbzsm8gr2chx
371 // static inline pointf add_pointf(pointf p, pointf q)
372 public static ST_pointf add_pointf(final ST_pointf p, final ST_pointf q) {
373 // WARNING!! STRUCT
374 return add_pointf_w_(p.copy(), q.copy()).copy();
375 }
376 private static ST_pointf add_pointf_w_(final ST_pointf p, final ST_pointf q) {
377 ENTERING("arrsbik9b5tnfcbzsm8gr2chx","add_pointf");
378 try {
379 final ST_pointf r = new ST_pointf();
380 r.setDouble("x", p.x + q.x);
381 r.setDouble("y", p.y + q.y);
382 return r;
383 } finally {
384 LEAVING("arrsbik9b5tnfcbzsm8gr2chx","add_pointf");
385 }
386 }
387
388
389
390
391 //3 ai2dprak5y6obdsflguh5qbd7
392 // static inline point sub_point(point p, point q)
393 public static Object sub_point(Object... arg) {
394 UNSUPPORTED("cd602849h0bce8lu9xegka0ia"); // static inline point sub_point(point p, point q)
395 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
396 UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r;
397 UNSUPPORTED("4q4q9dveah93si8ajfv59gz27"); // r.x = p.x - q.x;
398 UNSUPPORTED("9f90ik0o2yqhanzntpy3d2ydy"); // r.y = p.y - q.y;
399 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
400 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
401
402 throw new UnsupportedOperationException();
403 }
404
405
406
407
408 //3 16f6pyogcv3j7n2p0n8giqqgh
409 // static inline pointf sub_pointf(pointf p, pointf q)
410 public static Object sub_pointf(Object... arg) {
411 UNSUPPORTED("dmufj44lddsnj0wjyxsg2fcso"); // static inline pointf sub_pointf(pointf p, pointf q)
412 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
413 UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r;
414 UNSUPPORTED("4q4q9dveah93si8ajfv59gz27"); // r.x = p.x - q.x;
415 UNSUPPORTED("9f90ik0o2yqhanzntpy3d2ydy"); // r.y = p.y - q.y;
416 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
417 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
418
419 throw new UnsupportedOperationException();
420 }
421
422
423
424
425 //3 9k50jgrhc4f9824vf8ony74rw
426 // static inline point mid_point(point p, point q)
427 public static Object mid_point(Object... arg) {
428 UNSUPPORTED("evy44tdsmu3erff9dp2x835u2"); // static inline point mid_point(point p, point q)
429 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
430 UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r;
431 UNSUPPORTED("1a6p6fm57o0wt5ze2btsx06c7"); // r.x = (p.x + q.x) / 2;
432 UNSUPPORTED("1kbj5tgdmfi6kf4jgg6skhr6e"); // r.y = (p.y + q.y) / 2;
433 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
434 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
435
436 throw new UnsupportedOperationException();
437 }
438
439
440
441
442 //3 59c4f7im0ftyowhnzzq2v9o1x
443 // static inline pointf mid_pointf(pointf p, pointf q)
444 public static Object mid_pointf(Object... arg) {
445 UNSUPPORTED("381o63o9kb04d7gzg65v0r3q"); // static inline pointf mid_pointf(pointf p, pointf q)
446 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
447 UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r;
448 UNSUPPORTED("c5vboetlr3mf43wns7iik6m1w"); // r.x = (p.x + q.x) / 2.;
449 UNSUPPORTED("bcdf562ldr3bjn78hcay5xd63"); // r.y = (p.y + q.y) / 2.;
450 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
451 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
452
453 throw new UnsupportedOperationException();
454 }
455
456
457
458
459 //3 5r18p38gisvcx3zsvbb9saixx
460 // static inline pointf interpolate_pointf(double t, pointf p, pointf q)
461 public static Object interpolate_pointf(Object... arg) {
462 UNSUPPORTED("894yimn33kmtm454llwdaotu8"); // static inline pointf interpolate_pointf(double t, pointf p, pointf q)
463 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
464 UNSUPPORTED("ef2acl8wa2ooqcb5vz3098maz"); // pointf r;
465 UNSUPPORTED("5tpwuyf5iidesy80v8o4nwkmk"); // r.x = p.x + t * (q.x - p.x);
466 UNSUPPORTED("ewnrc5uloj3w5jbmsjcn3wja0"); // r.y = p.y + t * (q.y - p.y);
467 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
468 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
469
470 throw new UnsupportedOperationException();
471 }
472
473
474
475
476 //3 bxzrv2ghq04qk5cbyy68s4mol
477 // static inline point exch_xy(point p)
478 public static Object exch_xy(Object... arg) {
479 UNSUPPORTED("2vxya0v2fzlv5e0vjaa8d414"); // static inline point exch_xy(point p)
480 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
481 UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r;
482 UNSUPPORTED("60cojdwc2h7f0m51s9jdwvup7"); // r.x = p.y;
483 UNSUPPORTED("evp2x66oa4s1tlnc0ytxq2qbq"); // r.y = p.x;
484 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
485 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
486
487 throw new UnsupportedOperationException();
488 }
489
490
491
492
493 //3 9lt3e03tac6h6sydljrcws8fd
494 // static inline pointf exch_xyf(pointf p)
495 public static Object exch_xyf(Object... arg) {
496 UNSUPPORTED("8qamrobrqi8jsvvfrxkimrsnw"); // static inline pointf exch_xyf(pointf p)
497 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
498 UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r;
499 UNSUPPORTED("60cojdwc2h7f0m51s9jdwvup7"); // r.x = p.y;
500 UNSUPPORTED("evp2x66oa4s1tlnc0ytxq2qbq"); // r.y = p.x;
501 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
502 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
503
504 throw new UnsupportedOperationException();
505 }
506
507
508
509
510 //3 8l9qhieokthntzdorlu5zn29b
511 // static inline box box_bb(box b0, box b1)
512 public static Object box_bb(Object... arg) {
513 UNSUPPORTED("36et5gmnjrby6o7bq9sgh1hx6"); // static inline box box_bb(box b0, box b1)
514 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
515 UNSUPPORTED("52u27kayecy1i1e8bbo8f7s9r"); // box b;
516 UNSUPPORTED("8mr2c9xitsqi8z1plbp7ox1hu"); // b.LL.x = MIN(b0.LL.x, b1.LL.x);
517 UNSUPPORTED("2egu55ef4u1i03nwz01k7kcrl"); // b.LL.y = MIN(b0.LL.y, b1.LL.y);
518 UNSUPPORTED("9n6ei3odbgefwfxvql9whcpe"); // b.UR.x = MAX(b0.UR.x, b1.UR.x);
519 UNSUPPORTED("19ocysbuh4pxyft2bqhyhigr1"); // b.UR.y = MAX(b0.UR.y, b1.UR.y);
520 UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b;
521 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
522
523 throw new UnsupportedOperationException();
524 }
525
526
527
528
529 //3 clws9h3bbjm0lw3hexf8nl4c4
530 // static inline boxf boxf_bb(boxf b0, boxf b1)
531 public static Object boxf_bb(Object... arg) {
532 UNSUPPORTED("dyrqu4ww9osr9c86gqgmifcp6"); // static inline boxf boxf_bb(boxf b0, boxf b1)
533 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
534 UNSUPPORTED("c57pq0f87j6dnbcvygu7v6k84"); // boxf b;
535 UNSUPPORTED("8mr2c9xitsqi8z1plbp7ox1hu"); // b.LL.x = MIN(b0.LL.x, b1.LL.x);
536 UNSUPPORTED("2egu55ef4u1i03nwz01k7kcrl"); // b.LL.y = MIN(b0.LL.y, b1.LL.y);
537 UNSUPPORTED("9n6ei3odbgefwfxvql9whcpe"); // b.UR.x = MAX(b0.UR.x, b1.UR.x);
538 UNSUPPORTED("19ocysbuh4pxyft2bqhyhigr1"); // b.UR.y = MAX(b0.UR.y, b1.UR.y);
539 UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b;
540 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
541
542 throw new UnsupportedOperationException();
543 }
544
545
546
547
548 //3 bit6ycxo1iqd2al92y8gkzlvb
549 // static inline box box_intersect(box b0, box b1)
550 public static Object box_intersect(Object... arg) {
551 UNSUPPORTED("34gv28cldst09bl71itjgviue"); // static inline box box_intersect(box b0, box b1)
552 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
553 UNSUPPORTED("52u27kayecy1i1e8bbo8f7s9r"); // box b;
554 UNSUPPORTED("9slu7bixuymxttjic76ha2nl2"); // b.LL.x = MAX(b0.LL.x, b1.LL.x);
555 UNSUPPORTED("3uv943c2f82yuif249pf5azob"); // b.LL.y = MAX(b0.LL.y, b1.LL.y);
556 UNSUPPORTED("74tf5h16bc9zabq3s3dyny543"); // b.UR.x = MIN(b0.UR.x, b1.UR.x);
557 UNSUPPORTED("d99gcv3i7xes7y7rqf8ii20ux"); // b.UR.y = MIN(b0.UR.y, b1.UR.y);
558 UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b;
559 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
560
561 throw new UnsupportedOperationException();
562 }
563
564
565
566
567 //3 8gfybie7k6pgb3o1a6llgpwng
568 // static inline boxf boxf_intersect(boxf b0, boxf b1)
569 public static Object boxf_intersect(Object... arg) {
570 UNSUPPORTED("ape22b8z6jfg17gvo42hok9eb"); // static inline boxf boxf_intersect(boxf b0, boxf b1)
571 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
572 UNSUPPORTED("c57pq0f87j6dnbcvygu7v6k84"); // boxf b;
573 UNSUPPORTED("9slu7bixuymxttjic76ha2nl2"); // b.LL.x = MAX(b0.LL.x, b1.LL.x);
574 UNSUPPORTED("3uv943c2f82yuif249pf5azob"); // b.LL.y = MAX(b0.LL.y, b1.LL.y);
575 UNSUPPORTED("74tf5h16bc9zabq3s3dyny543"); // b.UR.x = MIN(b0.UR.x, b1.UR.x);
576 UNSUPPORTED("d99gcv3i7xes7y7rqf8ii20ux"); // b.UR.y = MIN(b0.UR.y, b1.UR.y);
577 UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b;
578 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
579
580 throw new UnsupportedOperationException();
581 }
582
583
584
585
586 //3 7z8j2quq65govaaejrz7b4cvb
587 // static inline int box_overlap(box b0, box b1)
588 public static Object box_overlap(Object... arg) {
589 UNSUPPORTED("1e9k599x7ygct7r4cfdxlk9u9"); // static inline int box_overlap(box b0, box b1)
590 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
591 UNSUPPORTED("7a9wwpu7dhdphd08y1ecw54w5"); // return OVERLAP(b0, b1);
592 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
593
594 throw new UnsupportedOperationException();
595 }
596
597
598
599
600 //3 4z0suuut2acsay5m8mg9dqjdu
601 // static inline int boxf_overlap(boxf b0, boxf b1)
602 public static Object boxf_overlap(Object... arg) {
603 UNSUPPORTED("905nejsewihwhhc3bhnrz9nwo"); // static inline int boxf_overlap(boxf b0, boxf b1)
604 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
605 UNSUPPORTED("7a9wwpu7dhdphd08y1ecw54w5"); // return OVERLAP(b0, b1);
606 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
607
608 throw new UnsupportedOperationException();
609 }
610
611
612
613
614 //3 dd34swz5rmdgu3a2np2a4h1dy
615 // static inline int box_contains(box b0, box b1)
616 public static Object box_contains(Object... arg) {
617 UNSUPPORTED("aputfc30fjkvy6jx4otljaczq"); // static inline int box_contains(box b0, box b1)
618 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
619 UNSUPPORTED("87ap80vrh2a4gpprbxr33lrg3"); // return CONTAINS(b0, b1);
620 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
621
622 throw new UnsupportedOperationException();
623 }
624
625
626
627
628 //3 8laj1bspbu2i1cjd9upr7xt32
629 // static inline int boxf_contains(boxf b0, boxf b1)
630 public static Object boxf_contains(Object... arg) {
631 UNSUPPORTED("7ccnttkiwt834yfyw0evcm18v"); // static inline int boxf_contains(boxf b0, boxf b1)
632 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
633 UNSUPPORTED("87ap80vrh2a4gpprbxr33lrg3"); // return CONTAINS(b0, b1);
634 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
635
636 throw new UnsupportedOperationException();
637 }
638
639
640
641
642 //3 4wf5swkz24xx51ja2dynbycu1
643 // static inline pointf perp (pointf p)
644 public static Object perp(Object... arg) {
645 UNSUPPORTED("567wpqlg9rv63ynyvxd9sgkww"); // static inline pointf perp (pointf p)
646 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
647 UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r;
648 UNSUPPORTED("2fyydy6t6yifjsczccsb9szeg"); // r.x = -p.y;
649 UNSUPPORTED("evp2x66oa4s1tlnc0ytxq2qbq"); // r.y = p.x;
650 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
651 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
652
653 throw new UnsupportedOperationException();
654 }
655
656
657
658
659 //3 6dtlpzv4mvgzb9o0b252yweuv
660 // static inline pointf scale (double c, pointf p)
661 public static Object scale(Object... arg) {
662 UNSUPPORTED("c1ngytew34bmkdb7vps5h3dh8"); // static inline pointf scale (double c, pointf p)
663 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
664 UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r;
665 UNSUPPORTED("dznf7nac14snww4usquyd6r3r"); // r.x = c * p.x;
666 UNSUPPORTED("33kk73m8vjcux5tnjl8co2pe6"); // r.y = c * p.y;
667 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
668 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
669
670 throw new UnsupportedOperationException();
671 }
672
673
674 //1 exy2l03ceq9zw4vf01bbd4d3o
675 // typedef unsigned int packval_t
676
677
678 //1 6ddu6mrp88g3kun2w1gg8ck8t
679 // typedef Dict_t PointSet
680
681
682 //1 6t1gwljnc5qkhgkp9oc8y7lhm
683 // typedef Dict_t PointMap
684
685
686
687
688 //3 bdbcgpx3oes6bcwdhfnfq0wjf
689 // static int computeStep(int ng, boxf* bbs, int margin)
690 public static Object computeStep(Object... arg) {
691 UNSUPPORTED("8t29o17pwh1az79qvvoe5gzig"); // static int computeStep(int ng, boxf* bbs, int margin)
692 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
693 UNSUPPORTED("55lbmpqutqoil2r1b1kshhf4"); // double l1, l2;
694 UNSUPPORTED("a43rbn0mnlegy80nlm8zaa198"); // double a, b, c, d, r;
695 UNSUPPORTED("ady3ytrxxbt2q1wph02epzm2x"); // double W, H; /* width and height of graph, with margin */
696 UNSUPPORTED("4wnirjl62mfwcoakp6lyep3p7"); // int i, root;
697 UNSUPPORTED("xo2ha29kgc22utvzozfopc3t"); // a = 100 * ng - 1;
698 UNSUPPORTED("10mngu08a3ilg9ogq1ucw6uro"); // c = 0;
699 UNSUPPORTED("5bkjzlhrfwudnhdqvgcum89jk"); // b = 0;
700 UNSUPPORTED("7zun8aoc3cgzj5s89wluw8xq4"); // for (i = 0; i < ng; i++) {
701 UNSUPPORTED("3u59zam8do4bsljnozwf0fx8s"); // boxf bb = bbs[i];
702 UNSUPPORTED("bzl9bfq6ylumj5u7zvlkdd1fy"); // W = bb.UR.x - bb.LL.x + 2 * margin;
703 UNSUPPORTED("6keu83u4vpu8uuctqbhsxm1f"); // H = bb.UR.y - bb.LL.y + 2 * margin;
704 UNSUPPORTED("66ehok2jts1k8egaj9o3d4mhd"); // b -= (W + H);
705 UNSUPPORTED("ecmu5b20wldgp7ltdenk6r6y3"); // c -= (W * H);
706 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
707 UNSUPPORTED("6eylx7urr9urjgcpq15mz9mbx"); // d = b * b - 4.0 * a * c;
708 UNSUPPORTED("6gohrnij1pp8uigeqwldand78"); // if (d < 0) {
709 UNSUPPORTED("aqx00bc7erj1s1idkis6k0xou"); // agerr(AGERR, "libpack: disc = %f ( < 0)\n", d);
710 UNSUPPORTED("8d9xfgejx5vgd6shva5wk5k06"); // return -1;
711 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
712 UNSUPPORTED("7w2mz82iiqh2etpb0eadr0ddt"); // r = sqrt(d);
713 UNSUPPORTED("1iy2sivksdztrjf4h3k0algs0"); // l1 = (-b + r) / (2 * a);
714 UNSUPPORTED("erlkg1mh0rfh16bj67xa68qmy"); // l2 = (-b - r) / (2 * a);
715 UNSUPPORTED("cr6iwpvlne2bcqjtejlgpsa48"); // root = (int) l1;
716 UNSUPPORTED("1gg2fab0bfmz9yl7zohktb3g9"); // if (root == 0) root = 1;
717 UNSUPPORTED("3kxq91b30qey91r4hkc9jrb9n"); // if (Verbose > 2) {
718 UNSUPPORTED("55e0qgjsydjz1tjye67igkeny"); // fprintf(stderr, "Packing: compute grid size\n");
719 UNSUPPORTED("eirgraz2ak76fhuf5dbajvv02"); // fprintf(stderr, "a %f b %f c %f d %f r %f\n", a, b, c, d, r);
720 UNSUPPORTED("eekm76wxww26ubtn5v9ypypiy"); // fprintf(stderr, "root %d (%f) %d (%f)\n", root, l1, (int) l2,
721 UNSUPPORTED("eilpovu9tr2mn82840g4gwduy"); // l2);
722 UNSUPPORTED("5pjri22kxtwvbb3hbf0n1qput"); // fprintf(stderr, " r1 %f r2 %f\n", a * l1 * l1 + b * l1 + c,
723 UNSUPPORTED("3h2jsnh1591w0kbq88cmk89ul"); // a * l2 * l2 + b * l2 + c);
724 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
725 UNSUPPORTED("4hzlvk8t0qcn15wg6988vwra9"); // return root;
726 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
727
728 throw new UnsupportedOperationException();
729 }
730
731
732
733
734 //3 dob2o9m8sfsrsm1g93hfznsp
735 // static int cmpf(const void *X, const void *Y)
736 public static Object cmpf(Object... arg) {
737 UNSUPPORTED("4nc6jpvian95rmtwnhxuaib4b"); // static int cmpf(const void *X, const void *Y)
738 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
739 UNSUPPORTED("2eux9vyonke173k6wx67nvmeu"); // ginfo *x = *(ginfo **) X;
740 UNSUPPORTED("4rofn9loku05xrr4fp3slcs6r"); // ginfo *y = *(ginfo **) Y;
741 UNSUPPORTED("95s1jm8x7y2tc9y914raaljrs"); // /* flip order to get descending array */
742 UNSUPPORTED("46lhhdh1hfndiefr57nzqj6ib"); // return (y->perim - x->perim);
743 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
744
745 throw new UnsupportedOperationException();
746 }
747
748
749
750
751 //3 4r8s4k6p01ynfz88kz50ttlr8
752 // void fillLine(pointf p, pointf q, PointSet * ps)
753 public static Object fillLine(Object... arg) {
754 UNSUPPORTED("a5130f5j305uj46zjcopit703"); // void fillLine(pointf p, pointf q, PointSet * ps)
755 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
756 UNSUPPORTED("1duvjyh47lxf7d7ue5car0vsj"); // int x1 = ROUND(p.x);
757 UNSUPPORTED("9pzzawvcmpw6i93hjb26rq63h"); // int y1 = ROUND(p.y);
758 UNSUPPORTED("3057bhojttdigycfgf1lyio0f"); // int x2 = ROUND(q.x);
759 UNSUPPORTED("5bgjp0mm0o564h53ba0zrnbhq"); // int y2 = ROUND(q.y);
760 UNSUPPORTED("d8jccesapcqy22p9y3vtpm616"); // int d, x, y, ax, ay, sx, sy, dx, dy;
761 UNSUPPORTED("6vdso33syc5f2j40e5bsuhb83"); // dx = x2 - x1;
762 UNSUPPORTED("6zrp5a2timck4sou5qym3hsrd"); // ax = ABS(dx) << 1;
763 UNSUPPORTED("ay754u242psxjbqm7n8azez52"); // sx = SGN(dx);
764 UNSUPPORTED("cmvkhiqbscc6cgktpynqycfhn"); // dy = y2 - y1;
765 UNSUPPORTED("eigqi5q47z9sk7utvxv72dif0"); // ay = ABS(dy) << 1;
766 UNSUPPORTED("1ifl8r2gf1amwzvvvfohlx6uw"); // sy = SGN(dy);
767 UNSUPPORTED("2x97iysx5j91wtf3wmgeo2pt"); // /* fprintf (stderr, "fillLine %d %d - %d %d\n", x1,y1,x2,y2); */
768 UNSUPPORTED("9y4duec6l30q5clw8qd85w784"); // x = x1;
769 UNSUPPORTED("6rlb844uhus8twyid93q8kqbs"); // y = y1;
770 UNSUPPORTED("ccle7h8pebi673oczx2fj5nxi"); // if (ax > ay) { /* x dominant */
771 UNSUPPORTED("7h60osio7amm1igvh0h7ipgx9"); // d = ay - (ax >> 1);
772 UNSUPPORTED("2v2pue2y1u2d4ka6733iv5vk0"); // for (;;) {
773 UNSUPPORTED("13fg1e71tu92h0bfrs9xka8tb"); // /* fprintf (stderr, " addPS %d %d\n", x,y); */
774 UNSUPPORTED("62ytgdd26o3p2xgoq37xnoifl"); // addPS(ps, x, y);
775 UNSUPPORTED("2lero25dpfd7f3wrrhmxhly2h"); // if (x == x2)
776 UNSUPPORTED("6an8ocqq0sjru42k4aathe94m"); // return;
777 UNSUPPORTED("9erzrv938084t7vmam5bxw7mx"); // if (d >= 0) {
778 UNSUPPORTED("9cka76ykusjv3k3y8fda4nfk0"); // y += sy;
779 UNSUPPORTED("bynlwjpgqdvo01z64gm1sf2ga"); // d -= ax;
780 UNSUPPORTED("7g94ubxa48a1yi3mf9v521b7c"); // }
781 UNSUPPORTED("1vyuktjou7iccegm28w06drqv"); // x += sx;
782 UNSUPPORTED("3a5mkjlhp2t10gtqh3qj69q2v"); // d += ay;
783 UNSUPPORTED("4mhlpjofolwivhm0tl8cxznly"); // }
784 UNSUPPORTED("161urjc4hdupo7zswtjf376th"); // } else { /* y dominant */
785 UNSUPPORTED("39keqb5njfkczwllbrur21irg"); // d = ax - (ay >> 1);
786 UNSUPPORTED("2v2pue2y1u2d4ka6733iv5vk0"); // for (;;) {
787 UNSUPPORTED("13fg1e71tu92h0bfrs9xka8tb"); // /* fprintf (stderr, " addPS %d %d\n", x,y); */
788 UNSUPPORTED("62ytgdd26o3p2xgoq37xnoifl"); // addPS(ps, x, y);
789 UNSUPPORTED("colj1ywjuo0sy4arrbdvl8jfd"); // if (y == y2)
790 UNSUPPORTED("6an8ocqq0sjru42k4aathe94m"); // return;
791 UNSUPPORTED("9erzrv938084t7vmam5bxw7mx"); // if (d >= 0) {
792 UNSUPPORTED("14xdaydif31mwi2l1z4k2oepc"); // x += sx;
793 UNSUPPORTED("jjd6xfq9lhh82zyxg0ikry3"); // d -= ay;
794 UNSUPPORTED("7g94ubxa48a1yi3mf9v521b7c"); // }
795 UNSUPPORTED("58q6s3oua65hpto8xa7dz10sf"); // y += sy;
796 UNSUPPORTED("d3ci5x842hrarrzjeputfalm"); // d += ax;
797 UNSUPPORTED("4mhlpjofolwivhm0tl8cxznly"); // }
798 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
799 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
800
801 throw new UnsupportedOperationException();
802 }
803
804
805
806
807 //3 6ewq3stx5of82qf0ol1xwjf0o
808 // static void fillEdge(Agedge_t * e, point p, PointSet * ps, int dx, int dy, int ssize, int doS)
809 public static Object fillEdge(Object... arg) {
810 UNSUPPORTED("e2z2o5ybnr5tgpkt8ty7hwan1"); // static void
811 UNSUPPORTED("9b96jon8bxkz7znkmv20875w6"); // fillEdge(Agedge_t * e, point p, PointSet * ps, int dx, int dy,
812 UNSUPPORTED("8yrc5v6qafl4vg0xln2we5kn3"); // int ssize, int doS)
813 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
814 UNSUPPORTED("9e6bnowy6jfhnib5uev3scpsu"); // int j, k;
815 UNSUPPORTED("37thdceezsvepe7tlyfatrbcw"); // bezier bz;
816 UNSUPPORTED("9j8f6779znpou18ci9dqadum3"); // pointf pt, hpt;
817 UNSUPPORTED("15nfkonrgeitraj70893dwyoj"); // Agnode_t *h;
818 UNSUPPORTED("5adeloig3qt9512e0wlnw0stj"); // P2PF(p, pt);
819 UNSUPPORTED("9k8qdzbe2z8whvdrbl13aayb6"); // /* If doS is false or the edge has not splines, use line segment */
820 UNSUPPORTED("bd6qvosxwfyw4x4l6o4442ous"); // if (!doS || !ED_spl(e)) {
821 UNSUPPORTED("1058dpzesyxnmmn0hdydhfm1n"); // h = aghead(e);
822 UNSUPPORTED("dyy30pakjvyqg13qemnd5v50i"); // hpt = coord(h);
823 UNSUPPORTED("d3qru0pr047p8fj3evxw9gstq"); // ((hpt).x += dx, (hpt).y += dy);
824 UNSUPPORTED("99rq045btzmqomibgmhvv8wce"); // ((hpt).x = (((hpt).x) >= 0 ? ((hpt).x)/(ssize) : ((((hpt).x)+1)/(ssize))-1), (hpt).y = (((hpt).y) >= 0 ? ((hpt).y)/((ssize)) : ((((hpt).y)+1)/((ssize)))-1));
825 UNSUPPORTED("74hokpj1xz0ky4pomxsicfkvi"); // fillLine(pt, hpt, ps);
826 UNSUPPORTED("a7fgam0j0jm7bar0mblsv3no4"); // return;
827 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
828 UNSUPPORTED("e9vow5lzqvgcxabgjj99yokjr"); // for (j = 0; j < ED_spl(e)->size; j++) {
829 UNSUPPORTED("8ni4zfvf78h93ucjuoqtuomjh"); // bz = ED_spl(e)->list[j];
830 UNSUPPORTED("2qc36pchob3dha7c8jedwalcn"); // if (bz.sflag) {
831 UNSUPPORTED("d5qnj0ut8jldhlvcj8dgvm1r5"); // pt = bz.sp;
832 UNSUPPORTED("8h1rn4kivdousjdpfa1mmawwm"); // hpt = bz.list[0];
833 UNSUPPORTED("7hf6867dr3c65w2pf4xq323mu"); // k = 1;
834 UNSUPPORTED("7yhr8hn3r6wohafwxrt85b2j2"); // } else {
835 UNSUPPORTED("bf65xvm2dou3rh6h7knsa2us5"); // pt = bz.list[0];
836 UNSUPPORTED("3z2k5orut98eo0vq0pyevi2ed"); // hpt = bz.list[1];
837 UNSUPPORTED("dz2m8yuk8yfnc2srukp3nh4tc"); // k = 2;
838 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
839 UNSUPPORTED("cgn9befmvtd4d8yfqs126lbpq"); // ((pt).x += dx, (pt).y += dy);
840 UNSUPPORTED("dpf9cre3x7edch35g0alvo167"); // ((pt).x = (((pt).x) >= 0 ? ((pt).x)/(ssize) : ((((pt).x)+1)/(ssize))-1), (pt).y = (((pt).y) >= 0 ? ((pt).y)/((ssize)) : ((((pt).y)+1)/((ssize)))-1));
841 UNSUPPORTED("d3qru0pr047p8fj3evxw9gstq"); // ((hpt).x += dx, (hpt).y += dy);
842 UNSUPPORTED("99rq045btzmqomibgmhvv8wce"); // ((hpt).x = (((hpt).x) >= 0 ? ((hpt).x)/(ssize) : ((((hpt).x)+1)/(ssize))-1), (hpt).y = (((hpt).y) >= 0 ? ((hpt).y)/((ssize)) : ((((hpt).y)+1)/((ssize)))-1));
843 UNSUPPORTED("74hokpj1xz0ky4pomxsicfkvi"); // fillLine(pt, hpt, ps);
844 UNSUPPORTED("6gftmkq3mhknwzkm4an4llzet"); // for (; k < bz.size; k++) {
845 UNSUPPORTED("a9t723l1szseqti9o12357emd"); // pt = hpt;
846 UNSUPPORTED("b960h12noe0vcvmcdqt04yz5r"); // hpt = bz.list[k];
847 UNSUPPORTED("uxitedizhv3r59kwo9hloxga"); // ((hpt).x += dx, (hpt).y += dy);
848 UNSUPPORTED("g2ys8m7lhj8ygyslxd1awd8c"); // ((hpt).x = (((hpt).x) >= 0 ? ((hpt).x)/(ssize) : ((((hpt).x)+1)/(ssize))-1), (hpt).y = (((hpt).y) >= 0 ? ((hpt).y)/((ssize)) : ((((hpt).y)+1)/((ssize)))-1));
849 UNSUPPORTED("b6h1kxqo0bbiehrmk1374qmig"); // fillLine(pt, hpt, ps);
850 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
851 UNSUPPORTED("973cbk976xio10xxw9bgkyen2"); // if (bz.eflag) {
852 UNSUPPORTED("a9t723l1szseqti9o12357emd"); // pt = hpt;
853 UNSUPPORTED("mppggrplo1gua39zwczw05dl"); // hpt = bz.ep;
854 UNSUPPORTED("uxitedizhv3r59kwo9hloxga"); // ((hpt).x += dx, (hpt).y += dy);
855 UNSUPPORTED("g2ys8m7lhj8ygyslxd1awd8c"); // ((hpt).x = (((hpt).x) >= 0 ? ((hpt).x)/(ssize) : ((((hpt).x)+1)/(ssize))-1), (hpt).y = (((hpt).y) >= 0 ? ((hpt).y)/((ssize)) : ((((hpt).y)+1)/((ssize)))-1));
856 UNSUPPORTED("b6h1kxqo0bbiehrmk1374qmig"); // fillLine(pt, hpt, ps);
857 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
858 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
859 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
860
861 throw new UnsupportedOperationException();
862 }
863
864
865
866
867 //3 1qqcfh1obd0wpw60zt3qb10o1
868 // static void genBox(boxf bb0, ginfo * info, int ssize, int margin, point center, char* s)
869 public static Object genBox(Object... arg) {
870 UNSUPPORTED("e2z2o5ybnr5tgpkt8ty7hwan1"); // static void
871 UNSUPPORTED("dkh8x4gma6inyhel8ms5kdqyn"); // genBox(boxf bb0, ginfo * info, int ssize, int margin, point center, char* s)
872 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
873 UNSUPPORTED("aqkjgsdfo55oljkejalj18x5o"); // PointSet *ps;
874 UNSUPPORTED("d9cafq96lxhglzixa87lnoi5j"); // int W, H;
875 UNSUPPORTED("20jw6e25uf75jfj884w81pyn6"); // point UR, LL;
876 UNSUPPORTED("dli0hhfxexiypybw00gp6530v"); // box bb;
877 UNSUPPORTED("7ksbgqgqrh7y32ijnkxl8zaw0"); // int x, y;
878 UNSUPPORTED("bmfwjlyug1vwjdhkwhf2qxh0a"); // BF2B(bb0, bb);
879 UNSUPPORTED("6udv07xykmb0e2pdyqurnc9p4"); // ps = newPS();
880 UNSUPPORTED("6xe56afm9k659fq07xtcn9147"); // LL.x = center.x - margin;
881 UNSUPPORTED("dh3kj8xysu2kv9k3a983iqav3"); // LL.y = center.y - margin;
882 UNSUPPORTED("585l7y7guge9z8fsbbxli30rj"); // UR.x = center.x + bb.UR.x - bb.LL.x + margin;
883 UNSUPPORTED("e584696y40atkpz430l6plczr"); // UR.y = center.y + bb.UR.y - bb.LL.y + margin;
884 UNSUPPORTED("9v2053h0uv8gyfep4zczhjyd"); // ((LL).x = (((LL).x) >= 0 ? ((LL).x)/(ssize) : ((((LL).x)+1)/(ssize))-1), (LL).y = (((LL).y) >= 0 ? ((LL).y)/((ssize)) : ((((LL).y)+1)/((ssize)))-1));
885 UNSUPPORTED("de40ubd0t9d1rv08pcspaltry"); // ((UR).x = (((UR).x) >= 0 ? ((UR).x)/(ssize) : ((((UR).x)+1)/(ssize))-1), (UR).y = (((UR).y) >= 0 ? ((UR).y)/((ssize)) : ((((UR).y)+1)/((ssize)))-1));
886 UNSUPPORTED("afbpk7wdnlzfrfjsfanv0nxp9"); // for (x = LL.x; x <= UR.x; x++)
887 UNSUPPORTED("eqzaosdvrone8rhgu36tsk45v"); // for (y = LL.y; y <= UR.y; y++)
888 UNSUPPORTED("5jwcnu6k267vszq6le3zpltr2"); // addPS(ps, x, y);
889 UNSUPPORTED("b6965k7cvxgazo4d1x1gpicax"); // info->cells = pointsOf(ps);
890 UNSUPPORTED("79rp86itd9b91tc0db54220fr"); // info->nc = sizeOf(ps);
891 UNSUPPORTED("agmsrp2u25tarnb04rrmz8szf"); // W = ((int)ceil((bb0.UR.x - bb0.LL.x + 2 * margin)/(ssize)));
892 UNSUPPORTED("37qvodfrig2t4hcn9v3c7fita"); // H = ((int)ceil((bb0.UR.y - bb0.LL.y + 2 * margin)/(ssize)));
893 UNSUPPORTED("2w04og11wkyoe6e59x489rdlp"); // info->perim = W + H;
894 UNSUPPORTED("3kxq91b30qey91r4hkc9jrb9n"); // if (Verbose > 2) {
895 UNSUPPORTED("bbuxsg26kpzb2fl660hjri9l8"); // int i;
896 UNSUPPORTED("f23g1eoeiffc45ucsecqxqkap"); // fprintf(stderr, "%s no. cells %d W %d H %d\n",
897 UNSUPPORTED("dbm7epl7o6mpeo72klw135uni"); // s, info->nc, W, H);
898 UNSUPPORTED("5raufl639beqv87bsfap22ar5"); // for (i = 0; i < info->nc; i++)
899 UNSUPPORTED("36wdram8nco5bacym97n1egc0"); // fprintf(stderr, " %d %d cell\n", info->cells[i].x,
900 UNSUPPORTED("606tqxapdsuzdhl2ssic0tz2v"); // info->cells[i].y);
901 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
902 UNSUPPORTED("dg5ijmmysdxc2qm5j58u0zr8i"); // freePS(ps);
903 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
904
905 throw new UnsupportedOperationException();
906 }
907
908
909
910
911 //3 5un21g6597dr1wxwpjststcy2
912 // static int genPoly(Agraph_t * root, Agraph_t * g, ginfo * info, int ssize, pack_info * pinfo, point center)
913 public static Object genPoly(Object... arg) {
914 UNSUPPORTED("eyp5xkiyummcoc88ul2b6tkeg"); // static int
915 UNSUPPORTED("29xjrg34ztih2ce44tcl0h5dl"); // genPoly(Agraph_t * root, Agraph_t * g, ginfo * info,
916 UNSUPPORTED("103ox5jcn94jkt4i92802xe30"); // int ssize, pack_info * pinfo, point center)
917 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
918 UNSUPPORTED("aqkjgsdfo55oljkejalj18x5o"); // PointSet *ps;
919 UNSUPPORTED("d9cafq96lxhglzixa87lnoi5j"); // int W, H;
920 UNSUPPORTED("9z1w1elfjsy9fmy4de64anci3"); // point LL, UR;
921 UNSUPPORTED("du26lyeqo8abix4w0d22tb9t8"); // point pt, s2;
922 UNSUPPORTED("bz0wmxtnzgka3zfovkbr7eozh"); // pointf ptf;
923 UNSUPPORTED("y2e8aue8lq20s36dp5cktigw"); // Agraph_t *eg; /* graph containing edges */
924 UNSUPPORTED("2jcii9cclu1dijzqekzc175pe"); // Agnode_t *n;
925 UNSUPPORTED("36vshotvjkc5iodgg7nq6qa2r"); // Agedge_t *e;
926 UNSUPPORTED("7ksbgqgqrh7y32ijnkxl8zaw0"); // int x, y;
927 UNSUPPORTED("bftz89757hgmx7ivuna8lc4z6"); // int dx, dy;
928 UNSUPPORTED("8uujemixuhlf040icq3zsh7j8"); // graph_t *subg;
929 UNSUPPORTED("bgh1ykg5jxme381zrqlfzre56"); // int margin = pinfo->margin;
930 UNSUPPORTED("7l72pjfqpydwx4ojgn4x8l6u7"); // int doSplines = pinfo->doSplines;
931 UNSUPPORTED("dli0hhfxexiypybw00gp6530v"); // box bb;
932 UNSUPPORTED("dqseu01ng2nnpewmpp95sm688"); // if (root)
933 UNSUPPORTED("3nj280m96ug062kyr3cutmoqh"); // eg = root;
934 UNSUPPORTED("div10atae09n36x269sl208r1"); // else
935 UNSUPPORTED("bcwj9q77uro493bbvuwbpo5vy"); // eg = g;
936 UNSUPPORTED("6udv07xykmb0e2pdyqurnc9p4"); // ps = newPS();
937 UNSUPPORTED("9i5jau3uugaz7oitfcmhousx1"); // dx = center.x - ROUND(GD_bb(g).LL.x);
938 UNSUPPORTED("66eemj62brnu3mglipwc7cqii"); // dy = center.y - ROUND(GD_bb(g).LL.y);
939 UNSUPPORTED("dj9kkvxpyum7mive0tpr3vfod"); // if (pinfo->mode == l_clust) {
940 UNSUPPORTED("bbuxsg26kpzb2fl660hjri9l8"); // int i;
941 UNSUPPORTED("5tckx2f0jgn7lryi9m2e7btre"); // void **alg;
942 UNSUPPORTED("3sna9ll8elsitmdj8rs4m15cr"); // /* backup the alg data */
943 UNSUPPORTED("cbau5vo7rkixloiylj1lwlytg"); // alg = (void **)gmalloc((agnnodes(g))*sizeof(void *));
944 UNSUPPORTED("1rckxjxqzxb846omrtt9yuxw3"); // for (i = 0, n = agfstnode(g); n; n = agnxtnode(g, n)) {
945 UNSUPPORTED("4xioornmodd5ydv19wigsz1lu"); // alg[i++] = ND_alg(n);
946 UNSUPPORTED("bqtu555nwh760awky8m65eec2"); // ND_alg(n) = 0;
947 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
948 UNSUPPORTED("5s8wtxkay1fm0fn50m39tk6fj"); // /* do bbox of top clusters */
949 UNSUPPORTED("axxs2u0a8b8lf42oqy6xq0bx1"); // for (i = 1; i <= GD_n_cluster(g); i++) {
950 UNSUPPORTED("2vrnig406r4mku4kxy2kf648a"); // subg = GD_clust(g)[i];
951 UNSUPPORTED("pfi3ma6w50rsu99wqswvhjgx"); // BF2B(GD_bb(subg), bb);
952 UNSUPPORTED("btynl1nm8k1pr7vp22utdesdj"); // if ((bb.UR.x > bb.LL.x) && (bb.UR.y > bb.LL.y)) {
953 UNSUPPORTED("ev14habqjuz1vhqxmavftlqlh"); // ((bb.LL).x += dx, (bb.LL).y += dy);
954 UNSUPPORTED("bdzc32hvn2ybrea165mrd66rg"); // ((bb.UR).x += dx, (bb.UR).y += dy);
955 UNSUPPORTED("55n48hmw8i7wktq78vfub4obw"); // bb.LL.x -= margin;
956 UNSUPPORTED("3756d2o8pocqpkunmmdj28zmf"); // bb.LL.y -= margin;
957 UNSUPPORTED("5urkhackfkfy3g74mu9xtpk5d"); // bb.UR.x += margin;
958 UNSUPPORTED("9pw4vnniswa2mnfe3olr8ciey"); // bb.UR.y += margin;
959 UNSUPPORTED("7thgtnyonec8a9sn8hizox5ig"); // ((bb.LL).x = (((bb.LL).x) >= 0 ? ((bb.LL).x)/(ssize) : ((((bb.LL).x)+1)/(ssize))-1), (bb.LL).y = (((bb.LL).y) >= 0 ? ((bb.LL).y)/((ssize)) : ((((bb.LL).y)+1)/((ssize)))-1));
960 UNSUPPORTED("f33jy5tuo13bi4db8gwf2ilvy"); // ((bb.UR).x = (((bb.UR).x) >= 0 ? ((bb.UR).x)/(ssize) : ((((bb.UR).x)+1)/(ssize))-1), (bb.UR).y = (((bb.UR).y) >= 0 ? ((bb.UR).y)/((ssize)) : ((((bb.UR).y)+1)/((ssize)))-1));
961 UNSUPPORTED("2fzfb48cw1tpgnx1fenamdt17"); // for (x = bb.LL.x; x <= bb.UR.x; x++)
962 UNSUPPORTED("dw8r9tjg3wg1jpgi9dg0ordai"); // for (y = bb.LL.y; y <= bb.UR.y; y++)
963 UNSUPPORTED("9fsyndaeb3wa4vnzkwju02aa6"); // addPS(ps, x, y);
964 UNSUPPORTED("b9ww7g26bsulxmdli1uykqg48"); // /* note which nodes are in clusters */
965 UNSUPPORTED("78m4mkxem2uguubk1gpgsx6oc"); // for (n = agfstnode(subg); n; n = agnxtnode(subg, n))
966 UNSUPPORTED("8uh55vusbiw7a90rj8jzyf76o"); // ND_clust(n) = subg;
967 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
968 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
969 UNSUPPORTED("ehh6v9228lmsahzxxt4e6a0f9"); // /* now do remaining nodes and edges */
970 UNSUPPORTED("attp4bsjqe99xnhi7lr7pszar"); // for (n = agfstnode(g); n; n = agnxtnode(g, n)) {
971 UNSUPPORTED("6kr9j6zxr0o4iy7nnp40lvuvz"); // ptf = coord(n);
972 UNSUPPORTED("75lvkqsq23pobdcg6bmqa6mt9"); // PF2P(ptf, pt);
973 UNSUPPORTED("4rskihc5j4vz55z4tvwua5wpa"); // ((pt).x += dx, (pt).y += dy);
974 UNSUPPORTED("1pf6jaggdcnmdld5nu4v22mh9"); // if (!ND_clust(n)) { /* n is not in a top-level cluster */
975 UNSUPPORTED("2hsx1r535mu25g5wpz8r66dbw"); // s2.x = margin + ND_xsize(n) / 2;
976 UNSUPPORTED("dpwfob5uc018fjpxki2nqa0si"); // s2.y = margin + ND_ysize(n) / 2;
977 UNSUPPORTED("d21twu3noz0h6l4k80bk03bfj"); // LL = sub_point(pt, s2);
978 UNSUPPORTED("pje1a01729779s85awuaqnan"); // UR = add_point(pt, s2);
979 UNSUPPORTED("60bthwtp8xgwr83vnyczt23xz"); // ((LL).x = (((LL).x) >= 0 ? ((LL).x)/(ssize) : ((((LL).x)+1)/(ssize))-1), (LL).y = (((LL).y) >= 0 ? ((LL).y)/((ssize)) : ((((LL).y)+1)/((ssize)))-1));
980 UNSUPPORTED("einuv6rwbjqts3wnufwpslxlv"); // ((UR).x = (((UR).x) >= 0 ? ((UR).x)/(ssize) : ((((UR).x)+1)/(ssize))-1), (UR).y = (((UR).y) >= 0 ? ((UR).y)/((ssize)) : ((((UR).y)+1)/((ssize)))-1));
981 UNSUPPORTED("83q0u30721zb0pgciso7ziyt8"); // for (x = LL.x; x <= UR.x; x++)
982 UNSUPPORTED("8c9342p5vvoot1zdjdtqlz2m9"); // for (y = LL.y; y <= UR.y; y++)
983 UNSUPPORTED("9fsyndaeb3wa4vnzkwju02aa6"); // addPS(ps, x, y);
984 UNSUPPORTED("dxoo8z7t9s82hnv32b8inj5fl"); // ((pt).x = (((pt).x) >= 0 ? ((pt).x)/(ssize) : ((((pt).x)+1)/(ssize))-1), (pt).y = (((pt).y) >= 0 ? ((pt).y)/((ssize)) : ((((pt).y)+1)/((ssize)))-1));
985 UNSUPPORTED("av9pal9kng6v9bj1n1r76p890"); // for (e = agfstout(eg, n); e; e = agnxtout(eg, e)) {
986 UNSUPPORTED("3244vgtt0iocuk7pgdpymweq8"); // fillEdge(e, pt, ps, dx, dy, ssize, doSplines);
987 UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
988 UNSUPPORTED("175pyfe8j8mbhdwvrbx3gmew9"); // } else {
989 UNSUPPORTED("dxoo8z7t9s82hnv32b8inj5fl"); // ((pt).x = (((pt).x) >= 0 ? ((pt).x)/(ssize) : ((((pt).x)+1)/(ssize))-1), (pt).y = (((pt).y) >= 0 ? ((pt).y)/((ssize)) : ((((pt).y)+1)/((ssize)))-1));
990 UNSUPPORTED("av9pal9kng6v9bj1n1r76p890"); // for (e = agfstout(eg, n); e; e = agnxtout(eg, e)) {
991 UNSUPPORTED("ea4ls3030vg98zyoy7palapff"); // if (ND_clust(n) == ND_clust(aghead(e)))
992 UNSUPPORTED("91ilj0e8yph90t7k4ijuq5rb0"); // continue;
993 UNSUPPORTED("3244vgtt0iocuk7pgdpymweq8"); // fillEdge(e, pt, ps, dx, dy, ssize, doSplines);
994 UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
995 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
996 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
997 UNSUPPORTED("33gzyqd0dti267fbnuc393vqf"); // /* restore the alg data */
998 UNSUPPORTED("1rckxjxqzxb846omrtt9yuxw3"); // for (i = 0, n = agfstnode(g); n; n = agnxtnode(g, n)) {
999 UNSUPPORTED("7d40zxbnht9hibe4reayjt3ab"); // ND_alg(n)= alg[i++];
1000 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1001 UNSUPPORTED("1avb9rstkf5v05swj5oavmbsx"); // free(alg);
1002 UNSUPPORTED("2lkbqgh2h6urnppaik3zo7ywi"); // } else
1003 UNSUPPORTED("attp4bsjqe99xnhi7lr7pszar"); // for (n = agfstnode(g); n; n = agnxtnode(g, n)) {
1004 UNSUPPORTED("6kr9j6zxr0o4iy7nnp40lvuvz"); // ptf = coord(n);
1005 UNSUPPORTED("75lvkqsq23pobdcg6bmqa6mt9"); // PF2P(ptf, pt);
1006 UNSUPPORTED("4rskihc5j4vz55z4tvwua5wpa"); // ((pt).x += dx, (pt).y += dy);
1007 UNSUPPORTED("32wulfgkqo1gdziiuynkzohma"); // s2.x = margin + ND_xsize(n) / 2;
1008 UNSUPPORTED("asa04lxhwek7h53q45xwt9eo3"); // s2.y = margin + ND_ysize(n) / 2;
1009 UNSUPPORTED("e4pwp7ppfey2ur2rzi0bnbarb"); // LL = sub_point(pt, s2);
1010 UNSUPPORTED("dtfkzedesg45sgmdx85bqajb"); // UR = add_point(pt, s2);
1011 UNSUPPORTED("2lukx7z9l672b9an4yd3kimpc"); // ((LL).x = (((LL).x) >= 0 ? ((LL).x)/(ssize) : ((((LL).x)+1)/(ssize))-1), (LL).y = (((LL).y) >= 0 ? ((LL).y)/((ssize)) : ((((LL).y)+1)/((ssize)))-1));
1012 UNSUPPORTED("1rt3uhmbxplvrk1o7obv4z3er"); // ((UR).x = (((UR).x) >= 0 ? ((UR).x)/(ssize) : ((((UR).x)+1)/(ssize))-1), (UR).y = (((UR).y) >= 0 ? ((UR).y)/((ssize)) : ((((UR).y)+1)/((ssize)))-1));
1013 UNSUPPORTED("dx18nl37frf8sg26xij552ejz"); // for (x = LL.x; x <= UR.x; x++)
1014 UNSUPPORTED("6a90v0hbdo93le7neim40no3u"); // for (y = LL.y; y <= UR.y; y++)
1015 UNSUPPORTED("dn4dbpnefy79i1g03hfsakcno"); // addPS(ps, x, y);
1016 UNSUPPORTED("8hl3q69p8aqetblqadqf2uhkf"); // ((pt).x = (((pt).x) >= 0 ? ((pt).x)/(ssize) : ((((pt).x)+1)/(ssize))-1), (pt).y = (((pt).y) >= 0 ? ((pt).y)/((ssize)) : ((((pt).y)+1)/((ssize)))-1));
1017 UNSUPPORTED("7hqutkde2o0fy2g0xv1yitxjf"); // for (e = agfstout(eg, n); e; e = agnxtout(eg, e)) {
1018 UNSUPPORTED("6zc0jmxujx99ljtqkmiydrjzq"); // fillEdge(e, pt, ps, dx, dy, ssize, doSplines);
1019 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
1020 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1021 UNSUPPORTED("b6965k7cvxgazo4d1x1gpicax"); // info->cells = pointsOf(ps);
1022 UNSUPPORTED("79rp86itd9b91tc0db54220fr"); // info->nc = sizeOf(ps);
1023 UNSUPPORTED("es3gh0zqwlw0iiolk6x45vege"); // W = ((int)ceil((GD_bb(g).UR.x - GD_bb(g).LL.x + 2 * margin)/(ssize)));
1024 UNSUPPORTED("bfr7ygy7lkfhss45a84thsa7s"); // H = ((int)ceil((GD_bb(g).UR.y - GD_bb(g).LL.y + 2 * margin)/(ssize)));
1025 UNSUPPORTED("2w04og11wkyoe6e59x489rdlp"); // info->perim = W + H;
1026 UNSUPPORTED("3kxq91b30qey91r4hkc9jrb9n"); // if (Verbose > 2) {
1027 UNSUPPORTED("bbuxsg26kpzb2fl660hjri9l8"); // int i;
1028 UNSUPPORTED("f23g1eoeiffc45ucsecqxqkap"); // fprintf(stderr, "%s no. cells %d W %d H %d\n",
1029 UNSUPPORTED("dhnvei7zsgifid5vebovzl15"); // agnameof(g), info->nc, W, H);
1030 UNSUPPORTED("5raufl639beqv87bsfap22ar5"); // for (i = 0; i < info->nc; i++)
1031 UNSUPPORTED("36wdram8nco5bacym97n1egc0"); // fprintf(stderr, " %d %d cell\n", info->cells[i].x,
1032 UNSUPPORTED("606tqxapdsuzdhl2ssic0tz2v"); // info->cells[i].y);
1033 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1034 UNSUPPORTED("dg5ijmmysdxc2qm5j58u0zr8i"); // freePS(ps);
1035 UNSUPPORTED("5oxhd3fvp0gfmrmz12vndnjt"); // return 0;
1036 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1037
1038 throw new UnsupportedOperationException();
1039 }
1040
1041
1042
1043
1044 //3 c9qfbamaiq4liwngpzcw4g15e
1045 // static int fits(int x, int y, ginfo * info, PointSet * ps, point * place, int step, boxf* bbs)
1046 public static Object fits(Object... arg) {
1047 UNSUPPORTED("eyp5xkiyummcoc88ul2b6tkeg"); // static int
1048 UNSUPPORTED("1qf35tpyffbtwwrvw009al0jw"); // fits(int x, int y, ginfo * info, PointSet * ps, point * place, int step, boxf* bbs)
1049 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1050 UNSUPPORTED("7s7b72q8pqs2vwdmytpwqd8fw"); // point *cells = info->cells;
1051 UNSUPPORTED("dx19rog6lno8k3o89p0yw80de"); // int n = info->nc;
1052 UNSUPPORTED("8w8wc32jqtifc9dhh8tzlcnzx"); // point cell;
1053 UNSUPPORTED("b17di9c7wgtqm51bvsyxz6e2f"); // int i;
1054 UNSUPPORTED("bs4odh29a6rnkbmhk59sanyar"); // point LL;
1055 UNSUPPORTED("1vi49g48u2rc9v88yhabta0yw"); // for (i = 0; i < n; i++) {
1056 UNSUPPORTED("ct2td16327xzczczmc9cxbxhr"); // cell = *cells;
1057 UNSUPPORTED("8cjpqypsv5o9zwngain8itc5l"); // cell.x += x;
1058 UNSUPPORTED("8yup3gihmsdumxy94c06s7514"); // cell.y += y;
1059 UNSUPPORTED("qak41spsdwyya6gwwbgwkl53"); // if (inPS(ps, cell))
1060 UNSUPPORTED("6f1138i13x0xz1bf1thxgjgka"); // return 0;
1061 UNSUPPORTED("cbdyrzw9tiul7z5wurhto17q"); // cells++;
1062 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1063 UNSUPPORTED("2bp5zif4pew12zbwc252fzewz"); // PF2P(bbs[info->index].LL, LL);
1064 UNSUPPORTED("d9jkxf05nyf0mf7eh3mig9p6"); // place->x = step * x - LL.x;
1065 UNSUPPORTED("ciocs0be2oq5sze7g0mgy1k3c"); // place->y = step * y - LL.y;
1066 UNSUPPORTED("1eqiy1kl714gqpoigzeqcvf5p"); // cells = info->cells;
1067 UNSUPPORTED("1vi49g48u2rc9v88yhabta0yw"); // for (i = 0; i < n; i++) {
1068 UNSUPPORTED("ct2td16327xzczczmc9cxbxhr"); // cell = *cells;
1069 UNSUPPORTED("8cjpqypsv5o9zwngain8itc5l"); // cell.x += x;
1070 UNSUPPORTED("8yup3gihmsdumxy94c06s7514"); // cell.y += y;
1071 UNSUPPORTED("g4rk5u461kggq0l6ilauwlo4"); // insertPS(ps, cell);
1072 UNSUPPORTED("cbdyrzw9tiul7z5wurhto17q"); // cells++;
1073 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1074 UNSUPPORTED("41xjj6amd58fjieqo5xy29iwq"); // if (Verbose >= 2)
1075 UNSUPPORTED("69kux3f6h23w09bw3rza60lq8"); // fprintf(stderr, "cc (%d cells) at (%d,%d) (%d,%d)\n", n, x, y,
1076 UNSUPPORTED("5aew9usp1puf2vjfyvkt8ki4u"); // place->x, place->y);
1077 UNSUPPORTED("3tcgz4dupb6kw5tdk7n3pca2l"); // return 1;
1078 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1079
1080 throw new UnsupportedOperationException();
1081 }
1082
1083
1084
1085
1086 //3 3bievtf2w4iqqz5qhvvye4imw
1087 // static void placeFixed(ginfo * info, PointSet * ps, point * place, point center)
1088 public static Object placeFixed(Object... arg) {
1089 UNSUPPORTED("e2z2o5ybnr5tgpkt8ty7hwan1"); // static void
1090 UNSUPPORTED("5u8hxdr88fztn78otn0zptwfo"); // placeFixed(ginfo * info, PointSet * ps, point * place, point center)
1091 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1092 UNSUPPORTED("7s7b72q8pqs2vwdmytpwqd8fw"); // point *cells = info->cells;
1093 UNSUPPORTED("dx19rog6lno8k3o89p0yw80de"); // int n = info->nc;
1094 UNSUPPORTED("b17di9c7wgtqm51bvsyxz6e2f"); // int i;
1095 UNSUPPORTED("dxwnlmthaq0wgr96pkmv2fk9e"); // place->x = -center.x;
1096 UNSUPPORTED("6btj6uln4as29swn0gnfjlfrb"); // place->y = -center.y;
1097 UNSUPPORTED("1vi49g48u2rc9v88yhabta0yw"); // for (i = 0; i < n; i++) {
1098 UNSUPPORTED("chepmmzu07rgo2s6lhxc1yust"); // insertPS(ps, *cells++);
1099 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1100 UNSUPPORTED("41xjj6amd58fjieqo5xy29iwq"); // if (Verbose >= 2)
1101 UNSUPPORTED("efy6uprafzlbzcuuea0iywmn"); // fprintf(stderr, "cc (%d cells) at (%d,%d)\n", n, place->x,
1102 UNSUPPORTED("erkjyjoclu003wz9pn5id7r1n"); // place->y);
1103 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1104
1105 throw new UnsupportedOperationException();
1106 }
1107
1108
1109
1110
1111 //3 6ly0zu2bl9e2z9zb6tgiis6ji
1112 // static void placeGraph(int i, ginfo * info, PointSet * ps, point * place, int step, int margin, boxf* bbs)
1113 public static Object placeGraph(Object... arg) {
1114 UNSUPPORTED("e2z2o5ybnr5tgpkt8ty7hwan1"); // static void
1115 UNSUPPORTED("bomsrpn26g609cfz6rxujk3bu"); // placeGraph(int i, ginfo * info, PointSet * ps, point * place, int step,
1116 UNSUPPORTED("bqojgt4ai0dr1qe25n6dgk8zp"); // int margin, boxf* bbs)
1117 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1118 UNSUPPORTED("7ksbgqgqrh7y32ijnkxl8zaw0"); // int x, y;
1119 UNSUPPORTED("d9cafq96lxhglzixa87lnoi5j"); // int W, H;
1120 UNSUPPORTED("90urniwcsawwori7426tta0kx"); // int bnd;
1121 UNSUPPORTED("3cvtov5t3e3nw7jf8qx7h8eeo"); // boxf bb = bbs[info->index];
1122 UNSUPPORTED("bpwdzzlwgsm5lqfqgzplsw92a"); // if (i == 0) {
1123 UNSUPPORTED("3zg9yd27ewzn95seu5sp3bxw7"); // W = ((int)ceil((bb.UR.x - bb.LL.x + 2 * margin)/(step)));
1124 UNSUPPORTED("emdieik6twlh1vjo5ywsbcdaz"); // H = ((int)ceil((bb.UR.y - bb.LL.y + 2 * margin)/(step)));
1125 UNSUPPORTED("65t43oobc63x9wvv9o6muhprh"); // if (fits(-W / 2, -H / 2, info, ps, place, step, bbs))
1126 UNSUPPORTED("6cprbghvenu9ldc0ez1ifc63q"); // return;
1127 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1128 UNSUPPORTED("18spugm2e70i89b481k3i5w70"); // if (fits(0, 0, info, ps, place, step, bbs))
1129 UNSUPPORTED("a7fgam0j0jm7bar0mblsv3no4"); // return;
1130 UNSUPPORTED("jx7bqatqf7k5p5w0ci42dfd8"); // W = ceil(bb.UR.x - bb.LL.x);
1131 UNSUPPORTED("1sc44fow0xifkubpnp87bjwp"); // H = ceil(bb.UR.y - bb.LL.y);
1132 UNSUPPORTED("8wngkvmkilwdbxat9rddy9qv6"); // if (W >= H) {
1133 UNSUPPORTED("1xe0f3svmp0ieofq7s2ss9z2n"); // for (bnd = 1;; bnd++) {
1134 UNSUPPORTED("9i002a0gwbjlfbzmkcc26n16h"); // x = 0;
1135 UNSUPPORTED("bbyf4zi7pju6lcgspmut3qygt"); // y = -bnd;
1136 UNSUPPORTED("dhlxiqgb2o6a1bomoafek4b66"); // for (; x < bnd; x++)
1137 UNSUPPORTED("c80k1vihrjb8lsuc6moaq5bh3"); // if (fits(x, y, info, ps, place, step, bbs))
1138 UNSUPPORTED("46hqh1l8dmimisi2nr03ntomn"); // return;
1139 UNSUPPORTED("eyxe9lc00uz4eqb1uii15fjc1"); // for (; y < bnd; y++)
1140 UNSUPPORTED("c80k1vihrjb8lsuc6moaq5bh3"); // if (fits(x, y, info, ps, place, step, bbs))
1141 UNSUPPORTED("46hqh1l8dmimisi2nr03ntomn"); // return;
1142 UNSUPPORTED("9s5n7ukau4s2kpxp4szrf537q"); // for (; x > -bnd; x--)
1143 UNSUPPORTED("c80k1vihrjb8lsuc6moaq5bh3"); // if (fits(x, y, info, ps, place, step, bbs))
1144 UNSUPPORTED("46hqh1l8dmimisi2nr03ntomn"); // return;
1145 UNSUPPORTED("2p7aqe0xpy2yshac8hs4h8boz"); // for (; y > -bnd; y--)
1146 UNSUPPORTED("c80k1vihrjb8lsuc6moaq5bh3"); // if (fits(x, y, info, ps, place, step, bbs))
1147 UNSUPPORTED("46hqh1l8dmimisi2nr03ntomn"); // return;
1148 UNSUPPORTED("7zfcwps71uh29bw8vxk0wu5r6"); // for (; x < 0; x++)
1149 UNSUPPORTED("c80k1vihrjb8lsuc6moaq5bh3"); // if (fits(x, y, info, ps, place, step, bbs))
1150 UNSUPPORTED("46hqh1l8dmimisi2nr03ntomn"); // return;
1151 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1152 UNSUPPORTED("c07up7zvrnu2vhzy6d7zcu94g"); // } else {
1153 UNSUPPORTED("1xe0f3svmp0ieofq7s2ss9z2n"); // for (bnd = 1;; bnd++) {
1154 UNSUPPORTED("3suauipkdshia74hhot2qydd6"); // y = 0;
1155 UNSUPPORTED("13guhblt4ee02wp7skslgweux"); // x = -bnd;
1156 UNSUPPORTED("2p7aqe0xpy2yshac8hs4h8boz"); // for (; y > -bnd; y--)
1157 UNSUPPORTED("c80k1vihrjb8lsuc6moaq5bh3"); // if (fits(x, y, info, ps, place, step, bbs))
1158 UNSUPPORTED("46hqh1l8dmimisi2nr03ntomn"); // return;
1159 UNSUPPORTED("dhlxiqgb2o6a1bomoafek4b66"); // for (; x < bnd; x++)
1160 UNSUPPORTED("c80k1vihrjb8lsuc6moaq5bh3"); // if (fits(x, y, info, ps, place, step, bbs))
1161 UNSUPPORTED("46hqh1l8dmimisi2nr03ntomn"); // return;
1162 UNSUPPORTED("eyxe9lc00uz4eqb1uii15fjc1"); // for (; y < bnd; y++)
1163 UNSUPPORTED("c80k1vihrjb8lsuc6moaq5bh3"); // if (fits(x, y, info, ps, place, step, bbs))
1164 UNSUPPORTED("46hqh1l8dmimisi2nr03ntomn"); // return;
1165 UNSUPPORTED("9s5n7ukau4s2kpxp4szrf537q"); // for (; x > -bnd; x--)
1166 UNSUPPORTED("c80k1vihrjb8lsuc6moaq5bh3"); // if (fits(x, y, info, ps, place, step, bbs))
1167 UNSUPPORTED("46hqh1l8dmimisi2nr03ntomn"); // return;
1168 UNSUPPORTED("ejcax560bkqv16vszo54w4m5d"); // for (; y > 0; y--)
1169 UNSUPPORTED("c80k1vihrjb8lsuc6moaq5bh3"); // if (fits(x, y, info, ps, place, step, bbs))
1170 UNSUPPORTED("46hqh1l8dmimisi2nr03ntomn"); // return;
1171 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1172 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1173 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1174
1175 throw new UnsupportedOperationException();
1176 }
1177
1178
1179 //1 cm57bp8kzzj7nhvnbzhzniya7
1180 // static packval_t* userVals
1181
1182
1183
1184
1185 //3 dy401uvesqi5waa3p7s48m4ab
1186 // static int ucmpf(const void *X, const void *Y)
1187 public static Object ucmpf(Object... arg) {
1188 UNSUPPORTED("137928stzn8zfxl3jxu2a3ai5"); // static int ucmpf(const void *X, const void *Y)
1189 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1190 UNSUPPORTED("1ku8n7iezmely5ex218gfmgnn"); // ainfo* x = *(ainfo **) X;
1191 UNSUPPORTED("c5kqjorns3t5qoc40cc435dzl"); // ainfo* y = *(ainfo **) Y;
1192 UNSUPPORTED("5tomfbuz1yassu35dwz1iq7vm"); // int dX = userVals[x->index];
1193 UNSUPPORTED("bpyepdnz0i98c1givec8sfzi8"); // int dY = userVals[y->index];
1194 UNSUPPORTED("esc8v2x5h3onwsqp6c6xno2wx"); // if (dX > dY) return 1;
1195 UNSUPPORTED("7qerkoonjr1hepr83sy6pv0tv"); // else if (dX < dY) return -1;
1196 UNSUPPORTED("895k5gbyc2kla939upm8m5u76"); // else return 0;
1197 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1198
1199 throw new UnsupportedOperationException();
1200 }
1201
1202
1203
1204
1205 //3 6x4xkvohgtocih0ggo5pnszne
1206 // static int acmpf(const void *X, const void *Y)
1207 public static Object acmpf(Object... arg) {
1208 UNSUPPORTED("423xzl59p1su4ak69hnavsj3y"); // static int acmpf(const void *X, const void *Y)
1209 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1210 UNSUPPORTED("1ku8n7iezmely5ex218gfmgnn"); // ainfo* x = *(ainfo **) X;
1211 UNSUPPORTED("c5kqjorns3t5qoc40cc435dzl"); // ainfo* y = *(ainfo **) Y;
1212 UNSUPPORTED("8gzrdc9r316hn5bgbdj9iwld"); // double dX = x->height + x->width;
1213 UNSUPPORTED("acl6jabv3oppesl52kwesjisc"); // double dY = y->height + y->width;
1214 UNSUPPORTED("3ydx317qb6esfml32gmrn8d2"); // if (dX < dY) return 1;
1215 UNSUPPORTED("6dxscssmk09iu34elvy825a17"); // else if (dX > dY) return -1;
1216 UNSUPPORTED("895k5gbyc2kla939upm8m5u76"); // else return 0;
1217 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1218
1219 throw new UnsupportedOperationException();
1220 }
1221
1222
1223
1224
1225 //3 1ri9de5rw5soigxidz94knl59
1226 // static point * arrayRects (int ng, boxf* gs, pack_info* pinfo)
1227 public static Object arrayRects(Object... arg) {
1228 UNSUPPORTED("7mjw19ag4ln47wi0vuem3rdo7"); // static point *
1229 UNSUPPORTED("7i2605a8yy8rvl2sjqdyq0zkr"); // arrayRects (int ng, boxf* gs, pack_info* pinfo)
1230 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1231 UNSUPPORTED("b17di9c7wgtqm51bvsyxz6e2f"); // int i;
1232 UNSUPPORTED("587clam8w31px41vh3zl1x5zz"); // int nr = 0, nc;
1233 UNSUPPORTED("3uj2h26d8pqkuu2k0mjvkeol9"); // int r, c;
1234 UNSUPPORTED("exshbiefqo5bvtelq35q1uihg"); // ainfo *info;
1235 UNSUPPORTED("wyaib9x4tjhrx2m1ezfsaukn"); // ainfo *ip;
1236 UNSUPPORTED("2s7rlgsp3tf6744uvlbowf61l"); // ainfo **sinfo;
1237 UNSUPPORTED("3dy5gn4dyvwvrrpcjcltwo1or"); // double* widths;
1238 UNSUPPORTED("c0nhg35w7lcgf18f246eg5tsw"); // double* heights;
1239 UNSUPPORTED("4d9aph59v9jbee7xholivf5zp"); // double v, wd, ht;
1240 UNSUPPORTED("7843lpndabgsr9cdbfkcywvvx"); // point* places = (point*)zmalloc((ng)*sizeof(point));
1241 UNSUPPORTED("2lzsl1e035wt5epd1h8f4bn8m"); // boxf bb;
1242 UNSUPPORTED("7l9fl3dxxtjbfy8hgqxikcdlp"); // int sz, rowMajor;
1243 UNSUPPORTED("83ixjypz1k5iieg2apicsmpgn"); // /* set up no. of rows and columns */
1244 UNSUPPORTED("c1codecudzu0sc5eeyf0k3shl"); // sz = pinfo->sz;
1245 UNSUPPORTED("368ad1d7qg13ji33rpsspgt8n"); // if (pinfo->flags & (1 << 0)) {
1246 UNSUPPORTED("9nsjbn4fps3cxesy71lw4otlx"); // rowMajor = 0;
1247 UNSUPPORTED("6r33xzmrfhkea13cb2uq9to3w"); // if (sz > 0) {
1248 UNSUPPORTED("t30y3kxgl5xg1b0x1pvhso1i"); // nr = sz;
1249 UNSUPPORTED("6ifv906e9hfiqnj8h4zuwcj4y"); // nc = (ng + (nr-1))/nr;
1250 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1251 UNSUPPORTED("8k75h069sv2k9b6tgz77dscwd"); // else {
1252 UNSUPPORTED("cio9a5vmyx6df3sfnalfboiuf"); // nr = ceil(sqrt(ng));
1253 UNSUPPORTED("6ifv906e9hfiqnj8h4zuwcj4y"); // nc = (ng + (nr-1))/nr;
1254 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1255 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1256 UNSUPPORTED("1nyzbeonram6636b1w955bypn"); // else {
1257 UNSUPPORTED("ctpc0t0nilg3t9gj01k4ywsj3"); // rowMajor = 1;
1258 UNSUPPORTED("6r33xzmrfhkea13cb2uq9to3w"); // if (sz > 0) {
1259 UNSUPPORTED("6errm4a85tsehl607eqelczds"); // nc = sz;
1260 UNSUPPORTED("1x339pl43qiukqwjve0wxt28e"); // nr = (ng + (nc-1))/nc;
1261 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1262 UNSUPPORTED("8k75h069sv2k9b6tgz77dscwd"); // else {
1263 UNSUPPORTED("364szoyjdpowhykehht3akq3e"); // nc = ceil(sqrt(ng));
1264 UNSUPPORTED("1x339pl43qiukqwjve0wxt28e"); // nr = (ng + (nc-1))/nc;
1265 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1266 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1267 UNSUPPORTED("2di5wqm6caczzl6bvqe35ry8y"); // if (Verbose)
1268 UNSUPPORTED("3pdy7z56ruqq4oyacr883mikq"); // fprintf (stderr, "array packing: %s %d rows %d columns\n", (rowMajor?"row major":"column major"), nr, nc);
1269 UNSUPPORTED("6043fy5yx6lbdsxu5yn3brmal"); // widths = (double*)zmalloc((nc+1)*sizeof(double));
1270 UNSUPPORTED("a1b2xc5h9ne6kbzuy0nkuwvyo"); // heights = (double*)zmalloc((nr+1)*sizeof(double));
1271 UNSUPPORTED("9aw3rarlnxmlwhap0h7473k7u"); // ip = info = (ainfo*)zmalloc((ng)*sizeof(ainfo));
1272 UNSUPPORTED("5rngkhxlli0ca2dadcc2l90yc"); // for (i = 0; i < ng; i++, ip++) {
1273 UNSUPPORTED("ay7zkx9vy6thctuz1zc6uwgp"); // bb = gs[i];
1274 UNSUPPORTED("6u6ndmrhwricwao2uxni5h1k0"); // ip->width = bb.UR.x - bb.LL.x + pinfo->margin;
1275 UNSUPPORTED("e97e7wvrktg5tvh7jgix3rh4n"); // ip->height = bb.UR.y - bb.LL.y + pinfo->margin;
1276 UNSUPPORTED("c1vy7jp6gj45js1vpscqrdow5"); // ip->index = i;
1277 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1278 UNSUPPORTED("cj72vx5oyj2o2q2m7645spujf"); // sinfo = (ainfo**)zmalloc((ng)*sizeof(ainfo*));
1279 UNSUPPORTED("7zun8aoc3cgzj5s89wluw8xq4"); // for (i = 0; i < ng; i++) {
1280 UNSUPPORTED("9mn44smuwqqa7634ytys2no53"); // sinfo[i] = info + i;
1281 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1282 UNSUPPORTED("12fyz4qnl5zp3xwitz3v50nei"); // if (pinfo->vals) {
1283 UNSUPPORTED("60usk332i3h20n9in7ul42urp"); // userVals = pinfo->vals;
1284 UNSUPPORTED("zri192zm0qymulo1qj64bkk4"); // qsort(sinfo, ng, sizeof(ainfo *), ucmpf);
1285 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1286 UNSUPPORTED("elre2mkk0b66ystun7ksceacd"); // else if (!(pinfo->flags & (1 << 6))) {
1287 UNSUPPORTED("46wm7t71y606fg0p1pmnrotxs"); // qsort(sinfo, ng, sizeof(ainfo *), acmpf);
1288 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1289 UNSUPPORTED("bh1a6itzd1t536vncxeg55kws"); // /* compute column widths and row heights */
1290 UNSUPPORTED("a29uwx3mv4g7tkw0a7nld91n6"); // r = c = 0;
1291 UNSUPPORTED("5rngkhxlli0ca2dadcc2l90yc"); // for (i = 0; i < ng; i++, ip++) {
1292 UNSUPPORTED("9pextrq1h4wbpvek3nn5hpdj1"); // ip = sinfo[i];
1293 UNSUPPORTED("2m8hk2qls872rs7vknlc6s0lx"); // widths[c] = MAX(widths[c],ip->width);
1294 UNSUPPORTED("e6t8bv0nuykk21ia3zd431xfa"); // heights[r] = MAX(heights[r],ip->height);
1295 UNSUPPORTED("2x8y0mx5s4y94qc2l938923p3"); // if (rowMajor){ c++; if (c == nc) { c = 0; r++; } } else { r++; if (r == nr) { r = 0; c++; } };
1296 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1297 UNSUPPORTED("35agl3q9fx549xwrbpsl2d4us"); // /* convert widths and heights to positions */
1298 UNSUPPORTED("2xhvo47ul8yuzrfw9qt8dw0ps"); // wd = 0;
1299 UNSUPPORTED("b19j342j5puv71h95o4ipftcy"); // for (i = 0; i <= nc; i++) {
1300 UNSUPPORTED("cn91vt3tkx1q0hk0v0efsy0u5"); // v = widths[i];
1301 UNSUPPORTED("9rsjnuoiq6k71cnjchxzdi4b2"); // widths[i] = wd;
1302 UNSUPPORTED("8uj5r8kz22am852pbxn5xbj2o"); // wd += v;
1303 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1304 UNSUPPORTED("28dk2342xmi4riersjpcgji1t"); // ht = 0;
1305 UNSUPPORTED("v2352s1mp3wons7njjjynrxt"); // for (i = nr; 0 < i; i--) {
1306 UNSUPPORTED("6ua786jl1gs84859xekg6b8fg"); // v = heights[i-1];
1307 UNSUPPORTED("bazhlkhnh5k7eheis0ez0n9vb"); // heights[i] = ht;
1308 UNSUPPORTED("bvofkv7v5wfgk9cj4wzfaib3y"); // ht += v;
1309 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1310 UNSUPPORTED("9rbcr484ikmoafnug3xnaxs32"); // heights[0] = ht;
1311 UNSUPPORTED("ddygazuu5ir5m2y5nmnsrajqx"); // /* position rects */
1312 UNSUPPORTED("a29uwx3mv4g7tkw0a7nld91n6"); // r = c = 0;
1313 UNSUPPORTED("5rngkhxlli0ca2dadcc2l90yc"); // for (i = 0; i < ng; i++, ip++) {
1314 UNSUPPORTED("drn8u5l7wlzkbovfo92png2jy"); // int idx;
1315 UNSUPPORTED("9pextrq1h4wbpvek3nn5hpdj1"); // ip = sinfo[i];
1316 UNSUPPORTED("2ps143essu8ajs0kj531wnief"); // idx = ip->index;
1317 UNSUPPORTED("3k2y6x5t2zzgaukk772pdwx6f"); // bb = gs[idx];
1318 UNSUPPORTED("81ldqtnpthu2abqyry4z6ym8m"); // if (pinfo->flags & (1 << 2))
1319 UNSUPPORTED("13f3a690c3l0f4v06nrwmimi4"); // places[idx].x = widths[c];
1320 UNSUPPORTED("8eg2gw7wqr3mql161981r68br"); // else if (pinfo->flags & (1 << 3))
1321 UNSUPPORTED("e3iwxanyszyzq23zx6vtonrj8"); // places[idx].x = widths[c+1] - (bb.UR.x - bb.LL.x);
1322 UNSUPPORTED("9352ql3e58qs4fzapgjfrms2s"); // else
1323 UNSUPPORTED("67vni7zjcybymkjnpjnavoflk"); // places[idx].x = (widths[c] + widths[c+1] - bb.UR.x - bb.LL.x)/2.0;
1324 UNSUPPORTED("8dcmf759vr0nvbyid59jtzauy"); // if (pinfo->flags & (1 << 4))
1325 UNSUPPORTED("24esxiop1grjauhaq6g2839fx"); // places[idx].y = heights[r] - (bb.UR.y - bb.LL.y);
1326 UNSUPPORTED("2dch1dl8cgtov5959f5m06bwn"); // else if (pinfo->flags & (1 << 5))
1327 UNSUPPORTED("4t5x1tjwncmgjvqii9uimq4b1"); // places[idx].y = heights[r+1];
1328 UNSUPPORTED("9352ql3e58qs4fzapgjfrms2s"); // else
1329 UNSUPPORTED("djge91fby18vnmw35p7pnh54e"); // places[idx].y = (heights[r] + heights[r+1] - bb.UR.y - bb.LL.y)/2.0;
1330 UNSUPPORTED("2x8y0mx5s4y94qc2l938923p3"); // if (rowMajor){ c++; if (c == nc) { c = 0; r++; } } else { r++; if (r == nr) { r = 0; c++; } };
1331 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1332 UNSUPPORTED("2t9jewjat2jsi4mczos1h2k63"); // free (info);
1333 UNSUPPORTED("6m428qwh53clq0b13nr60dt5t"); // free (sinfo);
1334 UNSUPPORTED("srea4nhmmob1m0yxi5gapwxa"); // free (widths);
1335 UNSUPPORTED("aej4g6wixnif5navqnu0z5d02"); // free (heights);
1336 UNSUPPORTED("4pw9nikwh26us27xquq8gxeom"); // return places;
1337 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1338
1339 throw new UnsupportedOperationException();
1340 }
1341
1342
1343
1344
1345 //3 2irl4ooaj6ar2weyzs1jt6vnj
1346 // static point* polyRects(int ng, boxf* gs, pack_info * pinfo)
1347 public static Object polyRects(Object... arg) {
1348 UNSUPPORTED("ck2vnuu91etfn4os7sqednjdt"); // static point*
1349 UNSUPPORTED("emdivhrzg1z379tgeonw1e2wn"); // polyRects(int ng, boxf* gs, pack_info * pinfo)
1350 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1351 UNSUPPORTED("824stmaoi8w8lahubzh2aqmnt"); // int stepSize;
1352 UNSUPPORTED("egeh7d2rftmojiwelzoch9qzs"); // ginfo *info;
1353 UNSUPPORTED("cgpy9yq4nom59s6xdcks21z34"); // ginfo **sinfo;
1354 UNSUPPORTED("d5zj0uiljdydjp99y2c8421tm"); // point *places;
1355 UNSUPPORTED("vela488x5cw8iukv3b2rxxfg"); // Dict_t *ps;
1356 UNSUPPORTED("b17di9c7wgtqm51bvsyxz6e2f"); // int i;
1357 UNSUPPORTED("757l2o5nnleyj2fwon83lkwp4"); // point center;
1358 UNSUPPORTED("4xciuabrdcqf4qlyxzw20rgoq"); // /* calculate grid size */
1359 UNSUPPORTED("2eg1bg6rzeyuwox4ji13hfsn3"); // stepSize = computeStep(ng, gs, pinfo->margin);
1360 UNSUPPORTED("2di5wqm6caczzl6bvqe35ry8y"); // if (Verbose)
1361 UNSUPPORTED("9jvi53wte1pa00ysz1tyoirwu"); // fprintf(stderr, "step size = %d\n", stepSize);
1362 UNSUPPORTED("4uchvv7hqly12y7in635yrzk2"); // if (stepSize <= 0)
1363 UNSUPPORTED("c9ckhc8veujmwcw0ar3u3zld4"); // return 0;
1364 UNSUPPORTED("ai9xhwyay6jsf18f9an9wiqxh"); // /* generate polyomino cover for the rectangles */
1365 UNSUPPORTED("cc7f8jeq787ivlq7z8w36zsxr"); // center.x = center.y = 0;
1366 UNSUPPORTED("5ja8kdpayis0xlce0mars9kyq"); // info = (ginfo*)zmalloc((ng)*sizeof(ginfo));
1367 UNSUPPORTED("7zun8aoc3cgzj5s89wluw8xq4"); // for (i = 0; i < ng; i++) {
1368 UNSUPPORTED("dotsh6x7f3q84jxx9kanz0zxs"); // info[i].index = i;
1369 UNSUPPORTED("50f4hs6qh3bifktl7ofmdluau"); // genBox(gs[i], info + i, stepSize, pinfo->margin, center, "");
1370 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1371 UNSUPPORTED("7hsq9ilfch3hi4eeqdzbo8hcz"); // /* sort */
1372 UNSUPPORTED("516yap1pdty58f0uvcm0ol21t"); // sinfo = (ginfo **)zmalloc((ng)*sizeof(ginfo *));
1373 UNSUPPORTED("7zun8aoc3cgzj5s89wluw8xq4"); // for (i = 0; i < ng; i++) {
1374 UNSUPPORTED("9mn44smuwqqa7634ytys2no53"); // sinfo[i] = info + i;
1375 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1376 UNSUPPORTED("aht3on8lvvmmuavandpu3mrqf"); // qsort(sinfo, ng, sizeof(ginfo *), cmpf);
1377 UNSUPPORTED("6udv07xykmb0e2pdyqurnc9p4"); // ps = newPS();
1378 UNSUPPORTED("1lrlt4okvwo1r2jn12curx4a4"); // places = (point*)zmalloc((ng)*sizeof(point));
1379 UNSUPPORTED("8ykrswirvj1kokawlp0qt20e"); // for (i = 0; i < ng; i++)
1380 UNSUPPORTED("amjrgk4ewbgnlny99ltipn4rw"); // placeGraph(i, sinfo[i], ps, places + (sinfo[i]->index),
1381 UNSUPPORTED("cdibq48a1vztjqwrav8lplm2l"); // stepSize, pinfo->margin, gs);
1382 UNSUPPORTED("cz66ku8toq29n6o82kekmnlpy"); // free(sinfo);
1383 UNSUPPORTED("8ykrswirvj1kokawlp0qt20e"); // for (i = 0; i < ng; i++)
1384 UNSUPPORTED("87pbwy86umrgdjafr4sezm9n"); // free(info[i].cells);
1385 UNSUPPORTED("3evfbda0xfi17zcdebhf34f0u"); // free(info);
1386 UNSUPPORTED("dg5ijmmysdxc2qm5j58u0zr8i"); // freePS(ps);
1387 UNSUPPORTED("9ez4vr7qufhjoyjfdx4btsya0"); // if (Verbose > 1)
1388 UNSUPPORTED("8zex7y0yhzzbk09jno4q16t99"); // for (i = 0; i < ng; i++)
1389 UNSUPPORTED("d35w6hrucxuabl0h4ezjaa3uc"); // fprintf(stderr, "pos[%d] %d %d\n", i, places[i].x,
1390 UNSUPPORTED("a7cjk49c6ofhzhsgib8hilvhs"); // places[i].y);
1391 UNSUPPORTED("4pw9nikwh26us27xquq8gxeom"); // return places;
1392 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1393
1394 throw new UnsupportedOperationException();
1395 }
1396
1397
1398
1399
1400 //3 1knslw9muqsgklyyji7ievnok
1401 // static point* polyGraphs(int ng, Agraph_t ** gs, Agraph_t * root, pack_info * pinfo)
1402 public static Object polyGraphs(Object... arg) {
1403 UNSUPPORTED("ck2vnuu91etfn4os7sqednjdt"); // static point*
1404 UNSUPPORTED("b0bfi4ppj9z49du0yf8jw51g5"); // polyGraphs(int ng, Agraph_t ** gs, Agraph_t * root, pack_info * pinfo)
1405 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1406 UNSUPPORTED("824stmaoi8w8lahubzh2aqmnt"); // int stepSize;
1407 UNSUPPORTED("egeh7d2rftmojiwelzoch9qzs"); // ginfo *info;
1408 UNSUPPORTED("cgpy9yq4nom59s6xdcks21z34"); // ginfo **sinfo;
1409 UNSUPPORTED("d5zj0uiljdydjp99y2c8421tm"); // point *places;
1410 UNSUPPORTED("vela488x5cw8iukv3b2rxxfg"); // Dict_t *ps;
1411 UNSUPPORTED("b17di9c7wgtqm51bvsyxz6e2f"); // int i;
1412 UNSUPPORTED("g39u5n77k6uyq207nn2icvox"); // boolean *fixed = pinfo->fixed;
1413 UNSUPPORTED("7o8gvve73xqzq084bw5qh7gcn"); // int fixed_cnt = 0;
1414 UNSUPPORTED("w52lhq0cd0isq9ayfz50inrq"); // box bb, fixed_bb = { {0, 0}, {0, 0} };
1415 UNSUPPORTED("757l2o5nnleyj2fwon83lkwp4"); // point center;
1416 UNSUPPORTED("7gi50jrfs9ke5a9wali0er15n"); // boxf* bbs;
1417 UNSUPPORTED("3mtqlb2sgomhp5qec8wdsugsi"); // if (ng <= 0)
1418 UNSUPPORTED("c9ckhc8veujmwcw0ar3u3zld4"); // return 0;
1419 UNSUPPORTED("djthf1vazs4za0so4hdnt5wj0"); // /* update bounding box info for each graph */
1420 UNSUPPORTED("5jm29bcxipf9ixrkoge4l6qm2"); // /* If fixed, compute bbox of fixed graphs */
1421 UNSUPPORTED("7zun8aoc3cgzj5s89wluw8xq4"); // for (i = 0; i < ng; i++) {
1422 UNSUPPORTED("8u7vr203farotwj0fftrag209"); // Agraph_t *g = gs[i];
1423 UNSUPPORTED("1pr9y3xbbgtpw0j2cdlmr5z50"); // compute_bb(g);
1424 UNSUPPORTED("24swiauow6ik517gmj0sm5rfw"); // if (fixed && fixed[i]) {
1425 UNSUPPORTED("97wxoa3jn3w53rreu435mpy74"); // BF2B(GD_bb(g), bb);
1426 UNSUPPORTED("5lpwic2iylf55w56n041ro1x"); // if (fixed_cnt) {
1427 UNSUPPORTED("9frrmjyww4wh93dyu5k98peb9"); // fixed_bb.LL.x = MIN(bb.LL.x, fixed_bb.LL.x);
1428 UNSUPPORTED("e85tcd131giv33jrjja1olduw"); // fixed_bb.LL.y = MIN(bb.LL.y, fixed_bb.LL.y);
1429 UNSUPPORTED("dj6e5qtw7vxwfyomq1k58hcsk"); // fixed_bb.UR.x = MAX(bb.UR.x, fixed_bb.UR.x);
1430 UNSUPPORTED("b4wurhjcgswx703j06qz21n6l"); // fixed_bb.UR.y = MAX(bb.UR.y, fixed_bb.UR.y);
1431 UNSUPPORTED("afk9bpom7x393euamnvwwkx6b"); // } else
1432 UNSUPPORTED("2e612eixx1ofzkwvzqn2kwd76"); // fixed_bb = bb;
1433 UNSUPPORTED("ny0y2ibeyhhufmet5xl3j048"); // fixed_cnt++;
1434 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1435 UNSUPPORTED("29xfwsb3c8xg86f1k0dnyeo0w"); // if (Verbose > 2) {
1436 UNSUPPORTED("cdzr4ncs6h15d0ih7ert3l5z3"); // fprintf(stderr, "bb[%s] %.5g %.5g %.5g %.5g\n", agnameof(g),
1437 UNSUPPORTED("759r58p1rwwxhyxaj7ofczgfy"); // GD_bb(g).LL.x, GD_bb(g).LL.y,
1438 UNSUPPORTED("btv2fogged3wlas7cotr1a3my"); // GD_bb(g).UR.x, GD_bb(g).UR.y);
1439 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1440 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1441 UNSUPPORTED("4xciuabrdcqf4qlyxzw20rgoq"); // /* calculate grid size */
1442 UNSUPPORTED("1zfqthv6gt9dvwrk425hk65xk"); // bbs = (boxf*)gmalloc((ng)*sizeof(boxf));
1443 UNSUPPORTED("8ykrswirvj1kokawlp0qt20e"); // for (i = 0; i < ng; i++)
1444 UNSUPPORTED("2bt80lu17wcugimh4ljj70zdp"); // bbs[i] = GD_bb(gs[i]);
1445 UNSUPPORTED("5owrhafi21tpc0ktinz3o2f43"); // stepSize = computeStep(ng, bbs, pinfo->margin);
1446 UNSUPPORTED("2di5wqm6caczzl6bvqe35ry8y"); // if (Verbose)
1447 UNSUPPORTED("9jvi53wte1pa00ysz1tyoirwu"); // fprintf(stderr, "step size = %d\n", stepSize);
1448 UNSUPPORTED("4uchvv7hqly12y7in635yrzk2"); // if (stepSize <= 0)
1449 UNSUPPORTED("c9ckhc8veujmwcw0ar3u3zld4"); // return 0;
1450 UNSUPPORTED("1alk6avw0u6hfvqo3xmul0jg6"); // /* generate polyomino cover for the graphs */
1451 UNSUPPORTED("84yhbc8186y40vqfeqxzxfrz6"); // if (fixed) {
1452 UNSUPPORTED("5ueew992kcblg2bz1oerhmyqi"); // center.x = (fixed_bb.LL.x + fixed_bb.UR.x) / 2;
1453 UNSUPPORTED("87nbiqt8xjmmkxfd2e4w4w7vr"); // center.y = (fixed_bb.LL.y + fixed_bb.UR.y) / 2;
1454 UNSUPPORTED("2lkbqgh2h6urnppaik3zo7ywi"); // } else
1455 UNSUPPORTED("e83bosc1hfovot0zgf1yquw6p"); // center.x = center.y = 0;
1456 UNSUPPORTED("5ja8kdpayis0xlce0mars9kyq"); // info = (ginfo*)zmalloc((ng)*sizeof(ginfo));
1457 UNSUPPORTED("7zun8aoc3cgzj5s89wluw8xq4"); // for (i = 0; i < ng; i++) {
1458 UNSUPPORTED("8u7vr203farotwj0fftrag209"); // Agraph_t *g = gs[i];
1459 UNSUPPORTED("dotsh6x7f3q84jxx9kanz0zxs"); // info[i].index = i;
1460 UNSUPPORTED("khn1not6v8q3llxivwzrif1a"); // if (pinfo->mode == l_graph)
1461 UNSUPPORTED("ef0j485ay1qbdf8azewxc0pwi"); // genBox(GD_bb(g), info + i, stepSize, pinfo->margin, center, agnameof(g));
1462 UNSUPPORTED("bwshrbmzbgqbses1jh55297bx"); // else if (genPoly(root, gs[i], info + i, stepSize, pinfo, center)) {
1463 UNSUPPORTED("6f1138i13x0xz1bf1thxgjgka"); // return 0;
1464 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1465 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1466 UNSUPPORTED("7hsq9ilfch3hi4eeqdzbo8hcz"); // /* sort */
1467 UNSUPPORTED("516yap1pdty58f0uvcm0ol21t"); // sinfo = (ginfo **)zmalloc((ng)*sizeof(ginfo *));
1468 UNSUPPORTED("7zun8aoc3cgzj5s89wluw8xq4"); // for (i = 0; i < ng; i++) {
1469 UNSUPPORTED("9mn44smuwqqa7634ytys2no53"); // sinfo[i] = info + i;
1470 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1471 UNSUPPORTED("aht3on8lvvmmuavandpu3mrqf"); // qsort(sinfo, ng, sizeof(ginfo *), cmpf);
1472 UNSUPPORTED("6udv07xykmb0e2pdyqurnc9p4"); // ps = newPS();
1473 UNSUPPORTED("1lrlt4okvwo1r2jn12curx4a4"); // places = (point*)zmalloc((ng)*sizeof(point));
1474 UNSUPPORTED("84yhbc8186y40vqfeqxzxfrz6"); // if (fixed) {
1475 UNSUPPORTED("3e0deh4u5tol3atbp956xif23"); // for (i = 0; i < ng; i++) {
1476 UNSUPPORTED("umfi6ok5pdkv9azybxeoslof"); // if (fixed[i])
1477 UNSUPPORTED("8wt6vr2q1holh0icpplq4zqec"); // placeFixed(sinfo[i], ps, places + (sinfo[i]->index),
1478 UNSUPPORTED("deqjfvghqxur4bfoz3puk300n"); // center);
1479 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1480 UNSUPPORTED("3e0deh4u5tol3atbp956xif23"); // for (i = 0; i < ng; i++) {
1481 UNSUPPORTED("74god7lqd61d25tmue88dqtbf"); // if (!fixed[i])
1482 UNSUPPORTED("czkvahaom618elf7saxx38r8p"); // placeGraph(i, sinfo[i], ps, places + (sinfo[i]->index),
1483 UNSUPPORTED("i3cmxkksuk6am6ht9wvhbdgc"); // stepSize, pinfo->margin, bbs);
1484 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1485 UNSUPPORTED("c07up7zvrnu2vhzy6d7zcu94g"); // } else {
1486 UNSUPPORTED("8zex7y0yhzzbk09jno4q16t99"); // for (i = 0; i < ng; i++)
1487 UNSUPPORTED("a532n3o5yemks8slunbp5py2i"); // placeGraph(i, sinfo[i], ps, places + (sinfo[i]->index),
1488 UNSUPPORTED("dt17bemprdm748nimg2zjv0m0"); // stepSize, pinfo->margin, bbs);
1489 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1490 UNSUPPORTED("cz66ku8toq29n6o82kekmnlpy"); // free(sinfo);
1491 UNSUPPORTED("8ykrswirvj1kokawlp0qt20e"); // for (i = 0; i < ng; i++)
1492 UNSUPPORTED("87pbwy86umrgdjafr4sezm9n"); // free(info[i].cells);
1493 UNSUPPORTED("3evfbda0xfi17zcdebhf34f0u"); // free(info);
1494 UNSUPPORTED("dg5ijmmysdxc2qm5j58u0zr8i"); // freePS(ps);
1495 UNSUPPORTED("a3ilp870e8stntakfa9mhpq3s"); // free (bbs);
1496 UNSUPPORTED("9ez4vr7qufhjoyjfdx4btsya0"); // if (Verbose > 1)
1497 UNSUPPORTED("8zex7y0yhzzbk09jno4q16t99"); // for (i = 0; i < ng; i++)
1498 UNSUPPORTED("d35w6hrucxuabl0h4ezjaa3uc"); // fprintf(stderr, "pos[%d] %d %d\n", i, places[i].x,
1499 UNSUPPORTED("a7cjk49c6ofhzhsgib8hilvhs"); // places[i].y);
1500 UNSUPPORTED("4pw9nikwh26us27xquq8gxeom"); // return places;
1501 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1502
1503 throw new UnsupportedOperationException();
1504 }
1505
1506
1507
1508
1509 //3 al89yl8dh1jxwk08tyczwknn7
1510 // point *putGraphs(int ng, Agraph_t ** gs, Agraph_t * root, pack_info * pinfo)
1511 public static Object putGraphs(Object... arg) {
1512 UNSUPPORTED("2bmiezotvi7u8eu53600a4id7"); // point *putGraphs(int ng, Agraph_t ** gs, Agraph_t * root,
1513 UNSUPPORTED("dnotj3yx4zh4izfbxl101921l"); // pack_info * pinfo)
1514 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1515 UNSUPPORTED("b9q08fv1def3y3mbkfcttoygi"); // int i, v;
1516 UNSUPPORTED("7gi50jrfs9ke5a9wali0er15n"); // boxf* bbs;
1517 UNSUPPORTED("c9h1fo1uvas6uw1a8qaapnln6"); // Agraph_t* g;
1518 UNSUPPORTED("37y05h5xfo0t6oujuechff9od"); // point* pts;
1519 UNSUPPORTED("yiuh599p05f2mpu2e3pesu2o"); // char* s;
1520 UNSUPPORTED("10gh49wkm3r9433ve3ykoy8zd"); // if (ng <= 0) return NULL;
1521 UNSUPPORTED("74z1gk7owd6s8rog374fsoz77"); // if (pinfo->mode <= l_graph)
1522 UNSUPPORTED("3mqc3im4s572a4m1gq3luvraa"); // return polyGraphs (ng, gs, root, pinfo);
1523 UNSUPPORTED("1zfqthv6gt9dvwrk425hk65xk"); // bbs = (boxf*)gmalloc((ng)*sizeof(boxf));
1524 UNSUPPORTED("7zun8aoc3cgzj5s89wluw8xq4"); // for (i = 0; i < ng; i++) {
1525 UNSUPPORTED("1o35elvmsbg14ylv3li4k555e"); // g = gs[i];
1526 UNSUPPORTED("1pr9y3xbbgtpw0j2cdlmr5z50"); // compute_bb(g);
1527 UNSUPPORTED("38ehh0n0z7yr3ku3wax91eny9"); // bbs[i] = GD_bb(g);
1528 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1529 UNSUPPORTED("8kmg7cdfeuqszcwxcz5y3c5td"); // if (pinfo->mode == l_array) {
1530 UNSUPPORTED("7nb1jaoblp1yvgvo27aaud6s6"); // if (pinfo->flags & (1 << 1)) {
1531 UNSUPPORTED("dbollhgp3oflycwtdbdbh9i88"); // pinfo->vals = (packval_t*)zmalloc((ng)*sizeof(packval_t));
1532 UNSUPPORTED("58nh8251ikin1r1ikujawgmvi"); // for (i = 0; i < ng; i++) {
1533 UNSUPPORTED("f0c6o7jozps86mqlhvb9n9d6s"); // s = agget (gs[i], "sortv");
1534 UNSUPPORTED("dor0p055w386zaz88qm97z87v"); // if (s && (sscanf (s, "%d", &v) > 0) && (v >= 0))
1535 UNSUPPORTED("14rvncot97v829zy8a8tp0zwz"); // pinfo->vals[i] = v;
1536 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
1537 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1538 UNSUPPORTED("1ptopw7nt3b3yr62pvaymgk9m"); // pts = arrayRects (ng, bbs, pinfo);
1539 UNSUPPORTED("b93dvbn6t4y3hpjm8h8t94bxt"); // if (pinfo->flags & (1 << 1))
1540 UNSUPPORTED("2y3e1eszpxr131wfwuq7wc18i"); // free (pinfo->vals);
1541 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1542 UNSUPPORTED("a3ilp870e8stntakfa9mhpq3s"); // free (bbs);
1543 UNSUPPORTED("b7gk8q1reftzri269holggnig"); // return pts;
1544 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1545
1546 throw new UnsupportedOperationException();
1547 }
1548
1549
1550
1551
1552 //3 e73o8yamtvnffshrs9rm3lim0
1553 // point * putRects(int ng, boxf* bbs, pack_info* pinfo)
1554 public static Object putRects(Object... arg) {
1555 UNSUPPORTED("b2t3wt7lnrvb61t0hory0gh2h"); // point *
1556 UNSUPPORTED("8fweyba26afb4b3vn251yp6u1"); // putRects(int ng, boxf* bbs, pack_info* pinfo)
1557 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1558 UNSUPPORTED("10gh49wkm3r9433ve3ykoy8zd"); // if (ng <= 0) return NULL;
1559 UNSUPPORTED("f2v1akrh6kotuwhh1shnn0cvk"); // if ((pinfo->mode == l_node) || (pinfo->mode == l_clust)) return NULL;
1560 UNSUPPORTED("bvxb92ntr7lr5208ycn2rmmpa"); // if (pinfo->mode == l_graph)
1561 UNSUPPORTED("790j7xshzs2a26qdpizm1dor3"); // return polyRects (ng, bbs, pinfo);
1562 UNSUPPORTED("15zpqbwzhvrw6k4i293i6qm4o"); // else if (pinfo->mode == l_array)
1563 UNSUPPORTED("defqlfr5ltykxr36gzynktwnd"); // return arrayRects (ng, bbs, pinfo);
1564 UNSUPPORTED("div10atae09n36x269sl208r1"); // else
1565 UNSUPPORTED("11hwqop4xebvtcskop4uhpp01"); // return NULL;
1566 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1567
1568 throw new UnsupportedOperationException();
1569 }
1570
1571
1572
1573
1574 //3 1snngl11fvf8fd7gvroyic9u6
1575 // int packRects(int ng, boxf* bbs, pack_info* pinfo)
1576 public static Object packRects(Object... arg) {
1577 UNSUPPORTED("7zkpme13g8rxxwloxvpvvnbcw"); // int
1578 UNSUPPORTED("byuhbycc8aq8qmlje1kkikzes"); // packRects(int ng, boxf* bbs, pack_info* pinfo)
1579 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1580 UNSUPPORTED("b17di9c7wgtqm51bvsyxz6e2f"); // int i;
1581 UNSUPPORTED("ca6brvq3h4u316zi41fa1e7nl"); // point *pp;
1582 UNSUPPORTED("2lzsl1e035wt5epd1h8f4bn8m"); // boxf bb;
1583 UNSUPPORTED("41nrdsugvfgw23s93g0dhizkn"); // point p;
1584 UNSUPPORTED("4rnqckqjseeaveduaeddk5kly"); // if (ng < 0) return -1;
1585 UNSUPPORTED("62vqifnah2fjfuxwj69bq3p1z"); // if (ng <= 1) return 0;
1586 UNSUPPORTED("e86z2a3ujrvoqxb1e6rn7l4xh"); // pp = putRects(ng, bbs, pinfo);
1587 UNSUPPORTED("5e2m9zqmerz2m76uyivjvvjnz"); // if (!pp)
1588 UNSUPPORTED("eleqpc2p2r3hvma6tipoy7tr"); // return 1;
1589 UNSUPPORTED("1hemhly8ts9l7caj22as9b5nv"); // for (i = 0; i < ng; i++) {
1590 UNSUPPORTED("cpgjovg5bttmcqygaaobc3a6l"); // bb = bbs[i];
1591 UNSUPPORTED("4v8yuwm5xgienbqxhd69pz5cc"); // p = pp[i];
1592 UNSUPPORTED("f3utitevgnfhjuotaq73baii9"); // bb.LL.x += p.x;
1593 UNSUPPORTED("31znkfxiz3wa3ebxopvejt2eu"); // bb.UR.x += p.x;
1594 UNSUPPORTED("c3ak9fudqw0ye4ls2y61ajfta"); // bb.LL.y += p.y;
1595 UNSUPPORTED("djl8lmebqjuxhormrrnxryg2d"); // bb.UR.y += p.y;
1596 UNSUPPORTED("ds6wyt4f0tketopteichqayg0"); // bbs[i] = bb;
1597 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1598 UNSUPPORTED("7vph3omiu71ktck9w3uvcdp6q"); // free(pp);
1599 UNSUPPORTED("5oxhd3fvp0gfmrmz12vndnjt"); // return 0;
1600 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1601
1602 throw new UnsupportedOperationException();
1603 }
1604
1605
1606
1607
1608 //3 eyiqyefdjlfh0t51u26x2zh5x
1609 // static void shiftEdge(Agedge_t * e, int dx, int dy)
1610 public static Object shiftEdge(Object... arg) {
1611 UNSUPPORTED("9u5vr04c98yfoctnamlbuc2ag"); // static void shiftEdge(Agedge_t * e, int dx, int dy)
1612 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1613 UNSUPPORTED("9e6bnowy6jfhnib5uev3scpsu"); // int j, k;
1614 UNSUPPORTED("37thdceezsvepe7tlyfatrbcw"); // bezier bz;
1615 UNSUPPORTED("88hfgnjbnnlyh1vmms1kwsrod"); // if (ED_label(e))
1616 UNSUPPORTED("4ktdw0hk8c5lnprxiqxxp8kpf"); // ((ED_label(e)->pos).x += dx, (ED_label(e)->pos).y += dy);
1617 UNSUPPORTED("37decwf4jqk863lp048x1gcwk"); // if (ED_xlabel(e))
1618 UNSUPPORTED("8xzkzyz7cb3te6mkfkt3zlvvv"); // ((ED_xlabel(e)->pos).x += dx, (ED_xlabel(e)->pos).y += dy);
1619 UNSUPPORTED("dc4h855lfazgpazdd3bsd3dle"); // if (ED_head_label(e))
1620 UNSUPPORTED("ekvchodhl5temnce8je23xtng"); // ((ED_head_label(e)->pos).x += dx, (ED_head_label(e)->pos).y += dy);
1621 UNSUPPORTED("2nan67aki9dkzb14alqq58pk6"); // if (ED_tail_label(e))
1622 UNSUPPORTED("4humrtjlk95veottt9p8slpt3"); // ((ED_tail_label(e)->pos).x += dx, (ED_tail_label(e)->pos).y += dy);
1623 UNSUPPORTED("tt8piuiel7igl12irv6488jd"); // if (ED_spl(e) == NULL)
1624 UNSUPPORTED("a7fgam0j0jm7bar0mblsv3no4"); // return;
1625 UNSUPPORTED("e9vow5lzqvgcxabgjj99yokjr"); // for (j = 0; j < ED_spl(e)->size; j++) {
1626 UNSUPPORTED("8ni4zfvf78h93ucjuoqtuomjh"); // bz = ED_spl(e)->list[j];
1627 UNSUPPORTED("7h0wreqeq69tmfuymjgf6y30p"); // for (k = 0; k < bz.size; k++)
1628 UNSUPPORTED("8p04wyfp1epw24aj3ooutcm9f"); // ((bz.list[k]).x += dx, (bz.list[k]).y += dy);
1629 UNSUPPORTED("9u19ic8wst5bdydvzocx725dd"); // if (bz.sflag)
1630 UNSUPPORTED("7drx2tftwhcon6o1unse2w8rs"); // ((ED_spl(e)->list[j].sp).x += dx, (ED_spl(e)->list[j].sp).y += dy);
1631 UNSUPPORTED("3ps9lzlxh4tqc8zn14yrvcl4n"); // if (bz.eflag)
1632 UNSUPPORTED("did8o6w576i3j4f1c8nqnwjpl"); // ((ED_spl(e)->list[j].ep).x += dx, (ED_spl(e)->list[j].ep).y += dy);
1633 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1634 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1635
1636 throw new UnsupportedOperationException();
1637 }
1638
1639
1640
1641
1642 //3 7xx1rik6wio4uaxsnuw7osy3u
1643 // static void shiftGraph(Agraph_t * g, int dx, int dy)
1644 public static Object shiftGraph(Object... arg) {
1645 UNSUPPORTED("3rx9mi6118cqiy2pcuxsl4mgc"); // static void shiftGraph(Agraph_t * g, int dx, int dy)
1646 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1647 UNSUPPORTED("8uujemixuhlf040icq3zsh7j8"); // graph_t *subg;
1648 UNSUPPORTED("2eiur8hkm8tcazpq12w4ikbqo"); // boxf bb = GD_bb(g);
1649 UNSUPPORTED("b17di9c7wgtqm51bvsyxz6e2f"); // int i;
1650 UNSUPPORTED("3pb1rp6yt77fdctds9bv6t2q4"); // bb = GD_bb(g);
1651 UNSUPPORTED("8apkqrqdqqydv62uo6t2kih65"); // bb.LL.x += dx;
1652 UNSUPPORTED("cxx7s1j7oanjj7qcgww51qzv"); // bb.UR.x += dx;
1653 UNSUPPORTED("8i5b905t9fyewlfs3ptj5ts9i"); // bb.LL.y += dy;
1654 UNSUPPORTED("bat733mf4if1fc1cc75wf3vdh"); // bb.UR.y += dy;
1655 UNSUPPORTED("8pjanfm12ixxbeb7k86g3z5p4"); // GD_bb(g) = bb;
1656 UNSUPPORTED("aplr7sm051i57jygcfj6gigoh"); // if (GD_label(g))
1657 UNSUPPORTED("3y0fbtz3yao1jomzv4uolrp00"); // ((GD_label(g)->pos).x += dx, (GD_label(g)->pos).y += dy);
1658 UNSUPPORTED("7naa6f8pevjidfr7m41eli6xj"); // for (i = 1; i <= GD_n_cluster(g); i++) {
1659 UNSUPPORTED("cpbcovu6u9jpbhniuwko58sge"); // subg = GD_clust(g)[i];
1660 UNSUPPORTED("2gsxiux9jv0jpf915foz63dgv"); // shiftGraph(subg, dx, dy);
1661 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1662 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1663
1664 throw new UnsupportedOperationException();
1665 }
1666
1667
1668
1669
1670 //3 e3319d41y02srtfpto31q37ty
1671 // int shiftGraphs(int ng, Agraph_t ** gs, point * pp, Agraph_t * root, int doSplines)
1672 public static Object shiftGraphs(Object... arg) {
1673 UNSUPPORTED("etrjsq5w49uo9jq5pzifohkqw"); // int
1674 UNSUPPORTED("e3b6ggtg7s8nlv7sbaoirghbw"); // shiftGraphs(int ng, Agraph_t ** gs, point * pp, Agraph_t * root,
1675 UNSUPPORTED("9noyex54k0macq3k16r5ym7m7"); // int doSplines)
1676 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1677 UNSUPPORTED("b17di9c7wgtqm51bvsyxz6e2f"); // int i;
1678 UNSUPPORTED("bftz89757hgmx7ivuna8lc4z6"); // int dx, dy;
1679 UNSUPPORTED("52jqyu9tdwfx6u9l7492mdvxw"); // double fx, fy;
1680 UNSUPPORTED("41nrdsugvfgw23s93g0dhizkn"); // point p;
1681 UNSUPPORTED("1dbyk58q3r4fyfxxo7ovemkpu"); // Agraph_t *g;
1682 UNSUPPORTED("4fddvn6emf9gppkxys6y69el2"); // Agraph_t *eg;
1683 UNSUPPORTED("2jcii9cclu1dijzqekzc175pe"); // Agnode_t *n;
1684 UNSUPPORTED("36vshotvjkc5iodgg7nq6qa2r"); // Agedge_t *e;
1685 UNSUPPORTED("3mtqlb2sgomhp5qec8wdsugsi"); // if (ng <= 0)
1686 UNSUPPORTED("bof722m66fo2c6qrziuzp1qrb"); // return abs(ng);
1687 UNSUPPORTED("7zun8aoc3cgzj5s89wluw8xq4"); // for (i = 0; i < ng; i++) {
1688 UNSUPPORTED("1o35elvmsbg14ylv3li4k555e"); // g = gs[i];
1689 UNSUPPORTED("651v5s5braiusljmonry4n2gv"); // if (root)
1690 UNSUPPORTED("64a6av0hcmo7owy9zqh1m0rf2"); // eg = root;
1691 UNSUPPORTED("9352ql3e58qs4fzapgjfrms2s"); // else
1692 UNSUPPORTED("9w2sfnbzooomlt0cy7lv4r651"); // eg = g;
1693 UNSUPPORTED("4v8yuwm5xgienbqxhd69pz5cc"); // p = pp[i];
1694 UNSUPPORTED("ap6rzh2gz0cyv006wzje9vm64"); // dx = p.x;
1695 UNSUPPORTED("ecigmad6hz1aki283absmrv4k"); // dy = p.y;
1696 UNSUPPORTED("crjm7321nijj633qm2os1rffv"); // fx = ((dx)/(double)72);
1697 UNSUPPORTED("9fof84axpoehtz8vm7e591gug"); // fy = ((dy)/(double)72);
1698 UNSUPPORTED("attp4bsjqe99xnhi7lr7pszar"); // for (n = agfstnode(g); n; n = agnxtnode(g, n)) {
1699 UNSUPPORTED("emng3ci5q7cb4o56sokohkzxg"); // ND_pos(n)[0] += fx;
1700 UNSUPPORTED("7hccr00zs6a1djjd96lnn6aka"); // ND_pos(n)[1] += fy;
1701 UNSUPPORTED("9p2dkqvsj8qbvhoe67ls2u17p"); // ((ND_coord(n)).x += dx, (ND_coord(n)).y += dy);
1702 UNSUPPORTED("9i39rsg8gc22jjd87bzbvdziv"); // if (ND_xlabel(n)) {
1703 UNSUPPORTED("9hx48w0r43gelhjavye29okfv"); // ((ND_xlabel(n)->pos).x += dx, (ND_xlabel(n)->pos).y += dy);
1704 UNSUPPORTED("7g94ubxa48a1yi3mf9v521b7c"); // }
1705 UNSUPPORTED("3dcleparqyzm2ewv674fws8u9"); // if (doSplines) {
1706 UNSUPPORTED("8menlqwqcb9c7ireb6sa8qo21"); // for (e = agfstout(eg, n); e; e = agnxtout(eg, e))
1707 UNSUPPORTED("l0qmhpy5cagstbj5hrkzk8rr"); // shiftEdge(e, dx, dy);
1708 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
1709 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1710 UNSUPPORTED("bk9jkveibpb3mrdqpv4po37sy"); // shiftGraph(g, dx, dy);
1711 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1712 UNSUPPORTED("5oxhd3fvp0gfmrmz12vndnjt"); // return 0;
1713 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1714
1715 throw new UnsupportedOperationException();
1716 }
1717
1718
1719
1720
1721 //3 9db5t8nm89djo9ln21gm3yf8u
1722 // int packGraphs(int ng, Agraph_t ** gs, Agraph_t * root, pack_info * info)
1723 public static Object packGraphs(Object... arg) {
1724 UNSUPPORTED("56vi2bsj4me6of6ownlhvsvwz"); // int packGraphs(int ng, Agraph_t ** gs, Agraph_t * root, pack_info * info)
1725 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1726 UNSUPPORTED("7p7i4cv4qt10ow22vl9znw72j"); // int ret;
1727 UNSUPPORTED("56ocwkz3s6lgpumk8xidlqcc7"); // point *pp = putGraphs(ng, gs, root, info);
1728 UNSUPPORTED("5e2m9zqmerz2m76uyivjvvjnz"); // if (!pp)
1729 UNSUPPORTED("eleqpc2p2r3hvma6tipoy7tr"); // return 1;
1730 UNSUPPORTED("7qo1holf96smktjgs8l0gibpj"); // ret = shiftGraphs(ng, gs, pp, root, info->doSplines);
1731 UNSUPPORTED("7vph3omiu71ktck9w3uvcdp6q"); // free(pp);
1732 UNSUPPORTED("f3b7mj138albdr4lodyomke0z"); // return ret;
1733 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1734
1735 throw new UnsupportedOperationException();
1736 }
1737
1738
1739
1740
1741 //3 eeedpohq9tu61htldhskjnrqo
1742 // int packSubgraphs(int ng, Agraph_t ** gs, Agraph_t * root, pack_info * info)
1743 public static Object packSubgraphs(Object... arg) {
1744 UNSUPPORTED("etrjsq5w49uo9jq5pzifohkqw"); // int
1745 UNSUPPORTED("cu03rkfa1tn2levktk9f0kn72"); // packSubgraphs(int ng, Agraph_t ** gs, Agraph_t * root, pack_info * info)
1746 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1747 UNSUPPORTED("7p7i4cv4qt10ow22vl9znw72j"); // int ret;
1748 UNSUPPORTED("60qkq3hoxtw8jjw7osm6gbvh9"); // ret = packGraphs(ng, gs, root, info);
1749 UNSUPPORTED("4uiunytnyi2vmlytj49547oen"); // if (ret == 0) {
1750 UNSUPPORTED("cb6qes2nvjr9djerw1rcq8w3j"); // int i, j;
1751 UNSUPPORTED("58vfsgm37n0q8bcfczvgvut8m"); // boxf bb;
1752 UNSUPPORTED("ak2n425v85g82xo9282myas7y"); // graph_t* g;
1753 UNSUPPORTED("6rvedme286x3a6z4sema6be33"); // compute_bb(root);
1754 UNSUPPORTED("b6i8aku7mgq1oktewocn2b8au"); // bb = GD_bb(root);
1755 UNSUPPORTED("3e0deh4u5tol3atbp956xif23"); // for (i = 0; i < ng; i++) {
1756 UNSUPPORTED("8awv02csdisyrr0puo3g7x7zo"); // g = gs[i];
1757 UNSUPPORTED("3pxtqjoekga8rbxndmr9eyk8t"); // for (j = 1; j <= GD_n_cluster(g); j++) {
1758 UNSUPPORTED("15cmvttn1yf4brhtxlki7jqff"); // EXPANDBB(bb,GD_bb(GD_clust(g)[j]));
1759 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
1760 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1761 UNSUPPORTED("e9bwlicnysgjem9pm2owophm3"); // GD_bb(root) = bb;
1762 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1763 UNSUPPORTED("f3b7mj138albdr4lodyomke0z"); // return ret;
1764 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1765
1766 throw new UnsupportedOperationException();
1767 }
1768
1769
1770
1771
1772 //3 8rfd6spe19v1327cufpqvnqec
1773 // int pack_graph(int ng, Agraph_t** gs, Agraph_t* root, boolean* fixed)
1774 public static Object pack_graph(Object... arg) {
1775 UNSUPPORTED("7zkpme13g8rxxwloxvpvvnbcw"); // int
1776 UNSUPPORTED("dgtmyy97t6j1t4kpcjat3nnl1"); // pack_graph(int ng, Agraph_t** gs, Agraph_t* root, boolean* fixed)
1777 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1778 UNSUPPORTED("7p7i4cv4qt10ow22vl9znw72j"); // int ret;
1779 UNSUPPORTED("1uqyueaw3113nhl88qcfu7bzu"); // pack_info info;
1780 UNSUPPORTED("9pq8hgklb5oc6tdvk45bgja03"); // getPackInfo(root, l_graph, 8, &info);
1781 UNSUPPORTED("32h39ruk7pnxsjjwa8ptjg8re"); // info.doSplines = 1;
1782 UNSUPPORTED("1my115b5f8fzfk0oafnabmxfj"); // info.fixed = fixed;
1783 UNSUPPORTED("2bhwyiicw1zcnic4vjothzze3"); // ret = packSubgraphs(ng, gs, root, &info);
1784 UNSUPPORTED("5nd36gtfbsaee4fp6jvef26g8"); // if (ret == 0) dotneato_postprocess (root);
1785 UNSUPPORTED("f3b7mj138albdr4lodyomke0z"); // return ret;
1786 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1787
1788 throw new UnsupportedOperationException();
1789 }
1790
1791
1792
1793
1794 //3 5u1pdxxmfiu2hry342a4x7kh6
1795 // static char* chkFlags (char* p, pack_info* pinfo)
1796 public static Object chkFlags(Object... arg) {
1797 UNSUPPORTED("1yranxmu2maol02ulzd1ka1re"); // static char*
1798 UNSUPPORTED("8hwjd3nd6s2uo8zndhppm3kvo"); // chkFlags (char* p, pack_info* pinfo)
1799 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1800 UNSUPPORTED("b95pirj2cs9mytcz8lfgdzg8w"); // int c, more;
1801 UNSUPPORTED("2uon126vetx4frre9rfj5kwo3"); // if (*p != '_') return p;
1802 UNSUPPORTED("cdsfbjd0c8345i6xay73clz7w"); // p++;
1803 UNSUPPORTED("6ecxobdci26ildbdmnvdlxcaq"); // more = 1;
1804 UNSUPPORTED("69yg68y6v9aac3lfm1ph27y4p"); // while (more && (c = *p)) {
1805 UNSUPPORTED("7rk995hpmaqbbasmi40mqg0yw"); // switch (c) {
1806 UNSUPPORTED("7uv0u7m8t8vyjwy3v82ow51w3"); // case 'c' :
1807 UNSUPPORTED("zpuzt82wipz2nkqsosee5ak2"); // pinfo->flags |= (1 << 0);
1808 UNSUPPORTED("847zwwso12sey42b59zepembc"); // p++;
1809 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
1810 UNSUPPORTED("dcwafq80cu9cfgjlh6mde3jl5"); // case 'i' :
1811 UNSUPPORTED("93wkkv5r9w97t1opi2g578qdx"); // pinfo->flags |= (1 << 6);
1812 UNSUPPORTED("847zwwso12sey42b59zepembc"); // p++;
1813 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
1814 UNSUPPORTED("8ef3noocjg099b2wm2at9fcfm"); // case 'u' :
1815 UNSUPPORTED("5fat3lcknhnoy1piblquof76n"); // pinfo->flags |= (1 << 1);
1816 UNSUPPORTED("847zwwso12sey42b59zepembc"); // p++;
1817 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
1818 UNSUPPORTED("4gib6kzlsyq6li9hy7twvu1z2"); // case 't' :
1819 UNSUPPORTED("3fkvofx77siau3tckaayyty9i"); // pinfo->flags |= (1 << 4);
1820 UNSUPPORTED("847zwwso12sey42b59zepembc"); // p++;
1821 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
1822 UNSUPPORTED("f2k4zkd8o9triyu1ym1kmlyq3"); // case 'b' :
1823 UNSUPPORTED("bexhnqh3hnmo2exnreo65qrn9"); // pinfo->flags |= (1 << 5);
1824 UNSUPPORTED("847zwwso12sey42b59zepembc"); // p++;
1825 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
1826 UNSUPPORTED("3gnomrm4ne7tv5zoleucfclel"); // case 'l' :
1827 UNSUPPORTED("50e0nwuj7xqbdvos1msb37ily"); // pinfo->flags |= (1 << 2);
1828 UNSUPPORTED("847zwwso12sey42b59zepembc"); // p++;
1829 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
1830 UNSUPPORTED("aba8jswwne2ykziks3sfo201b"); // case 'r' :
1831 UNSUPPORTED("izuljhdmym8vluo87hpk7kq8"); // pinfo->flags |= (1 << 3);
1832 UNSUPPORTED("847zwwso12sey42b59zepembc"); // p++;
1833 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
1834 UNSUPPORTED("5ujjs4gho9mjjupbibyqyplxp"); // default :
1835 UNSUPPORTED("ak3tvcq0zczj4iaz1osxh5ruq"); // more = 0;
1836 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
1837 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1838 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1839 UNSUPPORTED("91xduilalb406jjyw2g1i07th"); // return p;
1840 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1841
1842 throw new UnsupportedOperationException();
1843 }
1844
1845
1846
1847
1848 //3 f2iaacl82y04a7oguahy9oo6
1849 // static char* mode2Str (pack_mode m)
1850 public static Object mode2Str(Object... arg) {
1851 UNSUPPORTED("1yranxmu2maol02ulzd1ka1re"); // static char*
1852 UNSUPPORTED("cbahd10pirq1ryicw6cbj8454"); // mode2Str (pack_mode m)
1853 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1854 UNSUPPORTED("8yytudftst76763qgnjebkzhm"); // char *s;
1855 UNSUPPORTED("c4zsjnmgv48k6r8sbrvwztb6n"); // switch (m) {
1856 UNSUPPORTED("57a9puw02tf6kffzzki2yiejt"); // case l_clust:
1857 UNSUPPORTED("eriuzmc5hmkj22dwkc1jyxn0f"); // s = "cluster";
1858 UNSUPPORTED("6aw91xzjmqvmtdvt1di23af8y"); // break;
1859 UNSUPPORTED("9dmynvx8joldqskjnpn5m77ze"); // case l_node:
1860 UNSUPPORTED("dm3a6gn1co2hl85txdr7kc7ux"); // s = "node";
1861 UNSUPPORTED("6aw91xzjmqvmtdvt1di23af8y"); // break;
1862 UNSUPPORTED("dpfo62efj4ibm7vn73t9zwpcv"); // case l_graph:
1863 UNSUPPORTED("1leprh5ff6gk2iz2teqzgpmz9"); // s = "graph";
1864 UNSUPPORTED("6aw91xzjmqvmtdvt1di23af8y"); // break;
1865 UNSUPPORTED("9qrcli4a5yhl31kzvzyvb5iho"); // case l_array:
1866 UNSUPPORTED("a8mkbpe7uwb8dmzrlu3hutdsm"); // s = "array";
1867 UNSUPPORTED("6aw91xzjmqvmtdvt1di23af8y"); // break;
1868 UNSUPPORTED("8xvt26fzpofcs0qvk5cpwuynx"); // case l_aspect:
1869 UNSUPPORTED("15jl19ngssxkg73ykfeez8dpd"); // s = "aspect";
1870 UNSUPPORTED("6aw91xzjmqvmtdvt1di23af8y"); // break;
1871 UNSUPPORTED("1jswhiu2nci8p4mklivv8912o"); // case l_undef:
1872 UNSUPPORTED("8l3rwj6ctswoa4gvh2j4poq70"); // default:
1873 UNSUPPORTED("aufikv57oho66mjvuxi8sjjes"); // s = "undefined";
1874 UNSUPPORTED("6aw91xzjmqvmtdvt1di23af8y"); // break;
1875 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1876 UNSUPPORTED("3y6wj3ntgmr1qkdpm7wp1dsch"); // return s;
1877 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1878
1879 throw new UnsupportedOperationException();
1880 }
1881
1882
1883
1884
1885 //3 dyb1n3lhbi0wnr9kvmu6onux9
1886 // pack_mode parsePackModeInfo(char* p, pack_mode dflt, pack_info* pinfo)
1887 public static int parsePackModeInfo(CString p, int dflt, ST_pack_info pinfo) {
1888 ENTERING("dyb1n3lhbi0wnr9kvmu6onux9","parsePackModeInfo");
1889 try {
1890 float v;
1891 int i;
1892 //assert (pinfo);
1893 pinfo.setInt("flags", 0);
1894 pinfo.setInt("mode", dflt);
1895 pinfo.setInt("sz", 0);
1896 pinfo.setPtr("vals", null);
1897 if (p!=null && p.charAt(0)!='\0') {
1898 UNSUPPORTED("2ybrtqq8efxouph8wjbrnowxz"); // switch (*p) {
1899 UNSUPPORTED("2v5u3irq50r1n2ccuna0y09lk"); // case 'a':
1900 UNSUPPORTED("4o68zbwd6291pxryyntjh2432"); // if ((!strncmp(p,"array",(sizeof("array")/sizeof(char) - 1)))) {
1901 UNSUPPORTED("3cxht114gc0fn4wl8xjy515bv"); // pinfo->mode = l_array;
1902 UNSUPPORTED("edkaa80od81ojkn7d4h0q1zbu"); // p += (sizeof("array")/sizeof(char) - 1);
1903 UNSUPPORTED("106zhcf9a6frvafctbbgrbws3"); // p = chkFlags (p, pinfo);
1904 UNSUPPORTED("epac8gmlq3r1q3g6lh3fb9nzh"); // if ((sscanf (p, "%d", &i)>0) && (i > 0))
1905 UNSUPPORTED("2e563kaxakuuou2t5kqvv33w5"); // pinfo->sz = i;
1906 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
1907 UNSUPPORTED("38dve3snq2grkwui6y1tpc6r1"); // else if ((!strncmp(p,"aspect",(sizeof("aspect")/sizeof(char) - 1)))) {
1908 UNSUPPORTED("ems4wqj0nbd0vi3sttf36tnir"); // pinfo->mode = l_aspect;
1909 UNSUPPORTED("3ckdfsy55ba8os2xhymh002al"); // if ((sscanf (p + (sizeof("array")/sizeof(char) - 1), "%f", &v)>0) && (v > 0))
1910 UNSUPPORTED("1i6xlg2sfqvjqjdu811xm5398"); // pinfo->aspect = v;
1911 UNSUPPORTED("7e1uy5mzei37p66t8jp01r3mk"); // else
1912 UNSUPPORTED("b3tzhasiwa1p83l47nhl6k5x8"); // pinfo->aspect = 1;
1913 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
1914 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
1915 UNSUPPORTED("f3lyz2cejs6yn5fyckhn7ba1"); // case 'c':
1916 UNSUPPORTED("d6yjom2gtqleeq1vf5l72eazl"); // if ((*(p)==*("cluster")&&!strcmp(p,"cluster")))
1917 UNSUPPORTED("2xe2y3s32q27l74dshw3831hu"); // pinfo->mode = l_clust;
1918 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
1919 UNSUPPORTED("e00kor2k58i044hvvxytt9dhg"); // case 'g':
1920 UNSUPPORTED("8vzhimdinzz48u15tcx34gzgs"); // if ((*(p)==*("graph")&&!strcmp(p,"graph")))
1921 UNSUPPORTED("coafx7pn3ah1ulp0o7a0z119r"); // pinfo->mode = l_graph;
1922 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
1923 UNSUPPORTED("f187wptsr73liavtlyoyfovp3"); // case 'n':
1924 UNSUPPORTED("aqi1ed010xc3cj8xoye8vqkqe"); // if ((*(p)==*("node")&&!strcmp(p,"node")))
1925 UNSUPPORTED("epewq8yin5pr1meeofxvntjes"); // pinfo->mode = l_node;
1926 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
1927 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1928 }
1929 //if (Verbose) {
1930 //fprintf (stderr, "pack info:\n");
1931 //fprintf (stderr, " mode %s\n", mode2Str(pinfo->mode));
1932 //if (pinfo->mode == l_aspect)
1933 // fprintf (stderr, " aspect %f\n", pinfo->aspect);
1934 //fprintf (stderr, " size %d\n", pinfo->sz);
1935 //fprintf (stderr, " flags %d\n", pinfo->flags);
1936 //}
1937 return pinfo.mode;
1938 } finally {
1939 LEAVING("dyb1n3lhbi0wnr9kvmu6onux9","parsePackModeInfo");
1940 }
1941 }
1942
1943
1944
1945
1946 //3 bnxqpsmvz6tyekstfjte4pzwj
1947 // pack_mode getPackModeInfo(Agraph_t * g, pack_mode dflt, pack_info* pinfo)
1948 public static int getPackModeInfo(ST_Agraph_s g, int dflt, ST_pack_info pinfo) {
1949 ENTERING("bnxqpsmvz6tyekstfjte4pzwj","getPackModeInfo");
1950 try {
1951 return parsePackModeInfo (agget(g, new CString("packmode")), dflt, pinfo);
1952 } finally {
1953 LEAVING("bnxqpsmvz6tyekstfjte4pzwj","getPackModeInfo");
1954 }
1955 }
1956
1957
1958
1959
1960 //3 7drbmsd08zij375icggr3egvy
1961 // pack_mode getPackMode(Agraph_t * g, pack_mode dflt)
1962 public static Object getPackMode(Object... arg) {
1963 UNSUPPORTED("c1prvosj3g3y8yq8z6btufyr1"); // pack_mode
1964 UNSUPPORTED("acjweauaygv7o5gppq7c33mp7"); // getPackMode(Agraph_t * g, pack_mode dflt)
1965 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1966 UNSUPPORTED("c0d79ghjhm6kl6qz811tqj0ip"); // pack_info info;
1967 UNSUPPORTED("3abevvtclwlzp8dcg3zhzsnll"); // return getPackModeInfo (g, dflt, &info);
1968 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1969
1970 throw new UnsupportedOperationException();
1971 }
1972
1973
1974
1975
1976 //3 ata97fmix5q1oikrmk5pezvrf
1977 // int getPack(Agraph_t * g, int not_def, int dflt)
1978 public static int getPack(ST_Agraph_s g, int not_def, int dflt) {
1979 ENTERING("ata97fmix5q1oikrmk5pezvrf","getPack");
1980 try {
1981 CString p;
1982 int i;
1983 int v = not_def;
1984 if ((p = agget(g, new CString("pack")))!=null) {
1985 UNSUPPORTED("enpqar7c7okvibe7xhe0vjtfn"); // if ((sscanf(p, "%d", &i) == 1) && (i >= 0))
1986 UNSUPPORTED("3puzxwczcmpxvlw8cvmeyio74"); // v = i;
1987 UNSUPPORTED("65w8fxtw319slbg2c6nvtmow8"); // else if ((*p == 't') || (*p == 'T'))
1988 UNSUPPORTED("5lifdir9mxnvpi8ur34qo0jej"); // v = dflt;
1989 }
1990 return v;
1991 } finally {
1992 LEAVING("ata97fmix5q1oikrmk5pezvrf","getPack");
1993 }
1994 }
1995
1996
1997
1998
1999 //3 ce4a70w8ddkj4l9efi74h61s6
2000 // pack_mode getPackInfo(Agraph_t * g, pack_mode dflt, int dfltMargin, pack_info* pinfo)
2001 public static int getPackInfo(ST_Agraph_s g, int dflt, int dfltMargin, ST_pack_info pinfo) {
2002 ENTERING("ce4a70w8ddkj4l9efi74h61s6","getPackInfo");
2003 try {
2004 //assert (pinfo);
2005 pinfo.setInt("margin", getPack(g, dfltMargin, dfltMargin));
2006 //if (Verbose) {
2007 //fprintf (stderr, " margin %d\n", pinfo->margin);
2008 //}
2009 pinfo.setInt("doSplines", 0);
2010 pinfo.setInt("fixed", 0);
2011 getPackModeInfo(g, dflt, pinfo);
2012 return pinfo.mode;
2013 } finally {
2014 LEAVING("ce4a70w8ddkj4l9efi74h61s6","getPackInfo");
2015 }
2016 }
2017
2018
2019 }