/* ======================================================================== * PlantUML : a free UML diagram generator * ======================================================================== * * Project Info: http://plantuml.com * * If you like this project or if you find it useful, you can support us at: * * http://plantuml.com/patreon (only 1$ per month!) * http://plantuml.com/paypal * * This file is part of Smetana. * Smetana is a partial translation of Graphviz/Dot sources from C to Java. * * (C) Copyright 2009-2020, Arnaud Roques * * This translation is distributed under the same Licence as the original C program: * ************************************************************************* * Copyright (c) 2011 AT&T Intellectual Property * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: See CVS logs. Details at http://www.graphviz.org/ ************************************************************************* * * THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC * LICENSE ("AGREEMENT"). [Eclipse Public License - v 1.0] * * ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES * RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. * * You may obtain a copy of the License at * * http://www.eclipse.org/legal/epl-v10.html * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */ package gen.lib.circogen; import static smetana.core.JUtilsDebug.ENTERING; import static smetana.core.JUtilsDebug.LEAVING; import static smetana.core.Macro.UNSUPPORTED; import h.ST_pointf; public class blocktree__c { //1 2digov3edok6d5srhgtlmrycs // extern lt_symlist_t lt_preloaded_symbols[] //1 baedz5i9est5csw3epz3cv7z // typedef Ppoly_t Ppolyline_t //1 9k44uhd5foylaeoekf3llonjq // extern Dtmethod_t* Dtset //1 1ahfywsmzcpcig2oxm7pt9ihj // extern Dtmethod_t* Dtbag //1 anhghfj3k7dmkudy2n7rvt31v // extern Dtmethod_t* Dtoset //1 5l6oj1ux946zjwvir94ykejbc // extern Dtmethod_t* Dtobag //1 2wtf222ak6cui8cfjnw6w377z // extern Dtmethod_t* Dtlist //1 d1s1s6ibtcsmst88e3057u9r7 // extern Dtmethod_t* Dtstack //1 axa7mflo824p6fspjn1rdk0mt // extern Dtmethod_t* Dtqueue //1 ega812utobm4xx9oa9w9ayij6 // extern Dtmethod_t* Dtdeque //1 cyfr996ur43045jv1tjbelzmj // extern Dtmethod_t* Dtorder //1 wlofoiftbjgrrabzb2brkycg // extern Dtmethod_t* Dttree //1 12bds94t7voj7ulwpcvgf6agr // extern Dtmethod_t* Dthash //1 9lqknzty480cy7zsubmabkk8h // extern Dtmethod_t _Dttree //1 bvn6zkbcp8vjdhkccqo1xrkrb // extern Dtmethod_t _Dthash //1 9lidhtd6nsmmv3e7vjv9e10gw // extern Dtmethod_t _Dtlist //1 34ujfamjxo7xn89u90oh2k6f8 // extern Dtmethod_t _Dtqueue //1 3jy4aceckzkdv950h89p4wjc8 // extern Dtmethod_t _Dtstack //1 8dfqgf3u1v830qzcjqh9o8ha7 // extern Agmemdisc_t AgMemDisc //1 18k2oh2t6llfsdc5x0wlcnby8 // extern Agiddisc_t AgIdDisc //1 a4r7hi80gdxtsv4hdoqpyiivn // extern Agiodisc_t AgIoDisc //1 bnzt5syjb7mgeru19114vd6xx // extern Agdisc_t AgDefaultDisc //1 35y2gbegsdjilegaribes00mg // extern Agdesc_t Agdirected, Agstrictdirected, Agundirected, Agstrictundirected //1 c2rygslq6bcuka3awmvy2b3ow // typedef Agsubnode_t Agnoderef_t //1 xam6yv0dcsx57dtg44igpbzn // typedef Dtlink_t Agedgeref_t //1 nye6dsi1twkbddwo9iffca1j // extern char *Version //1 65mu6k7h7lb7bx14jpiw7iyxr // extern char **Files //1 2rpjdzsdyrvomf00zcs3u3dyn // extern const char **Lib //1 6d2f111lntd2rsdt4gswh5909 // extern char *CmdName //1 a0ltq04fpeg83soa05a2fkwb2 // extern char *specificFlags //1 1uv30qeqq2jh6uznlr4dziv0y // extern char *specificItems //1 7i4hkvngxe3x7lmg5h6b3t9g3 // extern char *Gvfilepath //1 9jp96pa73kseya3w6sulxzok6 // extern char *Gvimagepath //1 40ylumfu7mrvawwf4v2asvtwk // extern unsigned char Verbose //1 93st8awjy1z0h07n28qycbaka // extern unsigned char Reduce //1 f2vs67ts992erf8onwfglurzp // extern int MemTest //1 c6f8whijgjwwagjigmxlwz3gb // extern char *HTTPServerEnVar //1 cp4hzj7p87m7arw776d3bt7aj // extern char *Output_file_name //1 a3rqagofsgraie6mx0krzkgsy // extern int graphviz_errors //1 5up05203r4kxvjn1m4njcgq5x // extern int Nop //1 umig46cco431x14b3kosde2t // extern double PSinputscale //1 52bj6v8fqz39khasobljfukk9 // extern int Syntax_errors //1 9ekf2ina8fsjj6y6i0an6somj // extern int Show_cnt //1 38di5qi3nkxkq65onyvconk3r // extern char** Show_boxes //1 6ri6iu712m8mpc7t2670etpcw // extern int CL_type //1 bomxiw3gy0cgd1ydqtek7fpxr // extern unsigned char Concentrate //1 cqy3gqgcq8empdrbnrhn84058 // extern double Epsilon //1 64slegfoouqeg0rmbyjrm8wgr // extern int MaxIter //1 88wdinpnmfs4mab4aw62yb0bg // extern int Ndim //1 8bbad3ogcelqnnvo5br5s05gq // extern int State //1 17rnd8q45zclfn68qqst2vxxn // extern int EdgeLabelsDone //1 ymx1z4s8cznjifl2d9f9m8jr // extern double Initial_dist //1 a33bgl0c3uqb3trx419qulj1x // extern double Damping //1 d9lvrpjg1r0ojv40pod1xwk8n // extern int Y_invert //1 71efkfs77q5tq9ex6y0f4kanh // extern int GvExitOnUsage //1 4xy2dkdkv0acs2ue9eca8hh2e // 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 //1 9js5gxgzr74eakgtfhnbws3t9 // 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 //1 anqllp9sj7wo45w6bm11j8trn // 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 //1 bh0z9puipqw7gymjd5h5b8s6i // extern struct fdpParms_s* fdp_parms //3 ciez0pfggxdljedzsbklq49f0 // static inline point pointof(int x, int y) public static Object pointof(Object... arg) { UNSUPPORTED("8e4tj258yvfq5uhsdpk37n5eq"); // static inline point pointof(int x, int y) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r; UNSUPPORTED("12jimkrzqxavaie0cpapbx18c"); // r.x = x; UNSUPPORTED("7ivmviysahgsc5nn9gtp7q2if"); // r.y = y; UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r; UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 c1s4k85p1cdfn176o3uryeros // static inline pointf pointfof(double x, double y) public static ST_pointf pointfof(double x, double y) { // WARNING!! STRUCT return pointfof_w_(x, y).copy(); } private static ST_pointf pointfof_w_(double x, double y) { ENTERING("c1s4k85p1cdfn176o3uryeros","pointfof"); try { final ST_pointf r = new ST_pointf(); r.setDouble("x", x); r.setDouble("y", y); return r; } finally { LEAVING("c1s4k85p1cdfn176o3uryeros","pointfof"); } } //3 7cufnfitrh935ew093mw0i4b7 // static inline box boxof(int llx, int lly, int urx, int ury) public static Object boxof(Object... arg) { UNSUPPORTED("3lzesfdd337h31jrlib1czocm"); // static inline box boxof(int llx, int lly, int urx, int ury) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("52u27kayecy1i1e8bbo8f7s9r"); // box b; UNSUPPORTED("cylhjlutoc0sc0uy7g98m9fb8"); // b.LL.x = llx, b.LL.y = lly; UNSUPPORTED("242of6revxzx8hpe7yerrchz6"); // b.UR.x = urx, b.UR.y = ury; UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b; UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 1n5xl70wxuabyf97mclvilsm6 // static inline point add_point(point p, point q) public static Object add_point(Object... arg) { UNSUPPORTED("6iamka1fx8fk1rohzzse8phte"); // static inline point add_point(point p, point q) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r; UNSUPPORTED("3n2sizjd0civbzm6iq7su1s2p"); // r.x = p.x + q.x; UNSUPPORTED("65ygdo31w09i5i6bd2f7azcd3"); // r.y = p.y + q.y; UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r; UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 arrsbik9b5tnfcbzsm8gr2chx // static inline pointf add_pointf(pointf p, pointf q) public static ST_pointf add_pointf(final ST_pointf p, final ST_pointf q) { // WARNING!! STRUCT return add_pointf_w_(p.copy(), q.copy()).copy(); } private static ST_pointf add_pointf_w_(final ST_pointf p, final ST_pointf q) { ENTERING("arrsbik9b5tnfcbzsm8gr2chx","add_pointf"); try { final ST_pointf r = new ST_pointf(); r.setDouble("x", p.x + q.x); r.setDouble("y", p.y + q.y); return r; } finally { LEAVING("arrsbik9b5tnfcbzsm8gr2chx","add_pointf"); } } //3 ai2dprak5y6obdsflguh5qbd7 // static inline point sub_point(point p, point q) public static Object sub_point(Object... arg) { UNSUPPORTED("cd602849h0bce8lu9xegka0ia"); // static inline point sub_point(point p, point q) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r; UNSUPPORTED("4q4q9dveah93si8ajfv59gz27"); // r.x = p.x - q.x; UNSUPPORTED("9f90ik0o2yqhanzntpy3d2ydy"); // r.y = p.y - q.y; UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r; UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 16f6pyogcv3j7n2p0n8giqqgh // static inline pointf sub_pointf(pointf p, pointf q) public static Object sub_pointf(Object... arg) { UNSUPPORTED("dmufj44lddsnj0wjyxsg2fcso"); // static inline pointf sub_pointf(pointf p, pointf q) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r; UNSUPPORTED("4q4q9dveah93si8ajfv59gz27"); // r.x = p.x - q.x; UNSUPPORTED("9f90ik0o2yqhanzntpy3d2ydy"); // r.y = p.y - q.y; UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r; UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 9k50jgrhc4f9824vf8ony74rw // static inline point mid_point(point p, point q) public static Object mid_point(Object... arg) { UNSUPPORTED("evy44tdsmu3erff9dp2x835u2"); // static inline point mid_point(point p, point q) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r; UNSUPPORTED("1a6p6fm57o0wt5ze2btsx06c7"); // r.x = (p.x + q.x) / 2; UNSUPPORTED("1kbj5tgdmfi6kf4jgg6skhr6e"); // r.y = (p.y + q.y) / 2; UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r; UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 59c4f7im0ftyowhnzzq2v9o1x // static inline pointf mid_pointf(pointf p, pointf q) public static Object mid_pointf(Object... arg) { UNSUPPORTED("381o63o9kb04d7gzg65v0r3q"); // static inline pointf mid_pointf(pointf p, pointf q) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r; UNSUPPORTED("c5vboetlr3mf43wns7iik6m1w"); // r.x = (p.x + q.x) / 2.; UNSUPPORTED("bcdf562ldr3bjn78hcay5xd63"); // r.y = (p.y + q.y) / 2.; UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r; UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 5r18p38gisvcx3zsvbb9saixx // static inline pointf interpolate_pointf(double t, pointf p, pointf q) public static Object interpolate_pointf(Object... arg) { UNSUPPORTED("894yimn33kmtm454llwdaotu8"); // static inline pointf interpolate_pointf(double t, pointf p, pointf q) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("ef2acl8wa2ooqcb5vz3098maz"); // pointf r; UNSUPPORTED("5tpwuyf5iidesy80v8o4nwkmk"); // r.x = p.x + t * (q.x - p.x); UNSUPPORTED("ewnrc5uloj3w5jbmsjcn3wja0"); // r.y = p.y + t * (q.y - p.y); UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r; UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 bxzrv2ghq04qk5cbyy68s4mol // static inline point exch_xy(point p) public static Object exch_xy(Object... arg) { UNSUPPORTED("2vxya0v2fzlv5e0vjaa8d414"); // static inline point exch_xy(point p) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r; UNSUPPORTED("60cojdwc2h7f0m51s9jdwvup7"); // r.x = p.y; UNSUPPORTED("evp2x66oa4s1tlnc0ytxq2qbq"); // r.y = p.x; UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r; UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 9lt3e03tac6h6sydljrcws8fd // static inline pointf exch_xyf(pointf p) public static Object exch_xyf(Object... arg) { UNSUPPORTED("8qamrobrqi8jsvvfrxkimrsnw"); // static inline pointf exch_xyf(pointf p) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r; UNSUPPORTED("60cojdwc2h7f0m51s9jdwvup7"); // r.x = p.y; UNSUPPORTED("evp2x66oa4s1tlnc0ytxq2qbq"); // r.y = p.x; UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r; UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 8l9qhieokthntzdorlu5zn29b // static inline box box_bb(box b0, box b1) public static Object box_bb(Object... arg) { UNSUPPORTED("36et5gmnjrby6o7bq9sgh1hx6"); // static inline box box_bb(box b0, box b1) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("52u27kayecy1i1e8bbo8f7s9r"); // box b; UNSUPPORTED("8mr2c9xitsqi8z1plbp7ox1hu"); // b.LL.x = MIN(b0.LL.x, b1.LL.x); UNSUPPORTED("2egu55ef4u1i03nwz01k7kcrl"); // b.LL.y = MIN(b0.LL.y, b1.LL.y); UNSUPPORTED("9n6ei3odbgefwfxvql9whcpe"); // b.UR.x = MAX(b0.UR.x, b1.UR.x); UNSUPPORTED("19ocysbuh4pxyft2bqhyhigr1"); // b.UR.y = MAX(b0.UR.y, b1.UR.y); UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b; UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 clws9h3bbjm0lw3hexf8nl4c4 // static inline boxf boxf_bb(boxf b0, boxf b1) public static Object boxf_bb(Object... arg) { UNSUPPORTED("dyrqu4ww9osr9c86gqgmifcp6"); // static inline boxf boxf_bb(boxf b0, boxf b1) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("c57pq0f87j6dnbcvygu7v6k84"); // boxf b; UNSUPPORTED("8mr2c9xitsqi8z1plbp7ox1hu"); // b.LL.x = MIN(b0.LL.x, b1.LL.x); UNSUPPORTED("2egu55ef4u1i03nwz01k7kcrl"); // b.LL.y = MIN(b0.LL.y, b1.LL.y); UNSUPPORTED("9n6ei3odbgefwfxvql9whcpe"); // b.UR.x = MAX(b0.UR.x, b1.UR.x); UNSUPPORTED("19ocysbuh4pxyft2bqhyhigr1"); // b.UR.y = MAX(b0.UR.y, b1.UR.y); UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b; UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 bit6ycxo1iqd2al92y8gkzlvb // static inline box box_intersect(box b0, box b1) public static Object box_intersect(Object... arg) { UNSUPPORTED("34gv28cldst09bl71itjgviue"); // static inline box box_intersect(box b0, box b1) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("52u27kayecy1i1e8bbo8f7s9r"); // box b; UNSUPPORTED("9slu7bixuymxttjic76ha2nl2"); // b.LL.x = MAX(b0.LL.x, b1.LL.x); UNSUPPORTED("3uv943c2f82yuif249pf5azob"); // b.LL.y = MAX(b0.LL.y, b1.LL.y); UNSUPPORTED("74tf5h16bc9zabq3s3dyny543"); // b.UR.x = MIN(b0.UR.x, b1.UR.x); UNSUPPORTED("d99gcv3i7xes7y7rqf8ii20ux"); // b.UR.y = MIN(b0.UR.y, b1.UR.y); UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b; UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 8gfybie7k6pgb3o1a6llgpwng // static inline boxf boxf_intersect(boxf b0, boxf b1) public static Object boxf_intersect(Object... arg) { UNSUPPORTED("ape22b8z6jfg17gvo42hok9eb"); // static inline boxf boxf_intersect(boxf b0, boxf b1) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("c57pq0f87j6dnbcvygu7v6k84"); // boxf b; UNSUPPORTED("9slu7bixuymxttjic76ha2nl2"); // b.LL.x = MAX(b0.LL.x, b1.LL.x); UNSUPPORTED("3uv943c2f82yuif249pf5azob"); // b.LL.y = MAX(b0.LL.y, b1.LL.y); UNSUPPORTED("74tf5h16bc9zabq3s3dyny543"); // b.UR.x = MIN(b0.UR.x, b1.UR.x); UNSUPPORTED("d99gcv3i7xes7y7rqf8ii20ux"); // b.UR.y = MIN(b0.UR.y, b1.UR.y); UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b; UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 7z8j2quq65govaaejrz7b4cvb // static inline int box_overlap(box b0, box b1) public static Object box_overlap(Object... arg) { UNSUPPORTED("1e9k599x7ygct7r4cfdxlk9u9"); // static inline int box_overlap(box b0, box b1) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("7a9wwpu7dhdphd08y1ecw54w5"); // return OVERLAP(b0, b1); UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 4z0suuut2acsay5m8mg9dqjdu // static inline int boxf_overlap(boxf b0, boxf b1) public static Object boxf_overlap(Object... arg) { UNSUPPORTED("905nejsewihwhhc3bhnrz9nwo"); // static inline int boxf_overlap(boxf b0, boxf b1) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("7a9wwpu7dhdphd08y1ecw54w5"); // return OVERLAP(b0, b1); UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 dd34swz5rmdgu3a2np2a4h1dy // static inline int box_contains(box b0, box b1) public static Object box_contains(Object... arg) { UNSUPPORTED("aputfc30fjkvy6jx4otljaczq"); // static inline int box_contains(box b0, box b1) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("87ap80vrh2a4gpprbxr33lrg3"); // return CONTAINS(b0, b1); UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 8laj1bspbu2i1cjd9upr7xt32 // static inline int boxf_contains(boxf b0, boxf b1) public static Object boxf_contains(Object... arg) { UNSUPPORTED("7ccnttkiwt834yfyw0evcm18v"); // static inline int boxf_contains(boxf b0, boxf b1) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("87ap80vrh2a4gpprbxr33lrg3"); // return CONTAINS(b0, b1); UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 4wf5swkz24xx51ja2dynbycu1 // static inline pointf perp (pointf p) public static Object perp(Object... arg) { UNSUPPORTED("567wpqlg9rv63ynyvxd9sgkww"); // static inline pointf perp (pointf p) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r; UNSUPPORTED("2fyydy6t6yifjsczccsb9szeg"); // r.x = -p.y; UNSUPPORTED("evp2x66oa4s1tlnc0ytxq2qbq"); // r.y = p.x; UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r; UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 6dtlpzv4mvgzb9o0b252yweuv // static inline pointf scale (double c, pointf p) public static Object scale(Object... arg) { UNSUPPORTED("c1ngytew34bmkdb7vps5h3dh8"); // static inline pointf scale (double c, pointf p) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r; UNSUPPORTED("dznf7nac14snww4usquyd6r3r"); // r.x = c * p.x; UNSUPPORTED("33kk73m8vjcux5tnjl8co2pe6"); // r.y = c * p.y; UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r; UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 6ne46ggmvh7e9kgb4qr6mgghz // static void addNode(block_t * bp, Agnode_t * n) public static Object addNode(Object... arg) { UNSUPPORTED("5fdextpuo92ltskzutccn1w3c"); // static void addNode(block_t * bp, Agnode_t * n) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("608kwe7sw71zktjgckbl7m132"); // agsubnode(bp->sub_graph, n,1); UNSUPPORTED("dffy2ydqahbtvoy8dze2i5dlh"); // (((cdata*)(ND_alg(n)))->block) = bp; UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 9nkxqs5j4cz6n4smpxnzf7of3 // static Agraph_t *makeBlockGraph(Agraph_t * g, circ_state * state) public static Object makeBlockGraph(Object... arg) { UNSUPPORTED("8ogugxg0mlrykven1dyll85id"); // static Agraph_t *makeBlockGraph(Agraph_t * g, circ_state * state) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("78gq1jdufena2r9rigvse5178"); // char name[128]; UNSUPPORTED("c3tourf5k7groqyh71yjd5xec"); // Agraph_t *subg; UNSUPPORTED("ep00xn89fpirmsx2551j54utc"); // sprintf(name, "_block_%d", state->blockCount++); UNSUPPORTED("6kliff60l8s46s6kyw9368wgr"); // subg = agsubg(g, name,1); UNSUPPORTED("8zyh2vdcxj8wuinpcbzo3huem"); // agbindrec(subg, "Agraphinfo_t", sizeof(Agraphinfo_t), NOT(0)); //node custom data UNSUPPORTED("17jmp11l2jzc1v9qpaqkzkauj"); // return subg; UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 1u9vc7us642ioh6z6mmvho9g1 // static block_t *makeBlock(Agraph_t * g, circ_state * state) public static Object makeBlock(Object... arg) { UNSUPPORTED("b3jgqti5i1lplht0jdz9jh7lw"); // static block_t *makeBlock(Agraph_t * g, circ_state * state) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("22k5mxqow9wcl5tj1dd6fzevq"); // Agraph_t *subg = makeBlockGraph(g, state); UNSUPPORTED("1tq2co4mjsd8njnuq9fdtfklv"); // block_t *bp = mkBlock(subg); UNSUPPORTED("bgo7070e5cs998w6zp1ma85ad"); // return bp; UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 1go7wdt4hei24xynw7ja3qypq // static void push (estack* s, Agedge_t* e) public static Object push(Object... arg) { UNSUPPORTED("e2z2o5ybnr5tgpkt8ty7hwan1"); // static void UNSUPPORTED("vn3gavzznx35o0dk5unn8jy"); // push (estack* s, Agedge_t* e) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("uik83qgtmxor295psahfjlp3"); // (((edata*)(ED_alg(e)))->next) = s->top; UNSUPPORTED("pehl52zn5cecaq6tcryq0x2q"); // s->top = e; UNSUPPORTED("2c0ljksb11ygrfdzsey9kinf0"); // s->sz += 1; UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 an818082xt6tg4sjkaragfihw // static Agedge_t* pop (estack* s) public static Object pop(Object... arg) { UNSUPPORTED("6brdr8wx9pidlrz4g71hamlqp"); // static Agedge_t* UNSUPPORTED("dxpg1bn6k36l5op477n9l4hbd"); // pop (estack* s) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("dbyzosemqb0ppxbcjl1jjf1qh"); // Agedge_t *top = s->top; UNSUPPORTED("7vzatp8nd0zuhbh0cegy6voub"); // if (top) { UNSUPPORTED("cwpy7cbgmqoffiq6cukx7c31w"); // assert(s->sz > 0); UNSUPPORTED("83l03yivh32p027nc80nu1btm"); // s->top = (((edata*)(ED_alg(top)))->next); UNSUPPORTED("6p5s6spq9gzbxvr8bqua8bv0t"); // s->sz -= 1; UNSUPPORTED("c07up7zvrnu2vhzy6d7zcu94g"); // } else { UNSUPPORTED("2g1czwq8qs1hp7515i11qbn75"); // assert(0); UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // } UNSUPPORTED("3bqe70q9zr1iec0o5964x3po6"); // return top; UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 2me26r3sdk182f52iux8yh3l7 // static void dfs(Agraph_t * g, Agnode_t * u, circ_state * state, int isRoot, estack* stk) public static Object dfs(Object... arg) { UNSUPPORTED("c369mcpdwbw752z2jekex2hf7"); // static void dfs(Agraph_t * g, Agnode_t * u, circ_state * state, int isRoot, estack* stk) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("36vshotvjkc5iodgg7nq6qa2r"); // Agedge_t *e; UNSUPPORTED("c21enf3w0nz9vfmu0omf2pasm"); // Agnode_t *v; UNSUPPORTED("5wnipxqjqmsnr2uwvqwr2cu0"); // (((cdata*)(ND_alg(u)))->u.bc.low_val) = (((cdata*)(ND_alg(u)))->u.bc.val) = state->orderCount++; UNSUPPORTED("9s7k6ldzdus38t62lpr55000"); // for (e = agfstedge(g, u); e; e = agnxtedge(g, e, u)) { UNSUPPORTED("9cgusihkv0qycon7x1n4kz95b"); // v = aghead (e); UNSUPPORTED("drfwkbbxrkoogg8hhauehkh6"); // if (v == u) { UNSUPPORTED("2mnwbfqb7ood0nr3wms28k5id"); // v = agtail(e); UNSUPPORTED("cm1em5jid5u0xgj8alt9a9m1q"); // if (!(((edata*)(ED_alg(e)))->order)) (((edata*)(ED_alg(e)))->order) = -1; UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // } UNSUPPORTED("8k75h069sv2k9b6tgz77dscwd"); // else { UNSUPPORTED("9yyjp4p6zziu01suj7lssvi4k"); // if (!(((edata*)(ED_alg(e)))->order)) (((edata*)(ED_alg(e)))->order) = 1; UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // } UNSUPPORTED("1r6lgg40sanlh8qfeyzt2sz1b"); // if ((((cdata*)(ND_alg(v)))->u.bc.val) == 0) { /* Since VAL(root) == 0, it gets treated as artificial cut point */ UNSUPPORTED("4ku4mtdtf8eu7dsik5e9l8w3f"); // (((cdata*)(ND_alg(v)))->parent) = u; UNSUPPORTED("40l3w6fxdqk7jcoe1f20py27u"); // push(stk, e); UNSUPPORTED("3q2wnl77y6o7s10ol3v0f2ee5"); // dfs(g, v, state, 0, stk); UNSUPPORTED("2s7ggn90po89x6892u3aw0d4c"); // (((cdata*)(ND_alg(u)))->u.bc.low_val) = MIN((((cdata*)(ND_alg(u)))->u.bc.low_val), (((cdata*)(ND_alg(v)))->u.bc.low_val)); UNSUPPORTED("dx8clvdw9l98h159fafict51k"); // if ((((cdata*)(ND_alg(v)))->u.bc.low_val) >= (((cdata*)(ND_alg(u)))->u.bc.val)) { /* u is an articulation point */ UNSUPPORTED("5fzvk8a3ck85ucnadckwql1vs"); // block_t *block = NULL; UNSUPPORTED("5oeglenbq34ox5mkdigd64g9z"); // Agnode_t *np; UNSUPPORTED("dcbcc8dw9uhlkriq96iod65ph"); // Agedge_t *ep; UNSUPPORTED("88rfsizqhsisyh0d9rb1bv3bt"); // do { UNSUPPORTED("392s3l6pl2ed4023q8op6jta4"); // ep = pop(stk); UNSUPPORTED("dflbezxz2r72pws6xe7vvbbbh"); // if ((((edata*)(ED_alg(ep)))->order) == 1) UNSUPPORTED("pl5n2urlg4z2upqje2ljhk2w"); // np = aghead (ep); UNSUPPORTED("9acag2yacl63g8rg6r1alu62x"); // else UNSUPPORTED("72io0nz3p9udd43iejoiyedth"); // np = agtail (ep); UNSUPPORTED("c6rvwexx0of5c130rdze64xbc"); // if (!(((cdata*)(ND_alg(np)))->block)) { UNSUPPORTED("a0zitz4spvxd1oupdy1s7hd5l"); // if (!block) UNSUPPORTED("8lv6xtno3xs8wl26y200ykmex"); // block = makeBlock(g, state); UNSUPPORTED("602huydeg5ve96m3x0h98lh4a"); // addNode(block, np); UNSUPPORTED("dkxvw03k2gg9anv4dbze06axd"); // } UNSUPPORTED("dzj2mkoa2s6esucxuunkyzcrz"); // } while (ep != e); UNSUPPORTED("106jvi4gem7gfnn40a3g1xo1y"); // if (block) { /* If block != NULL, it's not empty */ UNSUPPORTED("aqtlj8skhmf9wz5f0n1nccj58"); // if (!(((cdata*)(ND_alg(u)))->block) && blockSize (block) > 1) UNSUPPORTED("8e36nltg9tsh13ysaeu9b3xwu"); // addNode(block, u); UNSUPPORTED("ajhtu8lfrochg83cml0idqsn4"); // if (isRoot && ((((cdata*)(ND_alg(u)))->block) == block)) UNSUPPORTED("a9m6isxgegq9aeczp21cyz0qr"); // insertBlock(&state->bl, block); UNSUPPORTED("9acag2yacl63g8rg6r1alu62x"); // else UNSUPPORTED("erqsgjie1p79zl2lhqatnh57p"); // appendBlock(&state->bl, block); UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // } UNSUPPORTED("7g94ubxa48a1yi3mf9v521b7c"); // } UNSUPPORTED("5xrstrqht5cg3izffsi86009l"); // } else if ((((cdata*)(ND_alg(u)))->parent) != v) { UNSUPPORTED("c5ymhzniwwix5kjf5r9mi1udq"); // (((cdata*)(ND_alg(u)))->u.bc.low_val) = MIN((((cdata*)(ND_alg(u)))->u.bc.low_val), (((cdata*)(ND_alg(v)))->u.bc.val)); UNSUPPORTED("4mhlpjofolwivhm0tl8cxznly"); // } UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // } UNSUPPORTED("bl92cdt5jy9ajznr76qvu5u3z"); // if (isRoot && !(((cdata*)(ND_alg(u)))->block)) { UNSUPPORTED("9wut2nvkbil7m9gdvk263xzdx"); // block_t *block = makeBlock(g, state); UNSUPPORTED("8btookv5587dfffitdmx3k35k"); // addNode(block, u); UNSUPPORTED("896yvdgaq76sb5yqbe0x4l9tl"); // insertBlock(&state->bl, block); UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // } UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 c7mojhpcwyo755u6jowwxzwdn // static void find_blocks(Agraph_t * g, circ_state * state) public static Object find_blocks(Object... arg) { UNSUPPORTED("ylya6ldy3006k2mvsc0kjr3i"); // static void find_blocks(Agraph_t * g, circ_state * state) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("2jcii9cclu1dijzqekzc175pe"); // Agnode_t *n; UNSUPPORTED("9ogt1rgyy3nv83to4x8129yq0"); // Agnode_t *root = NULL; UNSUPPORTED("apccihmjvnjfb2gngozexu0pv"); // estack stk; UNSUPPORTED("5c5jw8s53v4xxzd0hjnb1c0xf"); // /* check to see if there is a node which is set to be the root UNSUPPORTED("795vpnc8yojryr8b46aidsu69"); // */ UNSUPPORTED("73e7ycmqgzyurfw36etvb6lok"); // if (state->rootname) { UNSUPPORTED("50guz4u3cqnirdo6vskc81u0h"); // root = (agnode(g,state->rootname,0)); UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // } UNSUPPORTED("2yfzfscmhgfvx7xei8m2i134n"); // if (!root && state->N_root) { UNSUPPORTED("attp4bsjqe99xnhi7lr7pszar"); // for (n = agfstnode(g); n; n = agnxtnode(g, n)) { UNSUPPORTED("boqoqrnqkywxjnumpgm25jeol"); // if (late_bool((((cdata*)(ND_alg(n)))->orig.np), state->N_root, 0)) { UNSUPPORTED("e5p9z4gtbl2rf8vks9hna8fj7"); // root = n; UNSUPPORTED("9ekmvj13iaml5ndszqyxa8eq"); // break; UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // } UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // } UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // } UNSUPPORTED("anefy71k1qdwcre9fss1qww47"); // if (!root) UNSUPPORTED("8wx5h49bfrzew5ioem57hqaku"); // root = agfstnode(g); UNSUPPORTED("2di5wqm6caczzl6bvqe35ry8y"); // if (Verbose) UNSUPPORTED("6ld2y2hao9s1lkkrmddsf5i8i"); // fprintf (stderr, "root = %s\n", agnameof(root)); UNSUPPORTED("7qjtonl2321drh5v9ho2mcs9h"); // stk.sz = 0; UNSUPPORTED("bh76cnkyano23y7meefmksn9m"); // stk.top = NULL; UNSUPPORTED("5yfanzsqlioq7gn97vklmkamp"); // dfs(g, root, state, 1, &stk); UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 cjsr6alm5iy3bs8riqc06wcks // block_t *createBlocktree(Agraph_t * g, circ_state * state) public static Object createBlocktree(Object... arg) { UNSUPPORTED("e06kufbnk6wkhrm3pt4te6xnt"); // block_t *createBlocktree(Agraph_t * g, circ_state * state) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("c1e61umpnq91loowv2uiik4ij"); // block_t *bp; UNSUPPORTED("cl9j9gn2okzgv6lp648zd7gjg"); // block_t *next; UNSUPPORTED("7u378ih9lwpzdxqjnl915ozy"); // block_t *root; UNSUPPORTED("985nf8jew0zg19ydmlmarwyl1"); // int min; UNSUPPORTED("zsxs5umsbj18bnqc6lktrohg"); // /* int ordercnt; */ UNSUPPORTED("998lr64x35apz58m02j3ku5n1"); // find_blocks(g, state); UNSUPPORTED("byp6901xynik3rsv9cr4fhhsv"); // bp = state->bl.first; /* if root chosen, will be first */ UNSUPPORTED("af5dizr8shg0fwpm9h3uph2pq"); // /* Otherwise, just pick first as root */ UNSUPPORTED("e5u2k2ay64u871sbka0jicz44"); // root = bp; UNSUPPORTED("1p9o9fak3l29yccpv66xc6yiw"); // /* Find node with minimum VAL value to find parent block */ UNSUPPORTED("52d43l3k0o0pazixrgafonsg"); // /* FIX: Should be some way to avoid search below. */ UNSUPPORTED("be7cej3k68m2hyi0ovumc1afl"); // /* ordercnt = state->orderCount; */ UNSUPPORTED("7k318sxybq0zhrputecbfg773"); // for (bp = bp->next; bp; bp = next) { UNSUPPORTED("360sjyc5tpijfr34t8o87o2p5"); // Agnode_t *n; UNSUPPORTED("cqe5tbsvdcln5fenokkx487qu"); // Agnode_t *parent; UNSUPPORTED("d6lk7cmcvuqr4qs5dfwu706sb"); // Agnode_t *child; UNSUPPORTED("7lymfnepa38jojaj5zjskbznj"); // Agraph_t *subg = bp->sub_graph; UNSUPPORTED("a2kougw7r3jfbz7ze8s6kazbe"); // child = n = agfstnode(subg); UNSUPPORTED("cmhxq8ncnq4anh500ypets4ue"); // min = (((cdata*)(ND_alg(n)))->u.bc.val); UNSUPPORTED("c6tks2zg6v1n8ax6rce1jpvg"); // parent = (((cdata*)(ND_alg(n)))->parent); UNSUPPORTED("oxkynlrnba518ft6x49g0nhx"); // for (n = agnxtnode(subg, n); n; n = agnxtnode(subg, n)) { UNSUPPORTED("dn9g5gc8h36vuedkojddpsk1l"); // if ((((cdata*)(ND_alg(n)))->u.bc.val) < min) { UNSUPPORTED("4jiqex4vrb3h22p1a535twbv4"); // child = n; UNSUPPORTED("6swxk3a2yzffi6kodqi79dmf0"); // min = (((cdata*)(ND_alg(n)))->u.bc.val); UNSUPPORTED("b5q946bvy2ot5dgds0b9jm3xn"); // parent = (((cdata*)(ND_alg(n)))->parent); UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // } UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // } UNSUPPORTED("armnjsiv39eeb8c1hmgwdskyi"); // ((((cdata*)(ND_alg(parent)))->flags) |= (1 << 3)); UNSUPPORTED("4mqskxttlknlm6gm81bf3wrj8"); // ((bp)->child) = child; UNSUPPORTED("c6ysaq17vofi62cdypownjyzj"); // next = bp->next; /* save next since list insertion destroys it */ UNSUPPORTED("5k4ysbm441casqb6cw2ew8119"); // appendBlock(&((((cdata*)(ND_alg(parent)))->block)->children), bp); UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // } UNSUPPORTED("58xx7i0kix9651uhj6fri63gs"); // initBlocklist(&state->bl); /* zero out list */ UNSUPPORTED("4hzlvk8t0qcn15wg6988vwra9"); // return root; UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } //3 bq25y50izaq05n3onmen588ni // void freeBlocktree(block_t * bp) public static Object freeBlocktree(Object... arg) { UNSUPPORTED("1bc9hggj8zqlk9aydw3i3xvy4"); // void freeBlocktree(block_t * bp) UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // { UNSUPPORTED("dnimuukbrqydy7hshg1fgcjip"); // block_t *child; UNSUPPORTED("cl9j9gn2okzgv6lp648zd7gjg"); // block_t *next; UNSUPPORTED("7r4rd1zknlb7o2vbqkbejbkrc"); // for (child = bp->children.first; child; child = next) { UNSUPPORTED("4vzo0f6h7upy5ozou8hnsqvsl"); // next = child->next; UNSUPPORTED("aumnv9uavdnj9vgt5yjii95y0"); // freeBlocktree(child); UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // } UNSUPPORTED("16olnzzj2c8vf954tvar2hnen"); // freeBlock(bp); UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // } throw new UnsupportedOperationException(); } }