Debian Codegraph @

src/gen/lib/fdpgen/fdpinit__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 fdpinit__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 //3 1n5xl70wxuabyf97mclvilsm6
350 // static inline point add_point(point p, point q)
351 public static Object add_point(Object... arg) {
352 UNSUPPORTED("6iamka1fx8fk1rohzzse8phte"); // static inline point add_point(point p, point q)
353 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
354 UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r;
355 UNSUPPORTED("3n2sizjd0civbzm6iq7su1s2p"); // r.x = p.x + q.x;
356 UNSUPPORTED("65ygdo31w09i5i6bd2f7azcd3"); // r.y = p.y + q.y;
357 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
358 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
359
360 throw new UnsupportedOperationException();
361 }
362
363
364
365
366 //3 arrsbik9b5tnfcbzsm8gr2chx
367 // static inline pointf add_pointf(pointf p, pointf q)
368 public static ST_pointf add_pointf(final ST_pointf p, final ST_pointf q) {
369 // WARNING!! STRUCT
370 return add_pointf_w_(p.copy(), q.copy()).copy();
371 }
372 private static ST_pointf add_pointf_w_(final ST_pointf p, final ST_pointf q) {
373 ENTERING("arrsbik9b5tnfcbzsm8gr2chx","add_pointf");
374 try {
375 final ST_pointf r = new ST_pointf();
376 r.setDouble("x", p.x + q.x);
377 r.setDouble("y", p.y + q.y);
378 return r;
379 } finally {
380 LEAVING("arrsbik9b5tnfcbzsm8gr2chx","add_pointf");
381 }
382 }
383
384
385
386
387 //3 ai2dprak5y6obdsflguh5qbd7
388 // static inline point sub_point(point p, point q)
389 public static Object sub_point(Object... arg) {
390 UNSUPPORTED("cd602849h0bce8lu9xegka0ia"); // static inline point sub_point(point p, point q)
391 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
392 UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r;
393 UNSUPPORTED("4q4q9dveah93si8ajfv59gz27"); // r.x = p.x - q.x;
394 UNSUPPORTED("9f90ik0o2yqhanzntpy3d2ydy"); // r.y = p.y - q.y;
395 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
396 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
397
398 throw new UnsupportedOperationException();
399 }
400
401
402
403
404 //3 16f6pyogcv3j7n2p0n8giqqgh
405 // static inline pointf sub_pointf(pointf p, pointf q)
406 public static Object sub_pointf(Object... arg) {
407 UNSUPPORTED("dmufj44lddsnj0wjyxsg2fcso"); // static inline pointf sub_pointf(pointf p, pointf q)
408 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
409 UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r;
410 UNSUPPORTED("4q4q9dveah93si8ajfv59gz27"); // r.x = p.x - q.x;
411 UNSUPPORTED("9f90ik0o2yqhanzntpy3d2ydy"); // r.y = p.y - q.y;
412 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
413 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
414
415 throw new UnsupportedOperationException();
416 }
417
418
419
420
421 //3 9k50jgrhc4f9824vf8ony74rw
422 // static inline point mid_point(point p, point q)
423 public static Object mid_point(Object... arg) {
424 UNSUPPORTED("evy44tdsmu3erff9dp2x835u2"); // static inline point mid_point(point p, point q)
425 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
426 UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r;
427 UNSUPPORTED("1a6p6fm57o0wt5ze2btsx06c7"); // r.x = (p.x + q.x) / 2;
428 UNSUPPORTED("1kbj5tgdmfi6kf4jgg6skhr6e"); // r.y = (p.y + q.y) / 2;
429 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
430 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
431
432 throw new UnsupportedOperationException();
433 }
434
435
436
437
438 //3 59c4f7im0ftyowhnzzq2v9o1x
439 // static inline pointf mid_pointf(pointf p, pointf q)
440 public static Object mid_pointf(Object... arg) {
441 UNSUPPORTED("381o63o9kb04d7gzg65v0r3q"); // static inline pointf mid_pointf(pointf p, pointf q)
442 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
443 UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r;
444 UNSUPPORTED("c5vboetlr3mf43wns7iik6m1w"); // r.x = (p.x + q.x) / 2.;
445 UNSUPPORTED("bcdf562ldr3bjn78hcay5xd63"); // r.y = (p.y + q.y) / 2.;
446 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
447 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
448
449 throw new UnsupportedOperationException();
450 }
451
452
453
454
455 //3 5r18p38gisvcx3zsvbb9saixx
456 // static inline pointf interpolate_pointf(double t, pointf p, pointf q)
457 public static Object interpolate_pointf(Object... arg) {
458 UNSUPPORTED("894yimn33kmtm454llwdaotu8"); // static inline pointf interpolate_pointf(double t, pointf p, pointf q)
459 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
460 UNSUPPORTED("ef2acl8wa2ooqcb5vz3098maz"); // pointf r;
461 UNSUPPORTED("5tpwuyf5iidesy80v8o4nwkmk"); // r.x = p.x + t * (q.x - p.x);
462 UNSUPPORTED("ewnrc5uloj3w5jbmsjcn3wja0"); // r.y = p.y + t * (q.y - p.y);
463 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
464 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
465
466 throw new UnsupportedOperationException();
467 }
468
469
470
471
472 //3 bxzrv2ghq04qk5cbyy68s4mol
473 // static inline point exch_xy(point p)
474 public static Object exch_xy(Object... arg) {
475 UNSUPPORTED("2vxya0v2fzlv5e0vjaa8d414"); // static inline point exch_xy(point p)
476 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
477 UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r;
478 UNSUPPORTED("60cojdwc2h7f0m51s9jdwvup7"); // r.x = p.y;
479 UNSUPPORTED("evp2x66oa4s1tlnc0ytxq2qbq"); // r.y = p.x;
480 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
481 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
482
483 throw new UnsupportedOperationException();
484 }
485
486
487
488
489 //3 9lt3e03tac6h6sydljrcws8fd
490 // static inline pointf exch_xyf(pointf p)
491 public static Object exch_xyf(Object... arg) {
492 UNSUPPORTED("8qamrobrqi8jsvvfrxkimrsnw"); // static inline pointf exch_xyf(pointf p)
493 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
494 UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r;
495 UNSUPPORTED("60cojdwc2h7f0m51s9jdwvup7"); // r.x = p.y;
496 UNSUPPORTED("evp2x66oa4s1tlnc0ytxq2qbq"); // r.y = p.x;
497 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
498 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
499
500 throw new UnsupportedOperationException();
501 }
502
503
504
505
506 //3 8l9qhieokthntzdorlu5zn29b
507 // static inline box box_bb(box b0, box b1)
508 public static Object box_bb(Object... arg) {
509 UNSUPPORTED("36et5gmnjrby6o7bq9sgh1hx6"); // static inline box box_bb(box b0, box b1)
510 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
511 UNSUPPORTED("52u27kayecy1i1e8bbo8f7s9r"); // box b;
512 UNSUPPORTED("8mr2c9xitsqi8z1plbp7ox1hu"); // b.LL.x = MIN(b0.LL.x, b1.LL.x);
513 UNSUPPORTED("2egu55ef4u1i03nwz01k7kcrl"); // b.LL.y = MIN(b0.LL.y, b1.LL.y);
514 UNSUPPORTED("9n6ei3odbgefwfxvql9whcpe"); // b.UR.x = MAX(b0.UR.x, b1.UR.x);
515 UNSUPPORTED("19ocysbuh4pxyft2bqhyhigr1"); // b.UR.y = MAX(b0.UR.y, b1.UR.y);
516 UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b;
517 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
518
519 throw new UnsupportedOperationException();
520 }
521
522
523
524
525 //3 clws9h3bbjm0lw3hexf8nl4c4
526 // static inline boxf boxf_bb(boxf b0, boxf b1)
527 public static Object boxf_bb(Object... arg) {
528 UNSUPPORTED("dyrqu4ww9osr9c86gqgmifcp6"); // static inline boxf boxf_bb(boxf b0, boxf b1)
529 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
530 UNSUPPORTED("c57pq0f87j6dnbcvygu7v6k84"); // boxf b;
531 UNSUPPORTED("8mr2c9xitsqi8z1plbp7ox1hu"); // b.LL.x = MIN(b0.LL.x, b1.LL.x);
532 UNSUPPORTED("2egu55ef4u1i03nwz01k7kcrl"); // b.LL.y = MIN(b0.LL.y, b1.LL.y);
533 UNSUPPORTED("9n6ei3odbgefwfxvql9whcpe"); // b.UR.x = MAX(b0.UR.x, b1.UR.x);
534 UNSUPPORTED("19ocysbuh4pxyft2bqhyhigr1"); // b.UR.y = MAX(b0.UR.y, b1.UR.y);
535 UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b;
536 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
537
538 throw new UnsupportedOperationException();
539 }
540
541
542
543
544 //3 bit6ycxo1iqd2al92y8gkzlvb
545 // static inline box box_intersect(box b0, box b1)
546 public static Object box_intersect(Object... arg) {
547 UNSUPPORTED("34gv28cldst09bl71itjgviue"); // static inline box box_intersect(box b0, box b1)
548 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
549 UNSUPPORTED("52u27kayecy1i1e8bbo8f7s9r"); // box b;
550 UNSUPPORTED("9slu7bixuymxttjic76ha2nl2"); // b.LL.x = MAX(b0.LL.x, b1.LL.x);
551 UNSUPPORTED("3uv943c2f82yuif249pf5azob"); // b.LL.y = MAX(b0.LL.y, b1.LL.y);
552 UNSUPPORTED("74tf5h16bc9zabq3s3dyny543"); // b.UR.x = MIN(b0.UR.x, b1.UR.x);
553 UNSUPPORTED("d99gcv3i7xes7y7rqf8ii20ux"); // b.UR.y = MIN(b0.UR.y, b1.UR.y);
554 UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b;
555 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
556
557 throw new UnsupportedOperationException();
558 }
559
560
561
562
563 //3 8gfybie7k6pgb3o1a6llgpwng
564 // static inline boxf boxf_intersect(boxf b0, boxf b1)
565 public static Object boxf_intersect(Object... arg) {
566 UNSUPPORTED("ape22b8z6jfg17gvo42hok9eb"); // static inline boxf boxf_intersect(boxf b0, boxf b1)
567 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
568 UNSUPPORTED("c57pq0f87j6dnbcvygu7v6k84"); // boxf b;
569 UNSUPPORTED("9slu7bixuymxttjic76ha2nl2"); // b.LL.x = MAX(b0.LL.x, b1.LL.x);
570 UNSUPPORTED("3uv943c2f82yuif249pf5azob"); // b.LL.y = MAX(b0.LL.y, b1.LL.y);
571 UNSUPPORTED("74tf5h16bc9zabq3s3dyny543"); // b.UR.x = MIN(b0.UR.x, b1.UR.x);
572 UNSUPPORTED("d99gcv3i7xes7y7rqf8ii20ux"); // b.UR.y = MIN(b0.UR.y, b1.UR.y);
573 UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b;
574 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
575
576 throw new UnsupportedOperationException();
577 }
578
579
580
581
582 //3 7z8j2quq65govaaejrz7b4cvb
583 // static inline int box_overlap(box b0, box b1)
584 public static Object box_overlap(Object... arg) {
585 UNSUPPORTED("1e9k599x7ygct7r4cfdxlk9u9"); // static inline int box_overlap(box b0, box b1)
586 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
587 UNSUPPORTED("7a9wwpu7dhdphd08y1ecw54w5"); // return OVERLAP(b0, b1);
588 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
589
590 throw new UnsupportedOperationException();
591 }
592
593
594
595
596 //3 4z0suuut2acsay5m8mg9dqjdu
597 // static inline int boxf_overlap(boxf b0, boxf b1)
598 public static Object boxf_overlap(Object... arg) {
599 UNSUPPORTED("905nejsewihwhhc3bhnrz9nwo"); // static inline int boxf_overlap(boxf b0, boxf b1)
600 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
601 UNSUPPORTED("7a9wwpu7dhdphd08y1ecw54w5"); // return OVERLAP(b0, b1);
602 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
603
604 throw new UnsupportedOperationException();
605 }
606
607
608
609
610 //3 dd34swz5rmdgu3a2np2a4h1dy
611 // static inline int box_contains(box b0, box b1)
612 public static Object box_contains(Object... arg) {
613 UNSUPPORTED("aputfc30fjkvy6jx4otljaczq"); // static inline int box_contains(box b0, box b1)
614 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
615 UNSUPPORTED("87ap80vrh2a4gpprbxr33lrg3"); // return CONTAINS(b0, b1);
616 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
617
618 throw new UnsupportedOperationException();
619 }
620
621
622
623
624 //3 8laj1bspbu2i1cjd9upr7xt32
625 // static inline int boxf_contains(boxf b0, boxf b1)
626 public static Object boxf_contains(Object... arg) {
627 UNSUPPORTED("7ccnttkiwt834yfyw0evcm18v"); // static inline int boxf_contains(boxf b0, boxf b1)
628 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
629 UNSUPPORTED("87ap80vrh2a4gpprbxr33lrg3"); // return CONTAINS(b0, b1);
630 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
631
632 throw new UnsupportedOperationException();
633 }
634
635
636
637
638 //3 4wf5swkz24xx51ja2dynbycu1
639 // static inline pointf perp (pointf p)
640 public static Object perp(Object... arg) {
641 UNSUPPORTED("567wpqlg9rv63ynyvxd9sgkww"); // static inline pointf perp (pointf p)
642 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
643 UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r;
644 UNSUPPORTED("2fyydy6t6yifjsczccsb9szeg"); // r.x = -p.y;
645 UNSUPPORTED("evp2x66oa4s1tlnc0ytxq2qbq"); // r.y = p.x;
646 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
647 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
648
649 throw new UnsupportedOperationException();
650 }
651
652
653
654
655 //3 6dtlpzv4mvgzb9o0b252yweuv
656 // static inline pointf scale (double c, pointf p)
657 public static Object scale(Object... arg) {
658 UNSUPPORTED("c1ngytew34bmkdb7vps5h3dh8"); // static inline pointf scale (double c, pointf p)
659 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
660 UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r;
661 UNSUPPORTED("dznf7nac14snww4usquyd6r3r"); // r.x = c * p.x;
662 UNSUPPORTED("33kk73m8vjcux5tnjl8co2pe6"); // r.y = c * p.y;
663 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
664 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
665
666 throw new UnsupportedOperationException();
667 }
668
669
670
671
672 //3 f3e0cgrfbxtmm17pgxr2cduj
673 // static void initialPositions(graph_t * g)
674 public static Object initialPositions(Object... arg) {
675 UNSUPPORTED("esw1s5txtkrnu1rq1heu3tcse"); // static void initialPositions(graph_t * g)
676 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
677 UNSUPPORTED("b17di9c7wgtqm51bvsyxz6e2f"); // int i;
678 UNSUPPORTED("embgw30vqico8gdmn2r6ywcb0"); // node_t *np;
679 UNSUPPORTED("74210hb6op2fnqz19qbx7ngwz"); // attrsym_t *possym;
680 UNSUPPORTED("4xvjup0t4i1teu5lezu8k7ebt"); // attrsym_t *pinsym;
681 UNSUPPORTED("evvfote9pox5gpnsuk75gu9zi"); // double *pvec;
682 UNSUPPORTED("aexhdud6z2wbwwi73yppp0ynl"); // char *p;
683 UNSUPPORTED("wrvu9u7a8j6i6y6552zncxfk"); // char c;
684 UNSUPPORTED("1b5dcjh2a9g5zp8c3gpg13sg1"); // possym = agattr(g,AGNODE, "pos", NULL);
685 UNSUPPORTED("3eb0ujxfacue4y5vg6rgwnsir"); // if (!possym)
686 UNSUPPORTED("a7fgam0j0jm7bar0mblsv3no4"); // return;
687 UNSUPPORTED("4eh9a5dorzn9gh1cq1joh60da"); // pinsym = agattr(g,AGNODE, "pin", NULL);
688 UNSUPPORTED("9p1urpmsbdtel9f0hyftha4vp"); // for (i = 0; (np = GD_neato_nlist(g)[i]); i++) {
689 UNSUPPORTED("82hus3nxk252ryfmgsj0jd4oe"); // p = agxget(np, possym);
690 UNSUPPORTED("2jgl1gjczjnfj98lx3fumetzb"); // if (p[0]) {
691 UNSUPPORTED("nlhfvpbbwzdx6jcdqg6ibdes"); // pvec = ND_pos(np);
692 UNSUPPORTED("8wtaqjit9awt7xd08vuifknry"); // c = '\0';
693 UNSUPPORTED("1u1tfrl07xhxpprnxuslpv871"); // if (sscanf(p, "%lf,%lf%c", pvec, pvec + 1, &c) >= 2) {
694 UNSUPPORTED("aywxrq10m6uazx25fiwcfs46u"); // if (PSinputscale > 0.0) {
695 UNSUPPORTED("7si28y5woaw38yg693vh15d32"); // int i;
696 UNSUPPORTED("bvgbqo619j5i3oq2sqvbzu4y2"); // for (i = 0; i < 2; i++)
697 UNSUPPORTED("2oeepwgdoynykl1trrb0p94wm"); // pvec[i] = pvec[i] / PSinputscale;
698 UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
699 UNSUPPORTED("7djjlwbyom7gt69719c2ge441"); // ND_pinned(np) = 1;
700 UNSUPPORTED("bjsz2shzg2mue2wxe8yrvtkrp"); // if ((c == '!')
701 UNSUPPORTED("238kv6u6hkwuawnjm6dx78ej9"); // || (pinsym && mapbool(agxget(np, pinsym))))
702 UNSUPPORTED("5vhe98mbf3x3wwvl7dgaiyysi"); // ND_pinned(np) = 3;
703 UNSUPPORTED("afk9bpom7x393euamnvwwkx6b"); // } else
704 UNSUPPORTED("18zn34qcs4vsdhhh831gn9vc9"); // fprintf(stderr,
705 UNSUPPORTED("cvnihzmupmxdhfo91phffr4iz"); // "Warning: node %s, position %s, expected two floats\n",
706 UNSUPPORTED("8vr7f9s0nt8dkq7nt7fi7td6m"); // agnameof(np), p);
707 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
708 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
709 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
710
711 throw new UnsupportedOperationException();
712 }
713
714
715
716
717 //3 eycycj92hbah3h1imwibcgg3l
718 // static void init_edge(edge_t * e, attrsym_t * E_len)
719 public static Object init_edge(Object... arg) {
720 UNSUPPORTED("5chfc4167yxwq5u0yf9jtf5am"); // static void init_edge(edge_t * e, attrsym_t * E_len)
721 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
722 UNSUPPORTED("9egiculslq6sjkjl1r3i2xhyw"); // agbindrec(e, "Agedgeinfo_t", sizeof(Agedgeinfo_t), NOT(0)); //node custom data
723 UNSUPPORTED("6asvm3mgvrgkcyl9tgnl3h63l"); // ED_factor(e) = late_double(e, E_weight, 1.0, 0.0);
724 UNSUPPORTED("5874wxxfzdznlt3lo55st6eph"); // ED_dist(e) = late_double(e, E_len, fdp_parms->K, 0.0);
725 UNSUPPORTED("dwvquwksg1mxo6dxl7r7gaxpe"); // common_init_edge(e);
726 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
727
728 throw new UnsupportedOperationException();
729 }
730
731
732
733
734 //3 egbpmyvr9o80vaci8zr1y9n7g
735 // static void init_node(node_t * n)
736 public static Object init_node(Object... arg) {
737 UNSUPPORTED("dfmrunqjpz6te9temyeon7r7v"); // static void init_node(node_t * n)
738 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
739 UNSUPPORTED("8n5p3ldt0mx3i3tvjjmpm15le"); // common_init_node(n);
740 UNSUPPORTED("ayxex1urbqyoea700lpxltl6l"); // ND_pos(n) = (double*)zmalloc((GD_ndim(agraphof(n)))*sizeof(double));
741 UNSUPPORTED("axannqky1100m3o7i9up0h4i7"); // gv_nodesize(n, GD_flip(agraphof(n)));
742 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
743
744 throw new UnsupportedOperationException();
745 }
746
747
748
749
750 //3 492ger2hkdmjpreugs1rmtqii
751 // void fdp_init_node_edge(graph_t * g)
752 public static Object fdp_init_node_edge(Object... arg) {
753 UNSUPPORTED("7ng2gj5lv35z4xskaobhf7j7m"); // void fdp_init_node_edge(graph_t * g)
754 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
755 UNSUPPORTED("6h1xqgehy44gsat105vaw9u8e"); // attrsym_t *E_len;
756 UNSUPPORTED("cjx5v6hayed3q8eeub1cggqca"); // node_t *n;
757 UNSUPPORTED("5gypxs09iuryx5a2eho9lgdcp"); // edge_t *e;
758 UNSUPPORTED("5u3xxjr10ujhhn53156wch9ow"); // int nn;
759 UNSUPPORTED("b17di9c7wgtqm51bvsyxz6e2f"); // int i;
760 UNSUPPORTED("990mg1wm4x3ml804cdp4f62sb"); // /* ndata* alg; */
761 UNSUPPORTED("c23zlqic6a88lbl9vw9fsm73r"); // aginit(g, AGNODE, "Agnodeinfo_t", sizeof(Agnodeinfo_t), NOT(0));
762 UNSUPPORTED("erjahdn9un5js4yg5l9izpj7u"); // processClusterEdges(g);
763 UNSUPPORTED("4d0qmlrvhtb8f9v7jt8x6o30n"); // /* Get node count after processClusterEdges(), as this function may
764 UNSUPPORTED("39up5s15uvyc7wguh1chdya40"); // * add new nodes.
765 UNSUPPORTED("795vpnc8yojryr8b46aidsu69"); // */
766 UNSUPPORTED("6r0jyge14l6tevl2zdwwqb38s"); // nn = agnnodes(g);
767 UNSUPPORTED("1jmigyhvbvc50ig7tvyz8r3h0"); // /* alg = N_NEW(nn, ndata); */
768 UNSUPPORTED("45z3wlw30d4v3obmp251psyml"); // GD_neato_nlist(g) = (node_t **)zmalloc((nn + 1)*sizeof(node_t *));
769 UNSUPPORTED("9bt5ega0wnm605esgklnofthl"); // for (i = 0, n = agfstnode(g); n; n = agnxtnode(g, n)) {
770 UNSUPPORTED("4otfzd04ih23fldz5z9kjz13r"); // init_node (n);
771 UNSUPPORTED("57olun5nyb91u25vsjs21iqpz"); // /* ND_alg(n) = alg + i; */
772 UNSUPPORTED("6fp8pp1mhoz2oz6b7bjmnivdq"); // GD_neato_nlist(g)[i] = n;
773 UNSUPPORTED("9ku3nzm6ui1ttnjtw2tlxeape"); // ND_id(n) = i++;
774 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
775 UNSUPPORTED("8luf7vywtg9kvvk1yugl5rnrj"); // E_len = agattr(g,AGEDGE, "len", NULL);
776 UNSUPPORTED("44thr6ep72jsj3fksjiwdx3yr"); // for (n = agfstnode(g); n; n = agnxtnode(g, n)) {
777 UNSUPPORTED("e20lm4qtccvgsfq5fzjv6sjyl"); // for (e = agfstout(g, n); e; e = agnxtout(g, e)) {
778 UNSUPPORTED("afzh0se3bdul27kfeb72zmccv"); // init_edge(e, E_len);
779 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
780 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
781 UNSUPPORTED("68vimdeays5ksioyhl9g0a64u"); // initialPositions(g);
782 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
783
784 throw new UnsupportedOperationException();
785 }
786
787
788
789
790 //3 8xyco70otbzpy5o0gn0ccbh81
791 // static void cleanup_subgs(graph_t * g)
792 public static Object cleanup_subgs(Object... arg) {
793 UNSUPPORTED("84hk43pxgtn24h4d5ia4mibtn"); // static void cleanup_subgs(graph_t * g)
794 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
795 UNSUPPORTED("8uujemixuhlf040icq3zsh7j8"); // graph_t *subg;
796 UNSUPPORTED("b17di9c7wgtqm51bvsyxz6e2f"); // int i;
797 UNSUPPORTED("7naa6f8pevjidfr7m41eli6xj"); // for (i = 1; i <= GD_n_cluster(g); i++) {
798 UNSUPPORTED("cpbcovu6u9jpbhniuwko58sge"); // subg = GD_clust(g)[i];
799 UNSUPPORTED("7yh9n8er7gmkbcvlm9ycl42jp"); // free_label(GD_label(subg));
800 UNSUPPORTED("1lpwhqj7l6h0eiutrhkf2i3i6"); // if (GD_alg(subg)) {
801 UNSUPPORTED("109zmijlgkrcmnkcf5quh13se"); // free((((gdata*)(GD_alg(subg)))->ports));
802 UNSUPPORTED("25vpswadzwfupxfn703fb46m5"); // free(GD_alg(subg));
803 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
804 UNSUPPORTED("3gp1a1mkjuw28fwl3bc0rwzkf"); // cleanup_subgs(subg);
805 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
806 UNSUPPORTED("a5yc031gavhkkx3wq5g726g76"); // free (GD_clust(g));
807 UNSUPPORTED("8rovagjt3lviwrx7aa3axkgwc"); // if (g != agroot(g))
808 UNSUPPORTED("jhltskmtad5k9xortu6d6gql"); // agdelrec(g, "Agraphinfo_t");
809 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
810
811 throw new UnsupportedOperationException();
812 }
813
814
815
816
817 //3 bnzpam8o3xnj3b7f516ic3nvd
818 // static void fdp_cleanup_graph(graph_t * g)
819 public static Object fdp_cleanup_graph(Object... arg) {
820 UNSUPPORTED("e14i566vhsvk5mmi72i9cyrym"); // static void fdp_cleanup_graph(graph_t * g)
821 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
822 UNSUPPORTED("4l9vavpqrn41woq5aj74iefbp"); // cleanup_subgs(g);
823 UNSUPPORTED("dxp41biia9zas5nfacx5m4vhp"); // free(GD_neato_nlist(g));
824 UNSUPPORTED("n2gf06weiher7ar8g5amqip1"); // free(GD_alg(g));
825 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
826
827 throw new UnsupportedOperationException();
828 }
829
830
831
832
833 //3 7jmdev7p125ntxi63iz9b6p04
834 // void fdp_cleanup(graph_t * g)
835 public static Object fdp_cleanup(Object... arg) {
836 UNSUPPORTED("bnvo5l60gvjkaw227hbmo7zuw"); // void fdp_cleanup(graph_t * g)
837 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
838 UNSUPPORTED("cjx5v6hayed3q8eeub1cggqca"); // node_t *n;
839 UNSUPPORTED("5gypxs09iuryx5a2eho9lgdcp"); // edge_t *e;
840 UNSUPPORTED("44thr6ep72jsj3fksjiwdx3yr"); // for (n = agfstnode(g); n; n = agnxtnode(g, n)) {
841 UNSUPPORTED("e20lm4qtccvgsfq5fzjv6sjyl"); // for (e = agfstout(g, n); e; e = agnxtout(g, e)) {
842 UNSUPPORTED("5otoqd7o1zz8ni50urywr7yjy"); // gv_cleanup_edge(e);
843 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
844 UNSUPPORTED("ec2wg4tpq1npq2mtdbc154ylh"); // gv_cleanup_node(n);
845 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
846 UNSUPPORTED("evkzftlt6qna42mjdlknscgk5"); // fdp_cleanup_graph(g);
847 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
848
849 throw new UnsupportedOperationException();
850 }
851
852
853 }