gen.lib.circogen.blockpath__c Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plantuml Show documentation
Show all versions of plantuml Show documentation
PlantUML is a component that allows to quickly write :
* sequence diagram,
* use case diagram,
* class diagram,
* activity diagram,
* component diagram,
* state diagram
* object diagram
The newest version!
/* ========================================================================
* 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-2017, 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.boxf;
import h.pointf;
import smetana.core.__struct__;
public class blockpath__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 __struct__ pointfof(double x, double y) {
// WARNING!! STRUCT
return pointfof_w_(x, y).copy();
}
private static __struct__ pointfof_w_(double x, double y) {
ENTERING("c1s4k85p1cdfn176o3uryeros","pointfof");
try {
final __struct__ r = __struct__.from(pointf.class);
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 1vvsta5i8of59frav6uymguav
// static inline boxf boxfof(double llx, double lly, double urx, double ury)
public static __struct__ boxfof(double llx, double lly, double urx, double ury) {
// WARNING!! STRUCT
return boxfof_w_(llx, lly, urx, ury).copy();
}
private static __struct__ boxfof_w_(double llx, double lly, double urx, double ury) {
ENTERING("1vvsta5i8of59frav6uymguav","boxfof");
try {
final __struct__ b = __struct__.from(boxf.class);
b.getStruct("LL").setDouble("x", llx);
b.getStruct("LL").setDouble("y", lly);
b.getStruct("UR").setDouble("x", urx);
b.getStruct("UR").setDouble("y", ury);
return b;
} finally {
LEAVING("1vvsta5i8of59frav6uymguav","boxfof");
}
}
//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 __struct__ add_pointf(final __struct__ p, final __struct__ q) {
// WARNING!! STRUCT
return add_pointf_w_(p.copy(), q.copy()).copy();
}
private static __struct__ add_pointf_w_(final __struct__ p, final __struct__ q) {
ENTERING("arrsbik9b5tnfcbzsm8gr2chx","add_pointf");
try {
final __struct__ r = __struct__.from(pointf.class);
r.setDouble("x", p.getDouble("x") + q.getDouble("x"));
r.setDouble("y", p.getDouble("y") + q.getDouble("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();
}
//1 e0c6o8stnbe78j48z75ksdz7r
// typedef Dt_t edgelist
//1 39duc9sgnnz7xqy8c1hhno72b
// typedef Dt_t nodeset_t
//1 7j7kswbhzemhda2b85gqybnya
// typedef Dt_t deglist_t
//3 1xvwimo7h6xxwr3nk7628z91s
// static Agraph_t *clone_graph(Agraph_t * ing, Agraph_t ** xg)
public static Object clone_graph(Object... arg) {
UNSUPPORTED("34rwtfj0jl6bt8tx92beev5es"); // static Agraph_t *clone_graph(Agraph_t * ing, Agraph_t ** xg)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("6wqyctm7ejmgwmi9b1flcldk3"); // Agraph_t *clone;
UNSUPPORTED("5xvxmd998k2ijhl36ekqvj047"); // Agraph_t *xclone;
UNSUPPORTED("2jcii9cclu1dijzqekzc175pe"); // Agnode_t *n;
UNSUPPORTED("5symvkivg72wbeqivuz9ryc6v"); // Agnode_t *xn;
UNSUPPORTED("cpd7gqx32iybmzyawrjcefiz4"); // Agnode_t *xh;
UNSUPPORTED("36vshotvjkc5iodgg7nq6qa2r"); // Agedge_t *e;
UNSUPPORTED("das87gvl5xaq7y7ewtx5trkws"); // Agedge_t *xe;
UNSUPPORTED("drj328bbj3dx7pr601ewryc7l"); // char gname[128];
UNSUPPORTED("dprz24km2yzgmc5ejmr97z3t"); // static int id = 0;
UNSUPPORTED("3uv05i6otc22zt0czdcyol8c4"); // sprintf(gname, "_clone_%d", id++);
UNSUPPORTED("2tckewjgb2ez5dfcjpkgpmycc"); // clone = agsubg(ing, gname,1);
UNSUPPORTED("ef32h8iori24zal5sdv464o4d"); // agbindrec(clone, "Agraphinfo_t", sizeof(Agraphinfo_t), NOT(0)); //node custom data
UNSUPPORTED("3uv05i6otc22zt0czdcyol8c4"); // sprintf(gname, "_clone_%d", id++);
UNSUPPORTED("61zzjvyr1c2df7ivceck1gill"); // xclone = agopen(gname, ing->desc,((Agdisc_t *)0));
UNSUPPORTED("9q61eb8nam9w8rcvj6541f4i1"); // for (n = agfstnode(ing); n; n = agnxtnode(ing, n)) {
UNSUPPORTED("bd9reyxulshw9zgpuyvynufwr"); // agsubnode(clone,n,1);
UNSUPPORTED("dnawynwzg0deirz2ezhwax64z"); // xn = agnode(xclone, agnameof(n),1);
UNSUPPORTED("cpyo6x44eksqi66ug3agz7etm"); // agbindrec(xn, "Agnodeinfo_t", sizeof(Agnodeinfo_t), NOT(0)); //node custom data
UNSUPPORTED("7dnug9uxi7ddoghyrm8rbz45f"); // (((cdata*)(ND_alg(n)))->u.clone) = xn;
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
UNSUPPORTED("9q61eb8nam9w8rcvj6541f4i1"); // for (n = agfstnode(ing); n; n = agnxtnode(ing, n)) {
UNSUPPORTED("6std6zvo31kvt5tyxhzwncfoa"); // xn = (((cdata*)(ND_alg(n)))->u.clone);
UNSUPPORTED("5mv803jds3a1llgeb7lp12hym"); // for (e = agfstout(ing, n); e; e = agnxtout(ing, e)) {
UNSUPPORTED("f49wwvqnjs7d8fc9cm90sgbv4"); // agsubedge(clone,e,1);
UNSUPPORTED("7grev3hqtou9mx6g02xvz0b0v"); // xh = (((cdata*)(ND_alg(aghead(e))))->u.clone);
UNSUPPORTED("am4vpp5kcl3e6rciv4xntyr5b"); // xe = agedge(xclone, xn, xh, NULL, 1);
UNSUPPORTED("apc6204gnibhddglh7n3y9qo2"); // agbindrec(xe, "Agedgeinfo_t", sizeof(Agedgeinfo_t), NOT(0)); //node custom data
UNSUPPORTED("f56tf6qn2kusvulydoii7h2er"); // (ED_to_orig(xe)) = e;
UNSUPPORTED("9ayqbb28l0qyxfhjwx1asjn8z"); // (ND_order(xn)) += 1;
UNSUPPORTED("8uaatcogu6qcrp89p9733ne5l"); // (ND_order(xh)) += 1;
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
UNSUPPORTED("5sw6xgh0vs7xf7cty92581cew"); // *xg = xclone;
UNSUPPORTED("ahsxnrtj709jyhggtyh45qhez"); // return clone;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
throw new UnsupportedOperationException();
}
//3 4js7mtzis5vqcin2nnzmzp3z6
// static deglist_t *getList(Agraph_t * g)
public static Object getList(Object... arg) {
UNSUPPORTED("a2dgfuc79lf165ux7e468ykof"); // static deglist_t *getList(Agraph_t * g)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("81bp1ufbinisb1i9is0fn5koz"); // deglist_t *dl = mkDeglist();
UNSUPPORTED("2jcii9cclu1dijzqekzc175pe"); // Agnode_t *n;
UNSUPPORTED("44thr6ep72jsj3fksjiwdx3yr"); // for (n = agfstnode(g); n; n = agnxtnode(g, n)) {
UNSUPPORTED("1h4udrr1gk5uezae7l4x9e4c5"); // insertDeglist(dl, n);
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
UNSUPPORTED("cm8qrfhqoqzqx9qfxzg3ti8r7"); // return dl;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
throw new UnsupportedOperationException();
}
//3 4ighdv8te0lys3rchzw8aymm0
// static void find_pair_edges(Agraph_t * g, Agnode_t * n, Agraph_t * outg)
public static Object find_pair_edges(Object... arg) {
UNSUPPORTED("xutw9e2nplvs3q4gfvk7xn29"); // static void find_pair_edges(Agraph_t * g, Agnode_t * n, Agraph_t * outg)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("cjfpfavygvfxjo8jce5nz48ic"); // Agnode_t **neighbors_with;
UNSUPPORTED("88isz9fycrsmab3txj9tib205"); // Agnode_t **neighbors_without;
UNSUPPORTED("36vshotvjkc5iodgg7nq6qa2r"); // Agedge_t *e;
UNSUPPORTED("1bl759aws53yjk3xg9shiogx5"); // Agedge_t *ep;
UNSUPPORTED("3t0ulygac81ueh0xjr391hyrh"); // Agedge_t *ex;
UNSUPPORTED("4rip97cgvbcrlgycxl0wajpuh"); // Agnode_t *n1;
UNSUPPORTED("5ozeh48rt3sdc5ufi9nv6yx88"); // Agnode_t *n2;
UNSUPPORTED("amd7is8j6qvef26sc483rjbsr"); // int has_pair_edge;
UNSUPPORTED("1wmjkf3r3rua2n9n6v1glz64z"); // int diff;
UNSUPPORTED("d1i7jcsqu99gvxf2fe251lvl6"); // int has_pair_count = 0;
UNSUPPORTED("36m9lheffujrzgna7hs9i3oa8"); // int no_pair_count = 0;
UNSUPPORTED("1l486qszpb5d3sqdm06kutpur"); // int node_degree;
UNSUPPORTED("dod8opyy7guv4i3ux4lcxsn7e"); // int edge_cnt = 0;
UNSUPPORTED("cl7dqwmcfqwhf0n719zq4i2k1"); // node_degree = (ND_order(n));
UNSUPPORTED("vetjk9jrsga9ojup5vx2t4ni"); // neighbors_with = (Agnode_t **)gmalloc((node_degree)*sizeof(Agnode_t *));
UNSUPPORTED("4to2767qvlj3zg70yj3ahf9cz"); // neighbors_without = (Agnode_t **)gmalloc((node_degree)*sizeof(Agnode_t *));
UNSUPPORTED("dcuhjbsiioawp6zspvonwd4px"); // for (e = agfstedge(g, n); e; e = agnxtedge(g, e, n)) {
UNSUPPORTED("b5elzpoploj144houo511jga7"); // n1 = aghead(e);
UNSUPPORTED("1qpu7mh7kzjg30a060o39exdr"); // if (n1 == n)
UNSUPPORTED("mgr12zup6vvs740u6t01s0ay"); // n1 = agtail(e);
UNSUPPORTED("8o80wphccqc90ul9j5h8s4ilr"); // has_pair_edge = 0;
UNSUPPORTED("5b98jlpc20lv99xoeybrxpm1w"); // for (ep = agfstedge(g, n); ep; ep = agnxtedge(g, ep, n)) {
UNSUPPORTED("7jumz67ra7zkgh5bzs6ipvjbz"); // if (ep == e)
UNSUPPORTED("6hyelvzskqfqa07xtgjtvg2is"); // continue;
UNSUPPORTED("7h0r1z7b1tcde4wytwxyigz8d"); // n2 = aghead(ep);
UNSUPPORTED("1ejwt6n5a5fy0nqpmbu2yvzcz"); // if (n2 == n)
UNSUPPORTED("7brsmwx9usebj9aic30rgi992"); // n2 = agtail(ep);
UNSUPPORTED("1w90pq659kpysd8cqbnw3qcx8"); // ex = (agedge(g,n1,n2,NULL,0));
UNSUPPORTED("bg0v15q62qx908cnod0vhp94"); // if (ex) {
UNSUPPORTED("3jxs7icfff5r9a8w80frrl2qd"); // has_pair_edge = 1;
UNSUPPORTED("f11zryvghlrmh8ao6y8enailu"); // if (n1 < n2) { /* count edge only once */
UNSUPPORTED("esb0m4s9o67n9ql98u27i29a6"); // edge_cnt++;
UNSUPPORTED("c2qsyou5a2mxsrqyfw0pd15f0"); // if ((ED_to_orig(ex))) {
UNSUPPORTED("3o5uqynsriitatedjwd5jqyqp"); // agdelete(outg, (ED_to_orig(ex)));
UNSUPPORTED("drj8qjyjkeeedlfyurwkzkhxl"); // (ED_to_orig(ex)) = 0; /* delete only once */
UNSUPPORTED("dkxvw03k2gg9anv4dbze06axd"); // }
UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
UNSUPPORTED("7vcnaipx3tekqorsaz8eb1adj"); // if (has_pair_edge) {
UNSUPPORTED("cnm2l3yft4vyot34be8t1q709"); // neighbors_with[has_pair_count] = n1;
UNSUPPORTED("bwqyt0dssk1c4fftol3ez81mj"); // has_pair_count++;
UNSUPPORTED("7yhr8hn3r6wohafwxrt85b2j2"); // } else {
UNSUPPORTED("dbgef1y9toqosqz2hc3fqgtaf"); // neighbors_without[no_pair_count] = n1;
UNSUPPORTED("9kjm44g5pimn301rv05u1mq9x"); // no_pair_count++;
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
UNSUPPORTED("689peqrlgcq6sxh3v1rsyxtgs"); // diff = node_degree - 1 - edge_cnt;
UNSUPPORTED("e7wveq1bjq0k8h3zn94l5i8wb"); // if (diff > 0) {
UNSUPPORTED("absiuplqv7ngv5nns8wt419fq"); // int mark;
UNSUPPORTED("6c2a0fq6cdv6n7jis6xvac1ix"); // Agnode_t *hp;
UNSUPPORTED("3r7e5ngdy1yhhp156zdz404vn"); // Agnode_t *tp;
UNSUPPORTED("9o448o0hfz9079rtymm3fd0qy"); // if (diff < no_pair_count) {
UNSUPPORTED("55303709crow86p7bnbxlxz61"); // for (mark = 0; mark < no_pair_count; mark += 2) {
UNSUPPORTED("9a6n9k96dfza7terjf4n1yxio"); // if ((mark + 1) >= no_pair_count)
UNSUPPORTED("czyohktf9bkx4udfqhx42f4lu"); // break;
UNSUPPORTED("62vzr4kpbt7zxzw5m06i9vxf0"); // tp = neighbors_without[mark];
UNSUPPORTED("573djj9aqjout7yn9acz0msc0"); // hp = neighbors_without[mark + 1];
UNSUPPORTED("4a0i5ng3bn2o81uk4awkwo3s4"); // agbindrec(agedge(g, tp, hp, NULL, 1), "Agedgeinfo_t", sizeof(Agedgeinfo_t), NOT(0)); // edge custom data
UNSUPPORTED("bt7cn3xkr1gbum4zzewtaecm9"); // (ND_order(tp))++;
UNSUPPORTED("4paqhnx66ihnlgeeho4uccezz"); // (ND_order(hp))++;
UNSUPPORTED("82nc9dwhc9qf2yqko8gvwyuu4"); // diff--;
UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
UNSUPPORTED("cvy8xzqnrho2kumg5d8mekg34"); // mark = 2;
UNSUPPORTED("39clbhwbr48385uif3r3jyo5j"); // while (diff > 0) {
UNSUPPORTED("9ibgjjztevco43v870eobnqn6"); // tp = neighbors_without[0];
UNSUPPORTED("dogedkqmkviq59unc5qb15zog"); // hp = neighbors_without[mark];
UNSUPPORTED("4a0i5ng3bn2o81uk4awkwo3s4"); // agbindrec(agedge(g, tp, hp, NULL, 1), "Agedgeinfo_t", sizeof(Agedgeinfo_t), NOT(0)); // edge custom data
UNSUPPORTED("bt7cn3xkr1gbum4zzewtaecm9"); // (ND_order(tp))++;
UNSUPPORTED("4paqhnx66ihnlgeeho4uccezz"); // (ND_order(hp))++;
UNSUPPORTED("bvi3mrdatiowhbq318wj7t5jy"); // mark++;
UNSUPPORTED("82nc9dwhc9qf2yqko8gvwyuu4"); // diff--;
UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
UNSUPPORTED("cvk2tpu5s7mpszng4o7z4uevw"); // else if (diff == no_pair_count) {
UNSUPPORTED("2karo0elfxneqcwst1zdznso5"); // tp = neighbors_with[0];
UNSUPPORTED("8p4qikbfm03s7g4w8yxf4tlrs"); // for (mark = 0; mark < no_pair_count; mark++) {
UNSUPPORTED("dogedkqmkviq59unc5qb15zog"); // hp = neighbors_without[mark];
UNSUPPORTED("bx4itrrvtmxvzfputf73rj8fm"); // agbindrec(agedge(g, tp, hp, NULL, 1), "Agedgeinfo_t", sizeof(Agedgeinfo_t), NOT(0)); //node custom data
UNSUPPORTED("bt7cn3xkr1gbum4zzewtaecm9"); // (ND_order(tp))++;
UNSUPPORTED("4paqhnx66ihnlgeeho4uccezz"); // (ND_order(hp))++;
UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
UNSUPPORTED("7vjoj31lznmgyarxml1sy7ox6"); // free(neighbors_without);
UNSUPPORTED("bbg4ogpuvzv576iu3onqmhju1"); // free(neighbors_with);
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
throw new UnsupportedOperationException();
}
//3 5hjb2e85ks2yxpsv09neo671u
// static Agraph_t *remove_pair_edges(Agraph_t * ing)
public static Object remove_pair_edges(Object... arg) {
UNSUPPORTED("8b98j875ieeuxpp3w5kzn2kf8"); // static Agraph_t *remove_pair_edges(Agraph_t * ing)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("9is4trbhw01oz0cmsbdblvcoa"); // int counter = 0;
UNSUPPORTED("e8p66xu6d28z50k31k7r0ruv9"); // int nodeCount;
UNSUPPORTED("5760jwtqnhv40s4dp7zpbd2p4"); // Agraph_t *outg;
UNSUPPORTED("1dbyk58q3r4fyfxxo7ovemkpu"); // Agraph_t *g;
UNSUPPORTED("dtvy3v63j8ttw75a8ta8pgszu"); // deglist_t *dl;
UNSUPPORTED("18nnhw7fdpv524qt7ylfos296"); // Agnode_t *currnode, *adjNode;
UNSUPPORTED("36vshotvjkc5iodgg7nq6qa2r"); // Agedge_t *e;
UNSUPPORTED("8jwp8mwo7ot7xsf8ns9gs8a2o"); // outg = clone_graph(ing, &g);
UNSUPPORTED("64x7lmip056ro44hpphewu94p"); // nodeCount = agnnodes(g);
UNSUPPORTED("5dt7of1fqql5p3otsieom2p1f"); // dl = getList(g);
UNSUPPORTED("10dayw0vczrle8e7lkndoebt"); // while (counter < (nodeCount - 3)) {
UNSUPPORTED("9ishx77nbvjt46s5fl4jhslpf"); // currnode = firstDeglist(dl);
UNSUPPORTED("55km83y6i071gl9xqtr1hzju0"); // /* Remove all adjacent nodes since they have to be reinserted */
UNSUPPORTED("3cj7ssv3hhlsw7e1ot96wtq0q"); // for (e = agfstedge(g, currnode); e; e = agnxtedge(g, e, currnode)) {
UNSUPPORTED("8fnm18xabfb23euirw5rfmhe3"); // adjNode = aghead(e);
UNSUPPORTED("91oh79rmhzowurysvijqznpkk"); // if (currnode == adjNode)
UNSUPPORTED("4ti4gb4lwa7plyg7vl4b59d4e"); // adjNode = agtail(e);
UNSUPPORTED("8dn8j57dc5w84dbdxh2hk6czn"); // removeDeglist(dl, adjNode);
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
UNSUPPORTED("gt3415hgzp0g16aajzn7it2y"); // find_pair_edges(g, currnode, outg);
UNSUPPORTED("3cj7ssv3hhlsw7e1ot96wtq0q"); // for (e = agfstedge(g, currnode); e; e = agnxtedge(g, e, currnode)) {
UNSUPPORTED("8fnm18xabfb23euirw5rfmhe3"); // adjNode = aghead(e);
UNSUPPORTED("91oh79rmhzowurysvijqznpkk"); // if (currnode == adjNode)
UNSUPPORTED("4ti4gb4lwa7plyg7vl4b59d4e"); // adjNode = agtail(e);
UNSUPPORTED("1ulrtmmbe2o7nyyx5fgxbyrre"); // (ND_order(adjNode))--;
UNSUPPORTED("810sb6lz7qgr9nrycusvbbzy7"); // insertDeglist(dl, adjNode);
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
UNSUPPORTED("9ksf1vajgaan07p41p29c1mvj"); // agdelete(g, currnode);
UNSUPPORTED("3a9goefb48roao7azhg25lwv4"); // counter++;
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
UNSUPPORTED("ego3r1tvwrpv2hie8y9p8vq4z"); // agclose(g);
UNSUPPORTED("bzbcdfu9fycm2qy7dza17pulf"); // freeDeglist(dl);
UNSUPPORTED("64agnrsd2jyuqnb8ubm8yf939"); // return outg;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
throw new UnsupportedOperationException();
}
//3 f1mdq67yllxhx8tkbelbjdkx9
// static void measure_distance(Agnode_t * n, Agnode_t * ancestor, int dist, Agnode_t * change)
public static Object measure_distance(Object... arg) {
UNSUPPORTED("e2z2o5ybnr5tgpkt8ty7hwan1"); // static void
UNSUPPORTED("8bbskd8aene9q6w9pz2qp13fw"); // measure_distance(Agnode_t * n, Agnode_t * ancestor, int dist,
UNSUPPORTED("4ohwv9g736ydr0cd2dmuu9bum"); // Agnode_t * change)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("emwevwo0p4unmb6sn0ik4yzap"); // Agnode_t *parent;
UNSUPPORTED("66rs5wnllik0lwwbe8fw7ktxa"); // parent = (((cdata*)(ND_alg(ancestor)))->u.t.tparent);
UNSUPPORTED("dguki3hdfa1kq44yaqn98boh9"); // if (parent == NULL)
UNSUPPORTED("a7fgam0j0jm7bar0mblsv3no4"); // return;
UNSUPPORTED("aw8pnfl1tsuoaueckf9mofohg"); // dist++;
UNSUPPORTED("4i7mu83mb8n3077hqvv3ztsqg"); // /* check parent to see if it has other leaf paths at greater distance
UNSUPPORTED("61w8f47fwkx6oxr422266x9u6"); // than the context node.
UNSUPPORTED("c79vqc2pd4tar610rh20wk0q5"); // set the path/distance of the leaf at this ancestor node */
UNSUPPORTED("785w0j47h9kkeks4zohm8bn8u"); // if ((((cdata*)(ND_alg(parent)))->u.t.fdist) == 0) {
UNSUPPORTED("odqvjb27zbo8g38ir4tbv4fb"); // (((cdata*)(ND_alg(parent)))->u.t.first) = n;
UNSUPPORTED("8yb1877mq891cnion52w856az"); // (((cdata*)(ND_alg(parent)))->u.t.fdist) = dist;
UNSUPPORTED("22n84nx5zmde2aqnfq4rkhcdn"); // } else if (dist > (((cdata*)(ND_alg(parent)))->u.t.fdist)) {
UNSUPPORTED("4t78u0dg9i2tf1588vsd87wpu"); // if ((((cdata*)(ND_alg(parent)))->u.t.first) != change) {
UNSUPPORTED("5brmbajf5fq9nvllfcqjjfmsw"); // if (!(((cdata*)(ND_alg(parent)))->u.t.sdist) || ((((cdata*)(ND_alg(parent)))->u.t.second) != change))
UNSUPPORTED("2jyqy7n3lrsgubqscmb7p3if4"); // change = (((cdata*)(ND_alg(parent)))->u.t.first);
UNSUPPORTED("19u1abvwe4vrvq0hldkrldf65"); // (((cdata*)(ND_alg(parent)))->u.t.second) = (((cdata*)(ND_alg(parent)))->u.t.first);
UNSUPPORTED("aej3ymuuarfdfevbrbkxsfs1r"); // (((cdata*)(ND_alg(parent)))->u.t.sdist) = (((cdata*)(ND_alg(parent)))->u.t.fdist);
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
UNSUPPORTED("odqvjb27zbo8g38ir4tbv4fb"); // (((cdata*)(ND_alg(parent)))->u.t.first) = n;
UNSUPPORTED("8yb1877mq891cnion52w856az"); // (((cdata*)(ND_alg(parent)))->u.t.fdist) = dist;
UNSUPPORTED("23tiyp1zz7p7yeapfjpvg3kru"); // } else if (dist > (((cdata*)(ND_alg(parent)))->u.t.sdist)) {
UNSUPPORTED("dkbinvu0a5a7l1l2e0mfen5ls"); // (((cdata*)(ND_alg(parent)))->u.t.second) = n;
UNSUPPORTED("dg7zogxpcg388yqyb1xdvk4hg"); // (((cdata*)(ND_alg(parent)))->u.t.sdist) = dist;
UNSUPPORTED("a7fgam0j0jm7bar0mblsv3no4"); // return;
UNSUPPORTED("2lkbqgh2h6urnppaik3zo7ywi"); // } else
UNSUPPORTED("a7fgam0j0jm7bar0mblsv3no4"); // return;
UNSUPPORTED("9t7irrcz950cxvnzf5xsilkuy"); // measure_distance(n, parent, dist, change);
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
throw new UnsupportedOperationException();
}
//3 eqsv2jiguz68m8clhpypd2wtj
// static nodelist_t *find_longest_path(Agraph_t * tree)
public static Object find_longest_path(Object... arg) {
UNSUPPORTED("cvtvy1400pesjx53tcmkjoh24"); // static nodelist_t *find_longest_path(Agraph_t * tree)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("2jcii9cclu1dijzqekzc175pe"); // Agnode_t *n;
UNSUPPORTED("36vshotvjkc5iodgg7nq6qa2r"); // Agedge_t *e;
UNSUPPORTED("2gvulcn94hbghghj84i0jx84k"); // Agnode_t *common = 0;
UNSUPPORTED("dg27rmepe42fviq2zsoc4nkom"); // nodelist_t *path;
UNSUPPORTED("38pqlxd7dn2wdk3ivibma2s8r"); // nodelist_t *endPath;
UNSUPPORTED("eszd2jki841w9l43vjkv77qqy"); // int maxlength = 0;
UNSUPPORTED("5dswuhpbodc6rdro2smwpjlyd"); // int length;
UNSUPPORTED("6ze037lpldk361f6h3fwxbmkj"); // if (agnnodes(tree) == 1) {
UNSUPPORTED("5m0qc9a8hm3bdq1i2t3g0uze7"); // path = mkNodelist();
UNSUPPORTED("c0er3d8ikj00bi6ecdbilrjzd"); // n = agfstnode(tree);
UNSUPPORTED("4b4d97qgj2naf7ialtoh01zog"); // appendNodelist(path, NULL, n);
UNSUPPORTED("ebb0c3immayb4hoajawmwxzn6"); // ((((cdata*)(ND_alg(n)))->flags) |= (1 << 4));
UNSUPPORTED("57hqjupepq3w3p8tudecyd91y"); // return path;
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
UNSUPPORTED("f40r7vp17jnh4w34jf4kknwxu"); // for (n = agfstnode(tree); n; n = agnxtnode(tree, n)) {
UNSUPPORTED("8ggnunqhr4uo65x8fdxbsdrgr"); // int count = 0;
UNSUPPORTED("7crzab0780ludywzjqq7jn68u"); // for (e = agfstedge(tree, n); e; e = agnxtedge(tree, e, n)) {
UNSUPPORTED("fn6rrzmrb2yold6j6aofg94n"); // count++;
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
UNSUPPORTED("axvvybks5kjv50jof4glc5akw"); // if (count == 1)
UNSUPPORTED("bqeso1gnv2nbf93k6kixny15c"); // measure_distance(n, n, 0, NULL);
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
UNSUPPORTED("7l8pfb0panv7kyxnbai3r40l7"); // /* find the branch node rooted at the longest path */
UNSUPPORTED("f40r7vp17jnh4w34jf4kknwxu"); // for (n = agfstnode(tree); n; n = agnxtnode(tree, n)) {
UNSUPPORTED("2v4h1qs75txn0u2ka5u5ohm4d"); // length = (((cdata*)(ND_alg(n)))->u.t.fdist) + (((cdata*)(ND_alg(n)))->u.t.sdist);
UNSUPPORTED("2k2m053n227krxq80hshcvbvq"); // if (length > maxlength) {
UNSUPPORTED("22ivj50dgjwft18kf35pc3hcx"); // common = n;
UNSUPPORTED("bl2c5mti2q66mk9q5zpkzvjhe"); // maxlength = length;
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
UNSUPPORTED("7l4sdilvn1glxjwba09dqlh9j"); // path = mkNodelist();
UNSUPPORTED("18k7q52nyp8v37a82vwl7dqgf"); // for (n = (((cdata*)(ND_alg(common)))->u.t.first); n != common; n = (((cdata*)(ND_alg(n)))->u.t.tparent)) {
UNSUPPORTED("4b4d97qgj2naf7ialtoh01zog"); // appendNodelist(path, NULL, n);
UNSUPPORTED("ebb0c3immayb4hoajawmwxzn6"); // ((((cdata*)(ND_alg(n)))->flags) |= (1 << 4));
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
UNSUPPORTED("5bqpx04m3ulqgnjp1uq7v5ecg"); // appendNodelist(path, NULL, common);
UNSUPPORTED("9ogv29igutj106iwd8snrg4gp"); // ((((cdata*)(ND_alg(common)))->flags) |= (1 << 4));
UNSUPPORTED("5ai3t063tci7wwvpelyzozkpe"); // if ((((cdata*)(ND_alg(common)))->u.t.sdist)) { /* 2nd path might be empty */
UNSUPPORTED("8gamehelsfvfqu8t3lhw7metk"); // endPath = mkNodelist();
UNSUPPORTED("4ixka9e2f1yaiwrmd9b3ulkwu"); // for (n = (((cdata*)(ND_alg(common)))->u.t.second); n != common; n = (((cdata*)(ND_alg(n)))->u.t.tparent)) {
UNSUPPORTED("4l3pddu5c5tyn2hdllc5xc2b1"); // appendNodelist(endPath, NULL, n);
UNSUPPORTED("9ouwvpziziaylyfco5gvxgpe3"); // ((((cdata*)(ND_alg(n)))->flags) |= (1 << 4));
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
UNSUPPORTED("2zxzzdmj6wlilg54h807crbbi"); // reverseAppend(path, endPath);
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
UNSUPPORTED("1funi6zh0ilqaehngcqcvj4dv"); // return path;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
throw new UnsupportedOperationException();
}
//3 7mnudtov3ojyhnxn1jmz3zhy7
// static void dfs(Agraph_t * g, Agnode_t * n, Agraph_t * tree)
public static Object dfs(Object... arg) {
UNSUPPORTED("131fnq97ij23iofee00tmleze"); // static void dfs(Agraph_t * g, Agnode_t * n, Agraph_t * tree)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("36vshotvjkc5iodgg7nq6qa2r"); // Agedge_t *e;
UNSUPPORTED("aegubuefai4rt9vz61w182wop"); // Agnode_t *neighbor;
UNSUPPORTED("9t479vqa2ymwishrpzy1a1ro6"); // ((((cdata*)(ND_alg(n)))->flags) |= (1 << 0));
UNSUPPORTED("dcuhjbsiioawp6zspvonwd4px"); // for (e = agfstedge(g, n); e; e = agnxtedge(g, e, n)) {
UNSUPPORTED("7ieiz3se1f6o9p9zcbu79zl12"); // neighbor = aghead(e);
UNSUPPORTED("10sn3zchzf9d7ht2lrm0m7huu"); // if (neighbor == n)
UNSUPPORTED("chnngfe1cxsk6niy46axanm5v"); // neighbor = agtail(e);
UNSUPPORTED("5hlnwdwlnvscyeo34qyip2v04"); // if (!((((cdata*)(ND_alg(neighbor)))->flags)&(1 << 0))) {
UNSUPPORTED("bs25m8xsm63lovekwfeuy1bq8"); // /* add the edge to the dfs tree */
UNSUPPORTED("o3dylpltii5m67nljeyu79xm"); // agsubedge(tree,e,1);
UNSUPPORTED("6e7qpwatv0gehp3jq2n5jl0tn"); // (((cdata*)(ND_alg(neighbor)))->u.t.tparent) = n;
UNSUPPORTED("5hf02fnyz7e82bsdi008hkcs4"); // dfs(g, neighbor, tree);
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
throw new UnsupportedOperationException();
}
//3 8m28w7pi7rv4oxv0akl2s4az4
// static Agraph_t *spanning_tree(Agraph_t * g)
public static Object spanning_tree(Object... arg) {
UNSUPPORTED("49a0lsjfstrgxkgmha9h4b27r"); // static Agraph_t *spanning_tree(Agraph_t * g)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("2jcii9cclu1dijzqekzc175pe"); // Agnode_t *n;
UNSUPPORTED("459mwrl3t5jnf7fnwppgzog9d"); // Agraph_t *tree;
UNSUPPORTED("drj328bbj3dx7pr601ewryc7l"); // char gname[128];
UNSUPPORTED("dprz24km2yzgmc5ejmr97z3t"); // static int id = 0;
UNSUPPORTED("60igk923ldbzwccf0dq02uvh2"); // sprintf(gname, "_span_%d", id++);
UNSUPPORTED("243c86rza8src132jwe71acdq"); // tree = agsubg(g, gname,1);
UNSUPPORTED("2140hiqxo5gioobsxbknkia87"); // agbindrec(tree, "Agraphinfo_t", sizeof(Agraphinfo_t), NOT(0)); //node custom data
UNSUPPORTED("44thr6ep72jsj3fksjiwdx3yr"); // for (n = agfstnode(g); n; n = agnxtnode(g, n)) {
UNSUPPORTED("eo79kblqdj7n8c48gyaykzvaa"); // agsubnode(tree,n,1);
UNSUPPORTED("cbjv030bk1i7bitcc7c2hcuhb"); // (((cdata*)(ND_alg(n)))->u.t.fdist) = 0;
UNSUPPORTED("5xyp50h8arj9da80smy22ih62"); // (((cdata*)(ND_alg(n)))->u.t.sdist) = 0;
UNSUPPORTED("6ug5kj6ku8simq7gccmq34p9w"); // ((((cdata*)(ND_alg(n)))->flags) &= ~(1 << 0));
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
UNSUPPORTED("44thr6ep72jsj3fksjiwdx3yr"); // for (n = agfstnode(g); n; n = agnxtnode(g, n)) {
UNSUPPORTED("654jrg7u4lpnw39673anaxy05"); // if (!((((cdata*)(ND_alg(n)))->flags)&(1 << 0))) {
UNSUPPORTED("9ixtcl048f5htxwcmjhqj4xh8"); // (((cdata*)(ND_alg(n)))->u.t.tparent) = NULL;
UNSUPPORTED("ch25czkmw7witaw8m0zxu2v4o"); // dfs(g, n, tree);
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
UNSUPPORTED("48tgunsw0gvmwerbb89baomqt"); // return tree;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
throw new UnsupportedOperationException();
}
//3 c94mjtmn1vruvrupmwtvtj4j4
// static void block_graph(Agraph_t * g, block_t * sn)
public static Object block_graph(Object... arg) {
UNSUPPORTED("2qk0mibp8cprk47gh0021zl53"); // static void block_graph(Agraph_t * g, block_t * sn)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("2jcii9cclu1dijzqekzc175pe"); // Agnode_t *n;
UNSUPPORTED("36vshotvjkc5iodgg7nq6qa2r"); // Agedge_t *e;
UNSUPPORTED("4ugp2tyzj8gbyoj1ntbji8gqt"); // Agraph_t *subg = sn->sub_graph;
UNSUPPORTED("6ewipai3bqonhmh4h826lvwyi"); // for (n = agfstnode(subg); n; n = agnxtnode(subg, n)) {
UNSUPPORTED("e20lm4qtccvgsfq5fzjv6sjyl"); // for (e = agfstout(g, n); e; e = agnxtout(g, e)) {
UNSUPPORTED("485bmhmjlr2huu0f4p5z6v2bk"); // if ((((cdata*)(ND_alg(aghead(e))))->block) == sn)
UNSUPPORTED("22qf444fgbfmeou84fua1gs3l"); // agsubedge(subg,e,1);
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
throw new UnsupportedOperationException();
}
//3 1e0vzs6lzgjx91tory442op41
// static int count_all_crossings(nodelist_t * list, Agraph_t * subg)
public static Object count_all_crossings(Object... arg) {
UNSUPPORTED("airx5so2nky74856ss97mvrrt"); // static int count_all_crossings(nodelist_t * list, Agraph_t * subg)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("7rutwn578nyaydek3ukuywh1x"); // nodelistitem_t *item;
UNSUPPORTED("75tzt0fyavt0p83sz3v3pv7ed"); // edgelist *openEdgeList = init_edgelist();
UNSUPPORTED("2jcii9cclu1dijzqekzc175pe"); // Agnode_t *n;
UNSUPPORTED("36vshotvjkc5iodgg7nq6qa2r"); // Agedge_t *e;
UNSUPPORTED("8tcbm5letf43s691urfrbn7w6"); // int crossings = 0;
UNSUPPORTED("18m42y34puuy1otsup09u8l8g"); // int order = 1;
UNSUPPORTED("6ewipai3bqonhmh4h826lvwyi"); // for (n = agfstnode(subg); n; n = agnxtnode(subg, n)) {
UNSUPPORTED("20f1gy1u7m87t833twh2u9vy3"); // for (e = agfstout(subg, n); e; e = agnxtout(subg, e)) {
UNSUPPORTED("6931gsvidrt039x6qh2vy768v"); // (((edata*)(ED_alg(e)))->order) = 0;
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
UNSUPPORTED("7z11gxrpvg2nqkuzrh0ss0vif"); // for (item = list->first; item; item = item->next) {
UNSUPPORTED("efcirwqi1qo67gxv4hcey7ume"); // n = item->curr;
UNSUPPORTED("8tiv7x7n2v8qov6f670pejv6m"); // for (e = agfstedge(subg, n); e; e = agnxtedge(subg, e, n)) {
UNSUPPORTED("5it9zyfqa6jar9yxfa7flt92h"); // if ((((edata*)(ED_alg(e)))->order) > 0) {
UNSUPPORTED("as78wt71mg4et2ds447kzrari"); // edgelistitem *eitem;
UNSUPPORTED("dcbcc8dw9uhlkriq96iod65ph"); // Agedge_t *ep;
UNSUPPORTED("dzgptt1cuu3tail6gke0ndad6"); // for (eitem = (edgelistitem *) (*(((Dt_t*)(openEdgeList))->searchf))((openEdgeList),(void*)(0),0000200); eitem;
UNSUPPORTED("98jfvxmfcjwgpd61jl7puqr2m"); // eitem =
UNSUPPORTED("79wv8os0486c6l3lc0j8lvezr"); // (edgelistitem *) (*(((Dt_t*)(openEdgeList))->searchf))((openEdgeList),(void*)(eitem),0000010)) {
UNSUPPORTED("5xrki1xzikku31wkllhqpaewd"); // ep = eitem->edge;
UNSUPPORTED("dw9gk92vuk9xc3r8steqe6zs"); // if ((((edata*)(ED_alg(ep)))->order) > (((edata*)(ED_alg(e)))->order)) {
UNSUPPORTED("1bphd7niyj38txw9c488jyjz2"); // if ((aghead(ep) != n) && (agtail(ep) != n))
UNSUPPORTED("2di6ygf4a96q7nwxhskkgrw8o"); // crossings++;
UNSUPPORTED("dkxvw03k2gg9anv4dbze06axd"); // }
UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
UNSUPPORTED("eaez2tc8zrg7hyuiqyz4f8m7o"); // remove_edge(openEdgeList, e);
UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
UNSUPPORTED("8tiv7x7n2v8qov6f670pejv6m"); // for (e = agfstedge(subg, n); e; e = agnxtedge(subg, e, n)) {
UNSUPPORTED("91uh6sqsfh1qb0fg04rbrdaw9"); // if ((((edata*)(ED_alg(e)))->order) == 0) {
UNSUPPORTED("a6gzwtrnqvryer9ydo0merz8a"); // (((edata*)(ED_alg(e)))->order) = order;
UNSUPPORTED("ebh9kjfm4r3twmi100svfaoh8"); // add_edge(openEdgeList, e);
UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
UNSUPPORTED("eldw55y2gptsekyygj243zo2m"); // order++;
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
UNSUPPORTED("3nvvwjw6i1covfxr77dz0lce2"); // free_edgelist(openEdgeList);
UNSUPPORTED("100wla4cww7zywuyk2fohr3xg"); // return crossings;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
throw new UnsupportedOperationException();
}
//3 8czdf1x63rnqxr498fl5mu2ii
// static nodelist_t *reduce(nodelist_t * list, Agraph_t * subg, int *cnt)
public static Object reduce(Object... arg) {
UNSUPPORTED("cwpahrifd5wwpp1k3y6amf8q3"); // static nodelist_t *reduce(nodelist_t * list, Agraph_t * subg, int *cnt)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("6s78t7dpqpe72my2zxxdxlk1h"); // Agnode_t *curnode;
UNSUPPORTED("36vshotvjkc5iodgg7nq6qa2r"); // Agedge_t *e;
UNSUPPORTED("aegubuefai4rt9vz61w182wop"); // Agnode_t *neighbor;
UNSUPPORTED("eedmn1ulafp58zfalsbio69js"); // nodelist_t *listCopy;
UNSUPPORTED("668vzrztg8r3431ajfmw3g02k"); // int crossings, j, newCrossings;
UNSUPPORTED("77tuxfetkuwk0qecejqda566j"); // crossings = *cnt;
UNSUPPORTED("7sled3cai213z4mjtz6ouzbab"); // for (curnode = agfstnode(subg); curnode;
UNSUPPORTED("d1i3acz6unvgbwiv7odkyn4wn"); // curnode = agnxtnode(subg, curnode)) {
UNSUPPORTED("2ynmbuh1d6pql6jrbzrrc4u9n"); // /* move curnode next to its neighbors */
UNSUPPORTED("7clmrie9c4nqk5v2egaacn1q6"); // for (e = agfstedge(subg, curnode); e;
UNSUPPORTED("6nv3yyms6hkbtvpxr2osh2nll"); // e = agnxtedge(subg, e, curnode)) {
UNSUPPORTED("chnngfe1cxsk6niy46axanm5v"); // neighbor = agtail(e);
UNSUPPORTED("bu9rxi8b2cnjazzdzuotyfg4j"); // if (neighbor == curnode)
UNSUPPORTED("99x2l2tyimliely71mzavabu"); // neighbor = aghead(e);
UNSUPPORTED("ezup66bu66yfirmt20hqkgdxe"); // for (j = 0; j < 2; j++) {
UNSUPPORTED("a8tgrohpgihnjc2kpijobpjd1"); // listCopy = cloneNodelist(list);
UNSUPPORTED("1fxi4o6li1nl6wrgdan7ub49p"); // insertNodelist(list, curnode, neighbor, j);
UNSUPPORTED("ews1nvni0evsjd0c1j15xp9zw"); // newCrossings = count_all_crossings(list, subg);
UNSUPPORTED("329woztg53uqbx6ynh0vq40vs"); // if (newCrossings < crossings) {
UNSUPPORTED("87xah9ucvidkmqksxjgiqcm3q"); // crossings = newCrossings;
UNSUPPORTED("2axy8hr9pzd6olc68yx47v36"); // freeNodelist(listCopy);
UNSUPPORTED("4gw33f013xiqh23y4qxvn3d9h"); // if (crossings == 0) {
UNSUPPORTED("8pq2na3ntepyrxjom3nm4b3nz"); // *cnt = 0;
UNSUPPORTED("22k9gq4saeqd1dqkjlw3n81uk"); // return list;
UNSUPPORTED("dkxvw03k2gg9anv4dbze06axd"); // }
UNSUPPORTED("a47jqpic91ky93e1ohxv590l5"); // } else {
UNSUPPORTED("b7novmb8rx70k61bo5m0uyau9"); // freeNodelist(list);
UNSUPPORTED("1n0q6ik5o2dkkj2n6rt2faeot"); // list = listCopy;
UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
UNSUPPORTED("c7m8r79si1ex35hc16xd82hd1"); // *cnt = crossings;
UNSUPPORTED("1a5vgaasp2bunvu19mvepzcny"); // return list;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
throw new UnsupportedOperationException();
}
//3 9pjrmh6pnvpbc5tpxbuxkfy2r
// static nodelist_t *reduce_edge_crossings(nodelist_t * list, Agraph_t * subg)
public static Object reduce_edge_crossings(Object... arg) {
UNSUPPORTED("4eoehi8akkxbp2fncwis0hbk9"); // static nodelist_t *reduce_edge_crossings(nodelist_t * list,
UNSUPPORTED("a935m1m335lnnl5kbpomckdgf"); // Agraph_t * subg)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("4wtqpy4n4ubxgx32v15tr9cqw"); // int i, crossings, origCrossings;
UNSUPPORTED("dvodtoselzbs0hwbpat0xpnrd"); // crossings = count_all_crossings(list, subg);
UNSUPPORTED("94ljjdd4lnd7p8oredbxp5h5p"); // if (crossings == 0)
UNSUPPORTED("bq8fdnp0ptlj82raupu7egafd"); // return list;
UNSUPPORTED("b4ra1tmfi8msxf5pk7ni6rtaa"); // for (i = 0; i < 10; i++) {
UNSUPPORTED("7gnrez23ntedxdkmy4bq1nc6d"); // origCrossings = crossings;
UNSUPPORTED("6v1zixxec41vfsswu9of6ak6d"); // list = reduce(list, subg, &crossings);
UNSUPPORTED("6ver0nli3zk4pk2adhcaj69lt"); // /* return if no crossings or no improvement */
UNSUPPORTED("6b6zmsryvxnodnsb1ara9ezv"); // if ((origCrossings == crossings) || (crossings == 0))
UNSUPPORTED("85qxcaovlw0aattglmv16j1y7"); // return list;
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
UNSUPPORTED("1a5vgaasp2bunvu19mvepzcny"); // return list;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
throw new UnsupportedOperationException();
}
//3 bq29c0uv67b29jesxdkwou7vq
// static double largest_nodesize(nodelist_t * list)
public static Object largest_nodesize(Object... arg) {
UNSUPPORTED("5nov6rgtb1xfsmsmb95ao36jk"); // static double largest_nodesize(nodelist_t * list)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("2jcii9cclu1dijzqekzc175pe"); // Agnode_t *n;
UNSUPPORTED("7rutwn578nyaydek3ukuywh1x"); // nodelistitem_t *item;
UNSUPPORTED("ebs0cu7vx1ovmzfmeirn0fbhf"); // double size = 0;
UNSUPPORTED("7z11gxrpvg2nqkuzrh0ss0vif"); // for (item = list->first; item; item = item->next) {
UNSUPPORTED("8fe3jo12mqb510koyhz1o4n53"); // n = (((cdata*)(ND_alg(item->curr)))->orig.np);
UNSUPPORTED("e94z9yc4z98po6ttj9s4gwqz5"); // if (ND_width(n) > size)
UNSUPPORTED("96gl9rmd2kc102alxqwkzh8s0"); // size = ND_width(n);
UNSUPPORTED("1l6zldehr4bas1tjrpw0wcsmq"); // if (ND_height(n) > size)
UNSUPPORTED("7wntc07s618ezkj2tlys82dsa"); // size = ND_height(n);
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
UNSUPPORTED("5fnyq1zql95vx5xiysa7fj12a"); // return size;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
throw new UnsupportedOperationException();
}
//3 atxva7f7s47kevximw8nohn83
// static void place_node(Agraph_t * g, Agnode_t * n, nodelist_t * list)
public static Object place_node(Object... arg) {
UNSUPPORTED("dhsmb0fpwrhqfh202b2ya1gwh"); // static void place_node(Agraph_t * g, Agnode_t * n, nodelist_t * list)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("36vshotvjkc5iodgg7nq6qa2r"); // Agedge_t *e;
UNSUPPORTED("3ti66vwo4a7z0ey7qyc17pwgo"); // int placed = 0;
UNSUPPORTED("1fhup2mc58329xom46x9ipqad"); // nodelist_t *neighbors = mkNodelist();
UNSUPPORTED("6eda300y216s8bk6efunzvd7"); // nodelistitem_t *one, *two;
UNSUPPORTED("2661ch6g78x3kmtmtuvwn9iaz"); // for (e = agfstout(g, n); e; e = agnxtout(g, e)) {
UNSUPPORTED("ez1oh51m2jyugwrdxtszxncb4"); // appendNodelist(neighbors, NULL, aghead(e));
UNSUPPORTED("7xblqjuc3wznadzt37mhdn0yb"); // ((((cdata*)(ND_alg(aghead(e))))->flags) |= (1 << 5));
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
UNSUPPORTED("2wj6c20getix97noebmsx1104"); // for (e = agfstin(g, n); e; e = agnxtin(g, e)) {
UNSUPPORTED("6e5d3quxydepzsdu1v6kcx2j9"); // appendNodelist(neighbors, NULL, agtail(e));
UNSUPPORTED("cj2b2sk2xjph79ytokb0nz7d0"); // ((((cdata*)(ND_alg(agtail(e))))->flags) |= (1 << 5));
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
UNSUPPORTED("dws0zbnsy0q6wdujac277jx6h"); // /* Look for 2 neighbors consecutive on list */
UNSUPPORTED("8c4xb1cup0eb4w7ugvbb9rsa2"); // if (sizeNodelist(neighbors) >= 2) {
UNSUPPORTED("2r6ksypefukzqje5z1h080n8b"); // for (one = list->first; one; one = one->next) {
UNSUPPORTED("4w6hanltkox8go11fcpkpd6d0"); // if (one == list->last)
UNSUPPORTED("7dt4hu5pt1so36wg9em25i168"); // two = list->first;
UNSUPPORTED("5c97f6vfxny0zz35l2bu4maox"); // else
UNSUPPORTED("5mucr596k75huswetgb21xfts"); // two = one->next;
UNSUPPORTED("5mrohdkphuegwpog81zep3bqj"); // if (((((cdata*)(ND_alg(one->curr)))->flags)&(1 << 5)) && ((((cdata*)(ND_alg(two->curr)))->flags)&(1 << 5))) {
UNSUPPORTED("86tczettzqkp9amjuq87cibsm"); // appendNodelist(list, one, n);
UNSUPPORTED("3dzlfoy5eqgugcdfbjv8zcby3"); // placed = 1;
UNSUPPORTED("9ekmvj13iaml5ndszqyxa8eq"); // break;
UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
UNSUPPORTED("eolyswl0kan2g1oro7sf7dlkn"); // /* Find any neighbor on list */
UNSUPPORTED("q5re8099dbf0x4lcbhbbu6ng"); // if (!placed && sizeNodelist(neighbors) > 0) {
UNSUPPORTED("2r6ksypefukzqje5z1h080n8b"); // for (one = list->first; one; one = one->next) {
UNSUPPORTED("5j3184idhwlfzuj756zdlclzz"); // if (((((cdata*)(ND_alg(one->curr)))->flags)&(1 << 5))) {
UNSUPPORTED("86tczettzqkp9amjuq87cibsm"); // appendNodelist(list, one, n);
UNSUPPORTED("3dzlfoy5eqgugcdfbjv8zcby3"); // placed = 1;
UNSUPPORTED("9ekmvj13iaml5ndszqyxa8eq"); // break;
UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
UNSUPPORTED("1h9104vucwa2i8aqw5aerzyow"); // if (!placed)
UNSUPPORTED("7qo2n4ze0g7p9t1ogpzc3ipn4"); // appendNodelist(list, NULL, n);
UNSUPPORTED("b1lpwkx7e649c7mmzzhfojcs"); // for (one = neighbors->first; one; one = one->next)
UNSUPPORTED("b93htz7wxsh0vfriyv1cwa1ki"); // ((((cdata*)(ND_alg(one->curr)))->flags) &= ~(1 << 5));
UNSUPPORTED("1hifaw0fi3lsxfsxqus9q0vtu"); // freeNodelist(neighbors);
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
throw new UnsupportedOperationException();
}
//3 cawey01ormyor7v954u5hzfey
// static void place_residual_nodes(Agraph_t * g, nodelist_t * list)
public static Object place_residual_nodes(Object... arg) {
UNSUPPORTED("en0wlzq4qk95xb32n6ux616st"); // static void place_residual_nodes(Agraph_t * g, nodelist_t * list)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("2jcii9cclu1dijzqekzc175pe"); // Agnode_t *n;
UNSUPPORTED("44thr6ep72jsj3fksjiwdx3yr"); // for (n = agfstnode(g); n; n = agnxtnode(g, n)) {
UNSUPPORTED("1cdeb2efvxae5126go3nmrsg7"); // if (!((((cdata*)(ND_alg(n)))->flags)&(1 << 4)))
UNSUPPORTED("3g36s5b3dv73yw7ewv2beed0p"); // place_node(g, n, list);
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
throw new UnsupportedOperationException();
}
//3 aaehk4efk1kdkult25czfr4ly
// nodelist_t *layout_block(Agraph_t * g, block_t * sn, double min_dist)
public static Object layout_block(Object... arg) {
UNSUPPORTED("96wogy71y5hq6ao91l2959nwg"); // nodelist_t *layout_block(Agraph_t * g, block_t * sn, double min_dist)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("2jcii9cclu1dijzqekzc175pe"); // Agnode_t *n;
UNSUPPORTED("1vbnjb5ennjmd3jgr0h5lxr78"); // Agraph_t *copyG, *tree, *subg;
UNSUPPORTED("d7uu3k4m5ty17ck42vok0b2qd"); // nodelist_t *longest_path;
UNSUPPORTED("7rutwn578nyaydek3ukuywh1x"); // nodelistitem_t *item;
UNSUPPORTED("9bb4tfjgt05vo41vrsxihxynh"); // int N, k;
UNSUPPORTED("1rtt9wypz4gfn7xr2fks2hthp"); // double theta, radius, largest_node;
UNSUPPORTED("6ie9wugmj8v1zqz6a4swgy8tn"); // largest_node = 0;
UNSUPPORTED("3upuwem5kn6f9b3audmgcehul"); // subg = sn->sub_graph;
UNSUPPORTED("bw1u4xso3sa81szwkx88hb6jg"); // block_graph(g, sn); /* add induced edges */
UNSUPPORTED("7quou2xsgqtingzpaf869lf5f"); // copyG = remove_pair_edges(subg);
UNSUPPORTED("aiom675n9jcj1o0uvhoqgj5ad"); // tree = spanning_tree(copyG);
UNSUPPORTED("2ffqmdckwluvmr4fnf9g1p0a4"); // longest_path = find_longest_path(tree);
UNSUPPORTED("2kg4ot07s5c1lk6jzjrem2peu"); // place_residual_nodes(subg, longest_path);
UNSUPPORTED("eohec8mb17ceh55fu499v3hfa"); // /* at this point, longest_path is a list of all nodes in the block */
UNSUPPORTED("59rqtug86xn3t38nbu2xx4qa2"); // /* apply crossing reduction algorithms here */
UNSUPPORTED("cxqtiq1ujinlka2jg1ebmr139"); // longest_path = reduce_edge_crossings(longest_path, subg);
UNSUPPORTED("2j5mmz9425dcuw67yt2t8nne8"); // N = sizeNodelist(longest_path);
UNSUPPORTED("d93qp1f2d17eorifwlmvp90xx"); // largest_node = largest_nodesize(longest_path);
UNSUPPORTED("a1h2h6hb6wvbkjonsfvviiqzj"); // /* N*(min_dist+largest_node) is roughly circumference of required circle */
UNSUPPORTED("9iy5h9dm1zsjym6pfl3ylkqgd"); // if (N == 1)
UNSUPPORTED("btfv6mxo9yikaacwq3g24z3cb"); // radius = 0;
UNSUPPORTED("div10atae09n36x269sl208r1"); // else
UNSUPPORTED("a4f2hf2gkxar44781l8iwiv3k"); // radius = (N * (min_dist + largest_node)) / (2 * M_PI);
UNSUPPORTED("4w3iss4zp4bwtbkgqj0wmdyhv"); // for (item = longest_path->first; item; item = item->next) {
UNSUPPORTED("efcirwqi1qo67gxv4hcey7ume"); // n = item->curr;
UNSUPPORTED("6zg1ud5tzcw5bdxchosqyeiqs"); // if (((((cdata*)(ND_alg(n)))->flags)&(1 << 3))) {
UNSUPPORTED("dg2tng58imdzt1293k60wzrvj"); // /* QUESTION: Why is only one parent realigned? */
UNSUPPORTED("36jp3lyg0cx6apbu4x762ea9w"); // realignNodelist(longest_path, item);
UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
UNSUPPORTED("33k2b5luc10vdywklbylqhsd2"); // k = 0;
UNSUPPORTED("4w3iss4zp4bwtbkgqj0wmdyhv"); // for (item = longest_path->first; item; item = item->next) {
UNSUPPORTED("efcirwqi1qo67gxv4hcey7ume"); // n = item->curr;
UNSUPPORTED("81lsao9ntz07i5qaabbrxid0z"); // (((cdata*)(ND_alg(n)))->u.f.pos) = k;
UNSUPPORTED("6fh5b7a1jd505ta311zo8ujvb"); // (((cdata*)(ND_alg(n)))->u.f.psi) = 0.0;
UNSUPPORTED("5f6s0v8wt6wm6q2v5hc7c4r0t"); // theta = k * ((2.0 * M_PI) / N);
UNSUPPORTED("sfsmtqrcc76jfzjcnubbxneg"); // ND_pos(n)[0] = radius * cos(theta);
UNSUPPORTED("5f4xmzw5upv6bc05yh7gvu438"); // ND_pos(n)[1] = radius * sin(theta);
UNSUPPORTED("9zq7xtwq5cysffia17vtbbt9u"); // k++;
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
UNSUPPORTED("9iy5h9dm1zsjym6pfl3ylkqgd"); // if (N == 1)
UNSUPPORTED("6htkya60ij0v64lsrq2wfi94n"); // sn->radius = largest_node / 2;
UNSUPPORTED("div10atae09n36x269sl208r1"); // else
UNSUPPORTED("2r0eguj5fxa438xij0sf1innn"); // sn->radius = radius;
UNSUPPORTED("a4yy4msg8gf1nhbmov5b7lv9w"); // sn->rad0 = sn->radius;
UNSUPPORTED("4kh2nel2kgvoqc4k1f7loko7a"); // /* initialize parent pos */
UNSUPPORTED("9a2zxkibosjbtbvdsel5mg35z"); // sn->parent_pos = -1;
UNSUPPORTED("d5071btcahcfirgj180l4iemf"); // agclose(copyG);
UNSUPPORTED("c190sceo0yb33l7x7924nrxqf"); // return longest_path;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
throw new UnsupportedOperationException();
}
}