Debian Codegraph @

src/gen/lib/fdpgen/xlayout__c.java

raw symbols SCIP
1 /* ========================================================================
2 * PlantUML : a free UML diagram generator
3 * ========================================================================
4 *
5 * Project Info: http://plantuml.com
6 *
7 * If you like this project or if you find it useful, you can support us at:
8 *
9 * http://plantuml.com/patreon (only 1$ per month!)
10 * http://plantuml.com/paypal
11 *
12 * This file is part of Smetana.
13 * Smetana is a partial translation of Graphviz/Dot sources from C to Java.
14 *
15 * (C) Copyright 2009-2020, Arnaud Roques
16 *
17 * This translation is distributed under the same Licence as the original C program:
18 *
19 *************************************************************************
20 * Copyright (c) 2011 AT&T Intellectual Property
21 * All rights reserved. This program and the accompanying materials
22 * are made available under the terms of the Eclipse Public License v1.0
23 * which accompanies this distribution, and is available at
24 * http://www.eclipse.org/legal/epl-v10.html
25 *
26 * Contributors: See CVS logs. Details at http://www.graphviz.org/
27 *************************************************************************
28 *
29 * THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC
30 * LICENSE ("AGREEMENT"). [Eclipse Public License - v 1.0]
31 *
32 * ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES
33 * RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
34 *
35 * You may obtain a copy of the License at
36 *
37 * http://www.eclipse.org/legal/epl-v10.html
38 *
39 * Unless required by applicable law or agreed to in writing, software
40 * distributed under the License is distributed on an "AS IS" BASIS,
41 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
42 * See the License for the specific language governing permissions and
43 * limitations under the License.
44 *
45 */
46 package gen.lib.fdpgen;
47 import static smetana.core.JUtilsDebug.ENTERING;
48 import static smetana.core.JUtilsDebug.LEAVING;
49 import static smetana.core.Macro.UNSUPPORTED;
50 import h.ST_pointf;
51
52 public class xlayout__c {
53 //1 2digov3edok6d5srhgtlmrycs
54 // extern lt_symlist_t lt_preloaded_symbols[]
55
56
57 //1 baedz5i9est5csw3epz3cv7z
58 // typedef Ppoly_t Ppolyline_t
59
60
61 //1 9k44uhd5foylaeoekf3llonjq
62 // extern Dtmethod_t* Dtset
63
64
65 //1 1ahfywsmzcpcig2oxm7pt9ihj
66 // extern Dtmethod_t* Dtbag
67
68
69 //1 anhghfj3k7dmkudy2n7rvt31v
70 // extern Dtmethod_t* Dtoset
71
72
73 //1 5l6oj1ux946zjwvir94ykejbc
74 // extern Dtmethod_t* Dtobag
75
76
77 //1 2wtf222ak6cui8cfjnw6w377z
78 // extern Dtmethod_t* Dtlist
79
80
81 //1 d1s1s6ibtcsmst88e3057u9r7
82 // extern Dtmethod_t* Dtstack
83
84
85 //1 axa7mflo824p6fspjn1rdk0mt
86 // extern Dtmethod_t* Dtqueue
87
88
89 //1 ega812utobm4xx9oa9w9ayij6
90 // extern Dtmethod_t* Dtdeque
91
92
93 //1 cyfr996ur43045jv1tjbelzmj
94 // extern Dtmethod_t* Dtorder
95
96
97 //1 wlofoiftbjgrrabzb2brkycg
98 // extern Dtmethod_t* Dttree
99
100
101 //1 12bds94t7voj7ulwpcvgf6agr
102 // extern Dtmethod_t* Dthash
103
104
105 //1 9lqknzty480cy7zsubmabkk8h
106 // extern Dtmethod_t _Dttree
107
108
109 //1 bvn6zkbcp8vjdhkccqo1xrkrb
110 // extern Dtmethod_t _Dthash
111
112
113 //1 9lidhtd6nsmmv3e7vjv9e10gw
114 // extern Dtmethod_t _Dtlist
115
116
117 //1 34ujfamjxo7xn89u90oh2k6f8
118 // extern Dtmethod_t _Dtqueue
119
120
121 //1 3jy4aceckzkdv950h89p4wjc8
122 // extern Dtmethod_t _Dtstack
123
124
125 //1 8dfqgf3u1v830qzcjqh9o8ha7
126 // extern Agmemdisc_t AgMemDisc
127
128
129 //1 18k2oh2t6llfsdc5x0wlcnby8
130 // extern Agiddisc_t AgIdDisc
131
132
133 //1 a4r7hi80gdxtsv4hdoqpyiivn
134 // extern Agiodisc_t AgIoDisc
135
136
137 //1 bnzt5syjb7mgeru19114vd6xx
138 // extern Agdisc_t AgDefaultDisc
139
140
141 //1 35y2gbegsdjilegaribes00mg
142 // extern Agdesc_t Agdirected, Agstrictdirected, Agundirected, Agstrictundirected
143
144
145 //1 c2rygslq6bcuka3awmvy2b3ow
146 // typedef Agsubnode_t Agnoderef_t
147
148
149 //1 xam6yv0dcsx57dtg44igpbzn
150 // typedef Dtlink_t Agedgeref_t
151
152
153 //1 nye6dsi1twkbddwo9iffca1j
154 // extern char *Version
155
156
157 //1 65mu6k7h7lb7bx14jpiw7iyxr
158 // extern char **Files
159
160
161 //1 2rpjdzsdyrvomf00zcs3u3dyn
162 // extern const char **Lib
163
164
165 //1 6d2f111lntd2rsdt4gswh5909
166 // extern char *CmdName
167
168
169 //1 a0ltq04fpeg83soa05a2fkwb2
170 // extern char *specificFlags
171
172
173 //1 1uv30qeqq2jh6uznlr4dziv0y
174 // extern char *specificItems
175
176
177 //1 7i4hkvngxe3x7lmg5h6b3t9g3
178 // extern char *Gvfilepath
179
180
181 //1 9jp96pa73kseya3w6sulxzok6
182 // extern char *Gvimagepath
183
184
185 //1 40ylumfu7mrvawwf4v2asvtwk
186 // extern unsigned char Verbose
187
188
189 //1 93st8awjy1z0h07n28qycbaka
190 // extern unsigned char Reduce
191
192
193 //1 f2vs67ts992erf8onwfglurzp
194 // extern int MemTest
195
196
197 //1 c6f8whijgjwwagjigmxlwz3gb
198 // extern char *HTTPServerEnVar
199
200
201 //1 cp4hzj7p87m7arw776d3bt7aj
202 // extern char *Output_file_name
203
204
205 //1 a3rqagofsgraie6mx0krzkgsy
206 // extern int graphviz_errors
207
208
209 //1 5up05203r4kxvjn1m4njcgq5x
210 // extern int Nop
211
212
213 //1 umig46cco431x14b3kosde2t
214 // extern double PSinputscale
215
216
217 //1 52bj6v8fqz39khasobljfukk9
218 // extern int Syntax_errors
219
220
221 //1 9ekf2ina8fsjj6y6i0an6somj
222 // extern int Show_cnt
223
224
225 //1 38di5qi3nkxkq65onyvconk3r
226 // extern char** Show_boxes
227
228
229 //1 6ri6iu712m8mpc7t2670etpcw
230 // extern int CL_type
231
232
233 //1 bomxiw3gy0cgd1ydqtek7fpxr
234 // extern unsigned char Concentrate
235
236
237 //1 cqy3gqgcq8empdrbnrhn84058
238 // extern double Epsilon
239
240
241 //1 64slegfoouqeg0rmbyjrm8wgr
242 // extern int MaxIter
243
244
245 //1 88wdinpnmfs4mab4aw62yb0bg
246 // extern int Ndim
247
248
249 //1 8bbad3ogcelqnnvo5br5s05gq
250 // extern int State
251
252
253 //1 17rnd8q45zclfn68qqst2vxxn
254 // extern int EdgeLabelsDone
255
256
257 //1 ymx1z4s8cznjifl2d9f9m8jr
258 // extern double Initial_dist
259
260
261 //1 a33bgl0c3uqb3trx419qulj1x
262 // extern double Damping
263
264
265 //1 d9lvrpjg1r0ojv40pod1xwk8n
266 // extern int Y_invert
267
268
269 //1 71efkfs77q5tq9ex6y0f4kanh
270 // extern int GvExitOnUsage
271
272
273 //1 4xy2dkdkv0acs2ue9eca8hh2e
274 // extern Agsym_t *G_activepencolor, *G_activefillcolor, *G_selectedpencolor, *G_selectedfillcolor, *G_visitedpencolor, *G_visitedfillcolor, *G_deletedpencolor, *G_deletedfillcolor, *G_ordering, *G_peripheries, *G_penwidth, *G_gradientangle, *G_margin
275
276
277 //1 9js5gxgzr74eakgtfhnbws3t9
278 // extern Agsym_t *N_height, *N_width, *N_shape, *N_color, *N_fillcolor, *N_activepencolor, *N_activefillcolor, *N_selectedpencolor, *N_selectedfillcolor, *N_visitedpencolor, *N_visitedfillcolor, *N_deletedpencolor, *N_deletedfillcolor, *N_fontsize, *N_fontname, *N_fontcolor, *N_margin, *N_label, *N_xlabel, *N_nojustify, *N_style, *N_showboxes, *N_sides, *N_peripheries, *N_ordering, *N_orientation, *N_skew, *N_distortion, *N_fixed, *N_imagescale, *N_layer, *N_group, *N_comment, *N_vertices, *N_z, *N_penwidth, *N_gradientangle
279
280
281 //1 anqllp9sj7wo45w6bm11j8trn
282 // extern Agsym_t *E_weight, *E_minlen, *E_color, *E_fillcolor, *E_activepencolor, *E_activefillcolor, *E_selectedpencolor, *E_selectedfillcolor, *E_visitedpencolor, *E_visitedfillcolor, *E_deletedpencolor, *E_deletedfillcolor, *E_fontsize, *E_fontname, *E_fontcolor, *E_label, *E_xlabel, *E_dir, *E_style, *E_decorate, *E_showboxes, *E_arrowsz, *E_constr, *E_layer, *E_comment, *E_label_float, *E_samehead, *E_sametail, *E_arrowhead, *E_arrowtail, *E_headlabel, *E_taillabel, *E_labelfontsize, *E_labelfontname, *E_labelfontcolor, *E_labeldistance, *E_labelangle, *E_tailclip, *E_headclip, *E_penwidth
283
284
285 //1 bh0z9puipqw7gymjd5h5b8s6i
286 // extern struct fdpParms_s* fdp_parms
287
288
289
290
291 //3 ciez0pfggxdljedzsbklq49f0
292 // static inline point pointof(int x, int y)
293 public static Object pointof(Object... arg) {
294 UNSUPPORTED("8e4tj258yvfq5uhsdpk37n5eq"); // static inline point pointof(int x, int y)
295 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
296 UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r;
297 UNSUPPORTED("12jimkrzqxavaie0cpapbx18c"); // r.x = x;
298 UNSUPPORTED("7ivmviysahgsc5nn9gtp7q2if"); // r.y = y;
299 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
300 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
301
302 throw new UnsupportedOperationException();
303 }
304
305
306
307
308 //3 c1s4k85p1cdfn176o3uryeros
309 // static inline pointf pointfof(double x, double y)
310 public static ST_pointf pointfof(double x, double y) {
311 // WARNING!! STRUCT
312 return pointfof_w_(x, y).copy();
313 }
314 private static ST_pointf pointfof_w_(double x, double y) {
315 ENTERING("c1s4k85p1cdfn176o3uryeros","pointfof");
316 try {
317 final ST_pointf r = new ST_pointf();
318 r.setDouble("x", x);
319 r.setDouble("y", y);
320 return r;
321 } finally {
322 LEAVING("c1s4k85p1cdfn176o3uryeros","pointfof");
323 }
324 }
325
326
327
328
329 //3 7cufnfitrh935ew093mw0i4b7
330 // static inline box boxof(int llx, int lly, int urx, int ury)
331 public static Object boxof(Object... arg) {
332 UNSUPPORTED("3lzesfdd337h31jrlib1czocm"); // static inline box boxof(int llx, int lly, int urx, int ury)
333 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
334 UNSUPPORTED("52u27kayecy1i1e8bbo8f7s9r"); // box b;
335 UNSUPPORTED("cylhjlutoc0sc0uy7g98m9fb8"); // b.LL.x = llx, b.LL.y = lly;
336 UNSUPPORTED("242of6revxzx8hpe7yerrchz6"); // b.UR.x = urx, b.UR.y = ury;
337 UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b;
338 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
339
340 throw new UnsupportedOperationException();
341 }
342
343
344
345
346
347
348
349
350 //3 1n5xl70wxuabyf97mclvilsm6
351 // static inline point add_point(point p, point q)
352 public static Object add_point(Object... arg) {
353 UNSUPPORTED("6iamka1fx8fk1rohzzse8phte"); // static inline point add_point(point p, point q)
354 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
355 UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r;
356 UNSUPPORTED("3n2sizjd0civbzm6iq7su1s2p"); // r.x = p.x + q.x;
357 UNSUPPORTED("65ygdo31w09i5i6bd2f7azcd3"); // r.y = p.y + q.y;
358 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
359 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
360
361 throw new UnsupportedOperationException();
362 }
363
364
365
366
367 //3 arrsbik9b5tnfcbzsm8gr2chx
368 // static inline pointf add_pointf(pointf p, pointf q)
369 public static ST_pointf add_pointf(final ST_pointf p, final ST_pointf q) {
370 // WARNING!! STRUCT
371 return add_pointf_w_(p.copy(), q.copy()).copy();
372 }
373 private static ST_pointf add_pointf_w_(final ST_pointf p, final ST_pointf q) {
374 ENTERING("arrsbik9b5tnfcbzsm8gr2chx","add_pointf");
375 try {
376 final ST_pointf r = new ST_pointf();
377 r.setDouble("x", p.x + q.x);
378 r.setDouble("y", p.y + q.y);
379 return r;
380 } finally {
381 LEAVING("arrsbik9b5tnfcbzsm8gr2chx","add_pointf");
382 }
383 }
384
385
386
387
388 //3 ai2dprak5y6obdsflguh5qbd7
389 // static inline point sub_point(point p, point q)
390 public static Object sub_point(Object... arg) {
391 UNSUPPORTED("cd602849h0bce8lu9xegka0ia"); // static inline point sub_point(point p, point q)
392 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
393 UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r;
394 UNSUPPORTED("4q4q9dveah93si8ajfv59gz27"); // r.x = p.x - q.x;
395 UNSUPPORTED("9f90ik0o2yqhanzntpy3d2ydy"); // r.y = p.y - q.y;
396 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
397 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
398
399 throw new UnsupportedOperationException();
400 }
401
402
403
404
405 //3 16f6pyogcv3j7n2p0n8giqqgh
406 // static inline pointf sub_pointf(pointf p, pointf q)
407 public static Object sub_pointf(Object... arg) {
408 UNSUPPORTED("dmufj44lddsnj0wjyxsg2fcso"); // static inline pointf sub_pointf(pointf p, pointf q)
409 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
410 UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r;
411 UNSUPPORTED("4q4q9dveah93si8ajfv59gz27"); // r.x = p.x - q.x;
412 UNSUPPORTED("9f90ik0o2yqhanzntpy3d2ydy"); // r.y = p.y - q.y;
413 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
414 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
415
416 throw new UnsupportedOperationException();
417 }
418
419
420
421
422 //3 9k50jgrhc4f9824vf8ony74rw
423 // static inline point mid_point(point p, point q)
424 public static Object mid_point(Object... arg) {
425 UNSUPPORTED("evy44tdsmu3erff9dp2x835u2"); // static inline point mid_point(point p, point q)
426 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
427 UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r;
428 UNSUPPORTED("1a6p6fm57o0wt5ze2btsx06c7"); // r.x = (p.x + q.x) / 2;
429 UNSUPPORTED("1kbj5tgdmfi6kf4jgg6skhr6e"); // r.y = (p.y + q.y) / 2;
430 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
431 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
432
433 throw new UnsupportedOperationException();
434 }
435
436
437
438
439 //3 59c4f7im0ftyowhnzzq2v9o1x
440 // static inline pointf mid_pointf(pointf p, pointf q)
441 public static Object mid_pointf(Object... arg) {
442 UNSUPPORTED("381o63o9kb04d7gzg65v0r3q"); // static inline pointf mid_pointf(pointf p, pointf q)
443 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
444 UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r;
445 UNSUPPORTED("c5vboetlr3mf43wns7iik6m1w"); // r.x = (p.x + q.x) / 2.;
446 UNSUPPORTED("bcdf562ldr3bjn78hcay5xd63"); // r.y = (p.y + q.y) / 2.;
447 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
448 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
449
450 throw new UnsupportedOperationException();
451 }
452
453
454
455
456 //3 5r18p38gisvcx3zsvbb9saixx
457 // static inline pointf interpolate_pointf(double t, pointf p, pointf q)
458 public static Object interpolate_pointf(Object... arg) {
459 UNSUPPORTED("894yimn33kmtm454llwdaotu8"); // static inline pointf interpolate_pointf(double t, pointf p, pointf q)
460 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
461 UNSUPPORTED("ef2acl8wa2ooqcb5vz3098maz"); // pointf r;
462 UNSUPPORTED("5tpwuyf5iidesy80v8o4nwkmk"); // r.x = p.x + t * (q.x - p.x);
463 UNSUPPORTED("ewnrc5uloj3w5jbmsjcn3wja0"); // r.y = p.y + t * (q.y - p.y);
464 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
465 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
466
467 throw new UnsupportedOperationException();
468 }
469
470
471
472
473 //3 bxzrv2ghq04qk5cbyy68s4mol
474 // static inline point exch_xy(point p)
475 public static Object exch_xy(Object... arg) {
476 UNSUPPORTED("2vxya0v2fzlv5e0vjaa8d414"); // static inline point exch_xy(point p)
477 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
478 UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r;
479 UNSUPPORTED("60cojdwc2h7f0m51s9jdwvup7"); // r.x = p.y;
480 UNSUPPORTED("evp2x66oa4s1tlnc0ytxq2qbq"); // r.y = p.x;
481 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
482 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
483
484 throw new UnsupportedOperationException();
485 }
486
487
488
489
490 //3 9lt3e03tac6h6sydljrcws8fd
491 // static inline pointf exch_xyf(pointf p)
492 public static Object exch_xyf(Object... arg) {
493 UNSUPPORTED("8qamrobrqi8jsvvfrxkimrsnw"); // static inline pointf exch_xyf(pointf p)
494 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
495 UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r;
496 UNSUPPORTED("60cojdwc2h7f0m51s9jdwvup7"); // r.x = p.y;
497 UNSUPPORTED("evp2x66oa4s1tlnc0ytxq2qbq"); // r.y = p.x;
498 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
499 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
500
501 throw new UnsupportedOperationException();
502 }
503
504
505
506
507 //3 8l9qhieokthntzdorlu5zn29b
508 // static inline box box_bb(box b0, box b1)
509 public static Object box_bb(Object... arg) {
510 UNSUPPORTED("36et5gmnjrby6o7bq9sgh1hx6"); // static inline box box_bb(box b0, box b1)
511 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
512 UNSUPPORTED("52u27kayecy1i1e8bbo8f7s9r"); // box b;
513 UNSUPPORTED("8mr2c9xitsqi8z1plbp7ox1hu"); // b.LL.x = MIN(b0.LL.x, b1.LL.x);
514 UNSUPPORTED("2egu55ef4u1i03nwz01k7kcrl"); // b.LL.y = MIN(b0.LL.y, b1.LL.y);
515 UNSUPPORTED("9n6ei3odbgefwfxvql9whcpe"); // b.UR.x = MAX(b0.UR.x, b1.UR.x);
516 UNSUPPORTED("19ocysbuh4pxyft2bqhyhigr1"); // b.UR.y = MAX(b0.UR.y, b1.UR.y);
517 UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b;
518 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
519
520 throw new UnsupportedOperationException();
521 }
522
523
524
525
526 //3 clws9h3bbjm0lw3hexf8nl4c4
527 // static inline boxf boxf_bb(boxf b0, boxf b1)
528 public static Object boxf_bb(Object... arg) {
529 UNSUPPORTED("dyrqu4ww9osr9c86gqgmifcp6"); // static inline boxf boxf_bb(boxf b0, boxf b1)
530 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
531 UNSUPPORTED("c57pq0f87j6dnbcvygu7v6k84"); // boxf b;
532 UNSUPPORTED("8mr2c9xitsqi8z1plbp7ox1hu"); // b.LL.x = MIN(b0.LL.x, b1.LL.x);
533 UNSUPPORTED("2egu55ef4u1i03nwz01k7kcrl"); // b.LL.y = MIN(b0.LL.y, b1.LL.y);
534 UNSUPPORTED("9n6ei3odbgefwfxvql9whcpe"); // b.UR.x = MAX(b0.UR.x, b1.UR.x);
535 UNSUPPORTED("19ocysbuh4pxyft2bqhyhigr1"); // b.UR.y = MAX(b0.UR.y, b1.UR.y);
536 UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b;
537 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
538
539 throw new UnsupportedOperationException();
540 }
541
542
543
544
545 //3 bit6ycxo1iqd2al92y8gkzlvb
546 // static inline box box_intersect(box b0, box b1)
547 public static Object box_intersect(Object... arg) {
548 UNSUPPORTED("34gv28cldst09bl71itjgviue"); // static inline box box_intersect(box b0, box b1)
549 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
550 UNSUPPORTED("52u27kayecy1i1e8bbo8f7s9r"); // box b;
551 UNSUPPORTED("9slu7bixuymxttjic76ha2nl2"); // b.LL.x = MAX(b0.LL.x, b1.LL.x);
552 UNSUPPORTED("3uv943c2f82yuif249pf5azob"); // b.LL.y = MAX(b0.LL.y, b1.LL.y);
553 UNSUPPORTED("74tf5h16bc9zabq3s3dyny543"); // b.UR.x = MIN(b0.UR.x, b1.UR.x);
554 UNSUPPORTED("d99gcv3i7xes7y7rqf8ii20ux"); // b.UR.y = MIN(b0.UR.y, b1.UR.y);
555 UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b;
556 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
557
558 throw new UnsupportedOperationException();
559 }
560
561
562
563
564 //3 8gfybie7k6pgb3o1a6llgpwng
565 // static inline boxf boxf_intersect(boxf b0, boxf b1)
566 public static Object boxf_intersect(Object... arg) {
567 UNSUPPORTED("ape22b8z6jfg17gvo42hok9eb"); // static inline boxf boxf_intersect(boxf b0, boxf b1)
568 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
569 UNSUPPORTED("c57pq0f87j6dnbcvygu7v6k84"); // boxf b;
570 UNSUPPORTED("9slu7bixuymxttjic76ha2nl2"); // b.LL.x = MAX(b0.LL.x, b1.LL.x);
571 UNSUPPORTED("3uv943c2f82yuif249pf5azob"); // b.LL.y = MAX(b0.LL.y, b1.LL.y);
572 UNSUPPORTED("74tf5h16bc9zabq3s3dyny543"); // b.UR.x = MIN(b0.UR.x, b1.UR.x);
573 UNSUPPORTED("d99gcv3i7xes7y7rqf8ii20ux"); // b.UR.y = MIN(b0.UR.y, b1.UR.y);
574 UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b;
575 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
576
577 throw new UnsupportedOperationException();
578 }
579
580
581
582
583 //3 7z8j2quq65govaaejrz7b4cvb
584 // static inline int box_overlap(box b0, box b1)
585 public static Object box_overlap(Object... arg) {
586 UNSUPPORTED("1e9k599x7ygct7r4cfdxlk9u9"); // static inline int box_overlap(box b0, box b1)
587 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
588 UNSUPPORTED("7a9wwpu7dhdphd08y1ecw54w5"); // return OVERLAP(b0, b1);
589 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
590
591 throw new UnsupportedOperationException();
592 }
593
594
595
596
597 //3 4z0suuut2acsay5m8mg9dqjdu
598 // static inline int boxf_overlap(boxf b0, boxf b1)
599 public static Object boxf_overlap(Object... arg) {
600 UNSUPPORTED("905nejsewihwhhc3bhnrz9nwo"); // static inline int boxf_overlap(boxf b0, boxf b1)
601 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
602 UNSUPPORTED("7a9wwpu7dhdphd08y1ecw54w5"); // return OVERLAP(b0, b1);
603 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
604
605 throw new UnsupportedOperationException();
606 }
607
608
609
610
611 //3 dd34swz5rmdgu3a2np2a4h1dy
612 // static inline int box_contains(box b0, box b1)
613 public static Object box_contains(Object... arg) {
614 UNSUPPORTED("aputfc30fjkvy6jx4otljaczq"); // static inline int box_contains(box b0, box b1)
615 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
616 UNSUPPORTED("87ap80vrh2a4gpprbxr33lrg3"); // return CONTAINS(b0, b1);
617 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
618
619 throw new UnsupportedOperationException();
620 }
621
622
623
624
625 //3 8laj1bspbu2i1cjd9upr7xt32
626 // static inline int boxf_contains(boxf b0, boxf b1)
627 public static Object boxf_contains(Object... arg) {
628 UNSUPPORTED("7ccnttkiwt834yfyw0evcm18v"); // static inline int boxf_contains(boxf b0, boxf b1)
629 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
630 UNSUPPORTED("87ap80vrh2a4gpprbxr33lrg3"); // return CONTAINS(b0, b1);
631 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
632
633 throw new UnsupportedOperationException();
634 }
635
636
637
638
639 //3 4wf5swkz24xx51ja2dynbycu1
640 // static inline pointf perp (pointf p)
641 public static Object perp(Object... arg) {
642 UNSUPPORTED("567wpqlg9rv63ynyvxd9sgkww"); // static inline pointf perp (pointf p)
643 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
644 UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r;
645 UNSUPPORTED("2fyydy6t6yifjsczccsb9szeg"); // r.x = -p.y;
646 UNSUPPORTED("evp2x66oa4s1tlnc0ytxq2qbq"); // r.y = p.x;
647 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
648 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
649
650 throw new UnsupportedOperationException();
651 }
652
653
654
655
656 //3 6dtlpzv4mvgzb9o0b252yweuv
657 // static inline pointf scale (double c, pointf p)
658 public static Object scale(Object... arg) {
659 UNSUPPORTED("c1ngytew34bmkdb7vps5h3dh8"); // static inline pointf scale (double c, pointf p)
660 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
661 UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r;
662 UNSUPPORTED("dznf7nac14snww4usquyd6r3r"); // r.x = c * p.x;
663 UNSUPPORTED("33kk73m8vjcux5tnjl8co2pe6"); // r.y = c * p.y;
664 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
665 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
666
667 throw new UnsupportedOperationException();
668 }
669
670
671 //1 cvpqgsec3tmr0h6kegatvdo2o
672 // static xparams xParams =
673
674
675 //1 8f9xdlbcpihdbur9naj231v5t
676 // static double K2
677
678
679 //1 5aob4wghdkq1e28nt4oyrvddh
680 // static expand_t X_marg
681
682
683 //1 7l32vac8fp98do10cuqzpsl4l
684 // static double X_nonov
685
686
687 //1 e5ye4unps2rfrha39ipukbu5e
688 // static double X_ov
689
690
691
692
693 //3 5bxdoearankwgwnh7ieev1f2t
694 // void pr2graphs(Agraph_t *g0, Agraph_t *g1)
695 public static Object pr2graphs(Object... arg) {
696 UNSUPPORTED("8ob5e3tj3qqkxk707z4sva7dz"); // void pr2graphs(Agraph_t *g0, Agraph_t *g1)
697 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
698 UNSUPPORTED("m4sd0gipecvy276t1dajif14"); // fprintf(stderr,"%s",agnameof(g0));
699 UNSUPPORTED("aq42dms9d1zaqtfyso8yls5l6"); // fprintf(stderr,"(%s)",agnameof(g1));
700 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
701
702 throw new UnsupportedOperationException();
703 }
704
705
706
707
708 //3 9ezskcr89rqd729rtrbqk4blk
709 // static double RAD(Agnode_t * n)
710 public static Object RAD(Object... arg) {
711 UNSUPPORTED("oc162pur08qfqvc6kkdwcgw"); // static double RAD(Agnode_t * n)
712 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
713 UNSUPPORTED("anaablhvhkpfruhh6q7k9lfwn"); // double w = (X_marg.doAdd ? (ND_width(n)/2.0 + X_marg.x): ND_width(n)*X_marg.x/2.0);
714 UNSUPPORTED("zp1pznlvmbw2pfi4j7brjwh5"); // double h = (X_marg.doAdd ? (ND_height(n)/2.0 + X_marg.y): ND_height(n)*X_marg.y/2.0);
715 UNSUPPORTED("9trl22mhp4axgmgirik14gr6u"); // return sqrt(w * w + h * h);
716 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
717
718 throw new UnsupportedOperationException();
719 }
720
721
722
723
724 //3 35nd9lhu27rtjq5z85w20sqxk
725 // static void xinit_params(graph_t* g, int n, xparams * xpms)
726 public static Object xinit_params(Object... arg) {
727 UNSUPPORTED("2yuaxdm4eoik8go49xh4jyliq"); // static void xinit_params(graph_t* g, int n, xparams * xpms)
728 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
729 UNSUPPORTED("7d3dcu9gn67sf4j6ofdlzd9e2"); // xParams.K = xpms->K;
730 UNSUPPORTED("bzscxmdiib054y1b13fn8y6vb"); // xParams.numIters = xpms->numIters;
731 UNSUPPORTED("96uw87kt0m77qnixaozfrlmeb"); // xParams.T0 = xpms->T0;
732 UNSUPPORTED("edcnua4znlcko2ncehdp01ux9"); // xParams.loopcnt = xpms->loopcnt;
733 UNSUPPORTED("cmz7xoetbuvn90unm99tcjrhz"); // if (xpms->C > 0.0)
734 UNSUPPORTED("44asfxa3iqq1cwctk3z80y6mn"); // xParams.C = xpms->C;
735 UNSUPPORTED("74kcpkkqnpr70f5ns8e0ylhwy"); // K2 = xParams.K * xParams.K;
736 UNSUPPORTED("9y1fegjaeqd8rpw0k4gxl17ry"); // if (xParams.T0 == 0.0)
737 UNSUPPORTED("9g259lfbcjl150015cll6r9jn"); // xParams.T0 = xParams.K * sqrt(n) / 5;
738 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
739
740 throw new UnsupportedOperationException();
741 }
742
743
744
745
746 //3 4evkrutya1m77f44ifcv5ul6k
747 // static double cool(int t)
748 public static Object cool(Object... arg) {
749 UNSUPPORTED("95xloz3za5b4e2j9eok82tdtc"); // static double cool(int t)
750 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
751 UNSUPPORTED("16z464o3q66yekgwi2p39a8pb"); // return (xParams.T0 * (xParams.numIters - t)) / xParams.numIters;
752 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
753
754 throw new UnsupportedOperationException();
755 }
756
757
758
759
760 //3 6jgb6820mp4qkxw4s0i7ep80q
761 // static int overlap(node_t * p, node_t * q)
762 public static Object overlap(Object... arg) {
763 UNSUPPORTED("1gajvytagqemoeeempry9wuse"); // static int overlap(node_t * p, node_t * q)
764 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
765 UNSUPPORTED("fwy8i5zbwxhddxrcwdkd8w1g"); // double xdelta, ydelta;
766 UNSUPPORTED("2kjx8618avzvxvykmg255vf7n"); // int ret;
767 UNSUPPORTED("1gexoq8hut0hmb4k5ef2tvif7"); // xdelta = ND_pos(q)[0] - ND_pos(p)[0];
768 UNSUPPORTED("a56zgftjqv6dl2mm95rkt5mh0"); // if (xdelta < 0)
769 UNSUPPORTED("f1yrmo110089rce2g7b5jgxi2"); // xdelta = -xdelta;
770 UNSUPPORTED("bwmnzroxk4eq5fdyzazcmagjs"); // ydelta = ND_pos(q)[1] - ND_pos(p)[1];
771 UNSUPPORTED("6p9797iiupvo9d8qdjagdayiw"); // if (ydelta < 0)
772 UNSUPPORTED("6q3ayjopnn4trdnypm5ntd819"); // ydelta = -ydelta;
773 UNSUPPORTED("a1v2usm8o9axh44ndj4urb3vc"); // ret = ((xdelta <= ((X_marg.doAdd ? (ND_width(p)/2.0 + X_marg.x): ND_width(p)*X_marg.x/2.0) + (X_marg.doAdd ? (ND_width(q)/2.0 + X_marg.x): ND_width(q)*X_marg.x/2.0))) && (ydelta <= ((X_marg.doAdd ? (ND_height(p)/2.0 + X_marg.y): ND_height(p)*X_marg.y/2.0) + (X_marg.doAdd ? (ND_height(q)/2.0 + X_marg.y): ND_height(q)*X_marg.y/2.0))));
774 UNSUPPORTED("f3b7mj138albdr4lodyomke0z"); // return ret;
775 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
776
777 throw new UnsupportedOperationException();
778 }
779
780
781
782
783 //3 8pxjya6r06g8bxhmlw8bd0fsn
784 // static int cntOverlaps(graph_t * g)
785 public static Object cntOverlaps(Object... arg) {
786 UNSUPPORTED("31o5xe9u8gbzv8w7pouydcktx"); // static int cntOverlaps(graph_t * g)
787 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
788 UNSUPPORTED("enbpte8r795n45mzb78meqjac"); // node_t *p;
789 UNSUPPORTED("aic5rmpwe0z0iycem3zwnz54z"); // node_t *q;
790 UNSUPPORTED("behjm5bjsenezpg3f7cncvteu"); // int cnt = 0;
791 UNSUPPORTED("1tf4b5zc506wr6frwwc6uiqh1"); // for (p = agfstnode(g); p; p = agnxtnode(g, p)) {
792 UNSUPPORTED("cr44g0ehxj0z2z6zs1l1joab"); // for (q = agnxtnode(g, p); q; q = agnxtnode(g, q)) {
793 UNSUPPORTED("2p4utan0wd6zdw72yy5h9mse2"); // cnt += overlap(p, q);
794 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
795 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
796 UNSUPPORTED("3zkt5kbq3sockq663o3s3ync7"); // return cnt;
797 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
798
799 throw new UnsupportedOperationException();
800 }
801
802
803
804
805 //3 4gtfyi31c5pyuram2ujkjtuxb
806 // static int doRep(node_t * p, node_t * q, double xdelta, double ydelta, double dist2)
807 public static Object doRep(Object... arg) {
808 UNSUPPORTED("eyp5xkiyummcoc88ul2b6tkeg"); // static int
809 UNSUPPORTED("ci8iet8xei7zuq6iwdwmnfie2"); // doRep(node_t * p, node_t * q, double xdelta, double ydelta, double dist2)
810 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
811 UNSUPPORTED("283tteroothnz184tu51u1gqa"); // int ov;
812 UNSUPPORTED("7xmrzkoismbw37gye9vc6jbi9"); // double force;
813 UNSUPPORTED("d8u93tbiftet7gnascai5xf56"); // /* double dout, din; */
814 UNSUPPORTED("engxau4wuazigk2udq499mfjr"); // /* double factor; */
815 UNSUPPORTED("9eyts7dlroeintksamasblz0m"); // while (dist2 == 0.0) {
816 UNSUPPORTED("a1kln2sh5ckxy9qbqw7ur6m89"); // xdelta = 5 - rand() % 10;
817 UNSUPPORTED("5utygemiryo6q9jilsrhyspq1"); // ydelta = 5 - rand() % 10;
818 UNSUPPORTED("9cv1lvbstloqs0iz3qbvzcbmx"); // dist2 = xdelta * xdelta + ydelta * ydelta;
819 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
820 UNSUPPORTED("2teit5gznfwgcf6yt9p4yi8b6"); // if ((ov = overlap(p, q)))
821 UNSUPPORTED("1ji431yv135ypqsxj7mfuq6kz"); // force = X_ov / dist2;
822 UNSUPPORTED("div10atae09n36x269sl208r1"); // else
823 UNSUPPORTED("3jh1msv7a592c7w2o1htjy9f2"); // force = X_nonov / dist2;
824 UNSUPPORTED("evkb6fsw3t47cwgrg7xefbqgt"); // (((dndata*)(ND_alg(q)))->disp)[0] += xdelta * force;
825 UNSUPPORTED("47honvuz7ve5pvt9lba48wv53"); // (((dndata*)(ND_alg(q)))->disp)[1] += ydelta * force;
826 UNSUPPORTED("adgrqasjyy2ekyp2z2g84w46v"); // (((dndata*)(ND_alg(p)))->disp)[0] -= xdelta * force;
827 UNSUPPORTED("4ynq3yqyvpqd2e9jy2ky9g7m3"); // (((dndata*)(ND_alg(p)))->disp)[1] -= ydelta * force;
828 UNSUPPORTED("82m5sgzq9tf80cg4je6sb0dt3"); // return ov;
829 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
830
831 throw new UnsupportedOperationException();
832 }
833
834
835
836
837 //3 vo7a7zssw9meiu7cbd9bc2w2
838 // static int applyRep(Agnode_t * p, Agnode_t * q)
839 public static Object applyRep(Object... arg) {
840 UNSUPPORTED("42w4fs067face6ybhdbc4dm7e"); // static int applyRep(Agnode_t * p, Agnode_t * q)
841 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
842 UNSUPPORTED("fwy8i5zbwxhddxrcwdkd8w1g"); // double xdelta, ydelta;
843 UNSUPPORTED("1gexoq8hut0hmb4k5ef2tvif7"); // xdelta = ND_pos(q)[0] - ND_pos(p)[0];
844 UNSUPPORTED("bwmnzroxk4eq5fdyzazcmagjs"); // ydelta = ND_pos(q)[1] - ND_pos(p)[1];
845 UNSUPPORTED("abv0h9yqlurn14oo0x5uv9zy4"); // return doRep(p, q, xdelta, ydelta, xdelta * xdelta + ydelta * ydelta);
846 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
847
848 throw new UnsupportedOperationException();
849 }
850
851
852
853
854 //3 e7n8inn8axpewkqle5kltm5vc
855 // static void applyAttr(Agnode_t * p, Agnode_t * q)
856 public static Object applyAttr(Object... arg) {
857 UNSUPPORTED("3ae1kegpe2zjt3moizp0poajn"); // static void applyAttr(Agnode_t * p, Agnode_t * q)
858 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
859 UNSUPPORTED("fwy8i5zbwxhddxrcwdkd8w1g"); // double xdelta, ydelta;
860 UNSUPPORTED("7xmrzkoismbw37gye9vc6jbi9"); // double force;
861 UNSUPPORTED("6ri5yxqbfur0r77yjjezxcpf1"); // double dist;
862 UNSUPPORTED("ctt5nlvrv7m0w0nxaxij6cj8o"); // double dout;
863 UNSUPPORTED("c8ob5j0wpqrszphxp6loxhay1"); // double din;
864 UNSUPPORTED("4cwjdr47kafqn8kx0zhzvpr5d"); // if (overlap(p, q)) {
865 UNSUPPORTED("a7fgam0j0jm7bar0mblsv3no4"); // return;
866 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
867 UNSUPPORTED("1gexoq8hut0hmb4k5ef2tvif7"); // xdelta = ND_pos(q)[0] - ND_pos(p)[0];
868 UNSUPPORTED("bwmnzroxk4eq5fdyzazcmagjs"); // ydelta = ND_pos(q)[1] - ND_pos(p)[1];
869 UNSUPPORTED("bw1sesuw4cy90zcv9krq4bph2"); // dist = sqrt(xdelta * xdelta + ydelta * ydelta);
870 UNSUPPORTED("2v56dw0jdzzlhxk831vkn0s6z"); // din = RAD(p) + RAD(q);
871 UNSUPPORTED("3pghx81y2dpapjaw4o5itdft3"); // dout = dist - din;
872 UNSUPPORTED("3f80v9p7jk2aow03la9ntwhhj"); // force = (dout * dout) / ((xParams.K + din) * dist);
873 UNSUPPORTED("ef256m9rw2e3kva0vy4mrt4pn"); // (((dndata*)(ND_alg(q)))->disp)[0] -= xdelta * force;
874 UNSUPPORTED("de0dfwmddjz26z7cw76x9uejs"); // (((dndata*)(ND_alg(q)))->disp)[1] -= ydelta * force;
875 UNSUPPORTED("9us8cvhguukd2iasv7c2crzho"); // (((dndata*)(ND_alg(p)))->disp)[0] += xdelta * force;
876 UNSUPPORTED("e4teme92uacnxx36to3g3mdco"); // (((dndata*)(ND_alg(p)))->disp)[1] += ydelta * force;
877 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
878
879 throw new UnsupportedOperationException();
880 }
881
882
883
884
885 //3 72lfwy94e8xghh1pg6o51jx5d
886 // static int adjust(Agraph_t * g, double temp)
887 public static Object adjust(Object... arg) {
888 UNSUPPORTED("bblnro80uf4l58mz89n7uwroc"); // static int adjust(Agraph_t * g, double temp)
889 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
890 UNSUPPORTED("2jcii9cclu1dijzqekzc175pe"); // Agnode_t *n;
891 UNSUPPORTED("4rip97cgvbcrlgycxl0wajpuh"); // Agnode_t *n1;
892 UNSUPPORTED("36vshotvjkc5iodgg7nq6qa2r"); // Agedge_t *e;
893 UNSUPPORTED("sg55m1c2s3xuubzzp8n0sw3f"); // double temp2;
894 UNSUPPORTED("83zpklqoz4hkcpabg6bg1meo4"); // double len;
895 UNSUPPORTED("25uak17ioz04l0iqfpc2rqjmq"); // double len2;
896 UNSUPPORTED("101m7lg3fvv7bt3cqnrr3ugkz"); // double disp[2]; /* incremental displacement */
897 UNSUPPORTED("dh4blwzy2gol2haq0zvq0r4mt"); // int overlaps = 0;
898 UNSUPPORTED("44thr6ep72jsj3fksjiwdx3yr"); // for (n = agfstnode(g); n; n = agnxtnode(g, n)) {
899 UNSUPPORTED("d4x7a0ncmwpuitrfyisphry1f"); // (((dndata*)(ND_alg(n)))->disp)[0] = (((dndata*)(ND_alg(n)))->disp)[1] = 0;
900 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
901 UNSUPPORTED("44thr6ep72jsj3fksjiwdx3yr"); // for (n = agfstnode(g); n; n = agnxtnode(g, n)) {
902 UNSUPPORTED("8cdovd65kzu7c0gyi9f0vjomk"); // int ov;
903 UNSUPPORTED("d5vhk45d87pvhm7ey0xmi5all"); // for (n1 = agnxtnode(g, n); n1; n1 = agnxtnode(g, n1)) {
904 UNSUPPORTED("5d1miakuqe3pufhyrg2nfemab"); // ov = applyRep(n, n1);
905 UNSUPPORTED("7p6d73ee50u1l78lhlmnrroih"); // /* if (V && ov) */
906 UNSUPPORTED("d8rl8vfx944ljvxg4cz14lwoq"); // /* fprintf (stderr,"%s ov %s\n", n->name, n1->name); */
907 UNSUPPORTED("6ihxid42li0vto0p3fy18ygc5"); // overlaps += ov;
908 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
909 UNSUPPORTED("e20lm4qtccvgsfq5fzjv6sjyl"); // for (e = agfstout(g, n); e; e = agnxtout(g, e)) {
910 UNSUPPORTED("9xhw7ldujjd4t38b8enpnbcbe"); // applyAttr(n,aghead(e));
911 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
912 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
913 UNSUPPORTED("5j0o204tpirp5i0dda3kpel8c"); // if (overlaps == 0)
914 UNSUPPORTED("c9ckhc8veujmwcw0ar3u3zld4"); // return 0;
915 UNSUPPORTED("amlnzp2bleh099q3wlzlmj8zn"); // temp2 = temp * temp;
916 UNSUPPORTED("44thr6ep72jsj3fksjiwdx3yr"); // for (n = agfstnode(g); n; n = agnxtnode(g, n)) {
917 UNSUPPORTED("etksonx8xl1ocsnrpk6da3ob1"); // if (ND_pinned(n) == 3)
918 UNSUPPORTED("6hqli9m8yickz1ox1qfgtdbnd"); // continue;
919 UNSUPPORTED("46f36xeqr50orzwaaehnyahja"); // disp[0] = (((dndata*)(ND_alg(n)))->disp)[0];
920 UNSUPPORTED("7vl0plbi2jk05jpu82kk9vkxk"); // disp[1] = (((dndata*)(ND_alg(n)))->disp)[1];
921 UNSUPPORTED("6fr8xh0dd39sdf9ksk754u0uv"); // len2 = disp[0] * disp[0] + disp[1] * disp[1];
922 UNSUPPORTED("baq9cdzymvavytsen7guap4p5"); // if (len2 < temp2) {
923 UNSUPPORTED("eylgn5y6582ba3grgy9oubk2r"); // ND_pos(n)[0] += disp[0];
924 UNSUPPORTED("5w0804th0mpm0jxustn7azku9"); // ND_pos(n)[1] += disp[1];
925 UNSUPPORTED("7yhr8hn3r6wohafwxrt85b2j2"); // } else {
926 UNSUPPORTED("9eeklbdqa894l9ixhki8ipa39"); // /* to avoid sqrt, consider abs(x) + abs(y) */
927 UNSUPPORTED("4wg0pbkksylkittc56p4xy5y7"); // len = sqrt(len2);
928 UNSUPPORTED("bbb6yt3aurbnw54oonsao9aco"); // ND_pos(n)[0] += (disp[0] * temp) / len;
929 UNSUPPORTED("coudu8xt3dyzuw0r88wv26yk4"); // ND_pos(n)[1] += (disp[1] * temp) / len;
930 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
931 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
932 UNSUPPORTED("eku6aljbiz6b4mrk8fh010m8o"); // return overlaps;
933 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
934
935 throw new UnsupportedOperationException();
936 }
937
938
939
940
941 //3 ebgb1mbfxrbsgxba0h76yoghu
942 // static int x_layout(graph_t * g, xparams * pxpms, int tries)
943 public static Object x_layout(Object... arg) {
944 UNSUPPORTED("d8r2vtws8cszfcp0lp6lpsdtr"); // static int x_layout(graph_t * g, xparams * pxpms, int tries)
945 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
946 UNSUPPORTED("b17di9c7wgtqm51bvsyxz6e2f"); // int i;
947 UNSUPPORTED("j2awxnit81f2pqilevoqwbi7"); // int try;
948 UNSUPPORTED("283tteroothnz184tu51u1gqa"); // int ov;
949 UNSUPPORTED("cdwiwyvrwcamy7fd5h8v4ctix"); // double temp;
950 UNSUPPORTED("brufdedflymb56undhz1cvxzw"); // int nnodes = agnnodes(g);
951 UNSUPPORTED("bfnlke01bf5uxsciju0esym0d"); // int nedges = agnedges(g);
952 UNSUPPORTED("9paqg2y24fs0c7o8fshi8r9gb"); // double K;
953 UNSUPPORTED("737jd5uo7xo54hyd5aao8g0aw"); // xparams xpms;
954 UNSUPPORTED("39wpa4jkntkm79hvns271igky"); // X_marg = sepFactor (g);
955 UNSUPPORTED("ad4bj6umsvvvn9iafmyfski0v"); // if (X_marg.doAdd) {
956 UNSUPPORTED("1h84n92mhpi0w98m7y86cl09m"); // X_marg.x = ((X_marg.x)/(double)72); /* sepFactor is in points */
957 UNSUPPORTED("9ue6xcyhni986kwvxugnza6h5"); // X_marg.y = ((X_marg.y)/(double)72);
958 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
959 UNSUPPORTED("a0v0gkh4wqz2jv2jt98llzuzy"); // ov = cntOverlaps(g);
960 UNSUPPORTED("3uozzdw2fmo6jyna2cqdv2kri"); // if (ov == 0)
961 UNSUPPORTED("c9ckhc8veujmwcw0ar3u3zld4"); // return 0;
962 UNSUPPORTED("9by4tgha5w5entt0s1o6syehv"); // try = 0;
963 UNSUPPORTED("93av4lg9y3aedu1bn00moi8mn"); // xpms = *pxpms;
964 UNSUPPORTED("17eaxg4hlw5ok3b139srbiy37"); // K = xpms.K;
965 UNSUPPORTED("w7qba5butfj3jdoufrabtvld"); // while (ov && (try < tries)) {
966 UNSUPPORTED("ctek1x05f6b50pk0hokcaoeoq"); // xinit_params(g, nnodes, &xpms);
967 UNSUPPORTED("d36bht2b7d3wsqamzk5bp13bn"); // X_ov = xParams.C * K2;
968 UNSUPPORTED("7jigut7zop8kgoolvtmty4hbj"); // X_nonov = (nedges*X_ov*2.0)/(nnodes*(nnodes-1));
969 UNSUPPORTED("jsk5uethwlbnb51ehgow3soh"); // for (i = 0; i < xParams.loopcnt; i++) {
970 UNSUPPORTED("44wdm4c0q0pht0o3u6v5i07px"); // temp = cool(i);
971 UNSUPPORTED("2iwdbgfwhz54bkmiukcxxvpz5"); // if (temp <= 0.0)
972 UNSUPPORTED("9ekmvj13iaml5ndszqyxa8eq"); // break;
973 UNSUPPORTED("aenxo7m2fi02ngnhda071yjwl"); // ov = adjust(g, temp);
974 UNSUPPORTED("9p3cpbzv9p8k1ka57xqhalk4s"); // if (ov == 0)
975 UNSUPPORTED("9ekmvj13iaml5ndszqyxa8eq"); // break;
976 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
977 UNSUPPORTED("4o9sjijafemzfi2l116taidm7"); // try++;
978 UNSUPPORTED("br971gk7pewl58gm56w8ubyx2"); // xpms.K += K; /* increase distance */
979 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
980 UNSUPPORTED("82m5sgzq9tf80cg4je6sb0dt3"); // return ov;
981 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
982
983 throw new UnsupportedOperationException();
984 }
985
986
987
988
989 //3 7za1p2k71h4y3ogllxkyx2ih5
990 // void fdp_xLayout(graph_t * g, xparams * xpms)
991 public static Object fdp_xLayout(Object... arg) {
992 UNSUPPORTED("8t1bcmgwg6m0lep3eprv8adb7"); // void fdp_xLayout(graph_t * g, xparams * xpms)
993 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
994 UNSUPPORTED("4o4ua8zjnqs0c2322m5lyi6a4"); // int tries;
995 UNSUPPORTED("1m8fw6ftw1xq6k4uyghckh81h"); // char* ovlp = agget (g, "overlap");
996 UNSUPPORTED("4ktkev652k4fyfzl4rmv5049p"); // char* cp;
997 UNSUPPORTED("2wtobqhf44rke68jbttqcua4a"); // char* rest;
998 UNSUPPORTED("cve2on8gll5i0vomy8lnwhai2"); // if (Verbose) {
999 UNSUPPORTED("2ccn2srthr0pt1isjelqgdyii"); // fprintf (stderr, "xLayout ");
1000 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1001 UNSUPPORTED("11agdz7dh5ieet8ctmk1umnfv"); // if (!ovlp || (*ovlp == '\0')) {
1002 UNSUPPORTED("910m35r8c28nhc79emy2xg5xv"); // ovlp = "9:prism";
1003 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1004 UNSUPPORTED("ebztm1i3wjnjwd5ujqq4ovjz0"); // /* look for optional ":" or "number:" */
1005 UNSUPPORTED("f3qk7qrm8j0z7wfwtlqrw9vz3"); // if ((cp = strchr(ovlp, ':')) && ((cp == ovlp) || isdigit(*ovlp))) {
1006 UNSUPPORTED("7wgdzf2gqck3j2qyt8jfply93"); // cp++;
1007 UNSUPPORTED("50lz7fpr4xwh0sg144lh8bsa9"); // rest = cp;
1008 UNSUPPORTED("4yn5gen1je7znx1qfggjf49if"); // tries = atoi (ovlp);
1009 UNSUPPORTED("1wypiyf7bw4lnnglss90nuhq2"); // if (tries < 0) tries = 0;
1010 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1011 UNSUPPORTED("1nyzbeonram6636b1w955bypn"); // else {
1012 UNSUPPORTED("1ptbm9147387jdxujy59wugbp"); // tries = 0;
1013 UNSUPPORTED("64lbvqheko14zbss8st4mnx7u"); // rest = ovlp;
1014 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1015 UNSUPPORTED("cve2on8gll5i0vomy8lnwhai2"); // if (Verbose) {
1016 UNSUPPORTED("3w0rxu0bhoiq71ksp1um5148m"); // fprintf (stderr, "tries = %d, mode = %s\n", tries, rest);
1017 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1018 UNSUPPORTED("3u031ze4x604nx7ic6wal9vqk"); // if (tries && !x_layout(g, xpms, tries))
1019 UNSUPPORTED("a7fgam0j0jm7bar0mblsv3no4"); // return;
1020 UNSUPPORTED("6k7hqqqf1pb0lcyjk0boq5680"); // removeOverlapAs(g, rest);
1021 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1022
1023 throw new UnsupportedOperationException();
1024 }
1025
1026
1027 }