Debian Codegraph @

src/gen/lib/ortho/maze__c.java

raw symbols SCIP
1 /* ========================================================================
2 * PlantUML : a free UML diagram generator
3 * ========================================================================
4 *
5 * Project Info: http://plantuml.com
6 *
7 * If you like this project or if you find it useful, you can support us at:
8 *
9 * http://plantuml.com/patreon (only 1$ per month!)
10 * http://plantuml.com/paypal
11 *
12 * This file is part of Smetana.
13 * Smetana is a partial translation of Graphviz/Dot sources from C to Java.
14 *
15 * (C) Copyright 2009-2020, Arnaud Roques
16 *
17 * This translation is distributed under the same Licence as the original C program:
18 *
19 *************************************************************************
20 * Copyright (c) 2011 AT&T Intellectual Property
21 * All rights reserved. This program and the accompanying materials
22 * are made available under the terms of the Eclipse Public License v1.0
23 * which accompanies this distribution, and is available at
24 * http://www.eclipse.org/legal/epl-v10.html
25 *
26 * Contributors: See CVS logs. Details at http://www.graphviz.org/
27 *************************************************************************
28 *
29 * THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC
30 * LICENSE ("AGREEMENT"). [Eclipse Public License - v 1.0]
31 *
32 * ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES
33 * RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
34 *
35 * You may obtain a copy of the License at
36 *
37 * http://www.eclipse.org/legal/epl-v10.html
38 *
39 * Unless required by applicable law or agreed to in writing, software
40 * distributed under the License is distributed on an "AS IS" BASIS,
41 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
42 * See the License for the specific language governing permissions and
43 * limitations under the License.
44 *
45 */
46 package gen.lib.ortho;
47 import static smetana.core.Macro.UNSUPPORTED;
48
49 public class maze__c {
50 //1 2digov3edok6d5srhgtlmrycs
51 // extern lt_symlist_t lt_preloaded_symbols[]
52
53
54 //1 baedz5i9est5csw3epz3cv7z
55 // typedef Ppoly_t Ppolyline_t
56
57
58 //1 9k44uhd5foylaeoekf3llonjq
59 // extern Dtmethod_t* Dtset
60
61
62 //1 1ahfywsmzcpcig2oxm7pt9ihj
63 // extern Dtmethod_t* Dtbag
64
65
66 //1 anhghfj3k7dmkudy2n7rvt31v
67 // extern Dtmethod_t* Dtoset
68
69
70 //1 5l6oj1ux946zjwvir94ykejbc
71 // extern Dtmethod_t* Dtobag
72
73
74 //1 2wtf222ak6cui8cfjnw6w377z
75 // extern Dtmethod_t* Dtlist
76
77
78 //1 d1s1s6ibtcsmst88e3057u9r7
79 // extern Dtmethod_t* Dtstack
80
81
82 //1 axa7mflo824p6fspjn1rdk0mt
83 // extern Dtmethod_t* Dtqueue
84
85
86 //1 ega812utobm4xx9oa9w9ayij6
87 // extern Dtmethod_t* Dtdeque
88
89
90 //1 cyfr996ur43045jv1tjbelzmj
91 // extern Dtmethod_t* Dtorder
92
93
94 //1 wlofoiftbjgrrabzb2brkycg
95 // extern Dtmethod_t* Dttree
96
97
98 //1 12bds94t7voj7ulwpcvgf6agr
99 // extern Dtmethod_t* Dthash
100
101
102 //1 9lqknzty480cy7zsubmabkk8h
103 // extern Dtmethod_t _Dttree
104
105
106 //1 bvn6zkbcp8vjdhkccqo1xrkrb
107 // extern Dtmethod_t _Dthash
108
109
110 //1 9lidhtd6nsmmv3e7vjv9e10gw
111 // extern Dtmethod_t _Dtlist
112
113
114 //1 34ujfamjxo7xn89u90oh2k6f8
115 // extern Dtmethod_t _Dtqueue
116
117
118 //1 3jy4aceckzkdv950h89p4wjc8
119 // extern Dtmethod_t _Dtstack
120
121
122 //1 8dfqgf3u1v830qzcjqh9o8ha7
123 // extern Agmemdisc_t AgMemDisc
124
125
126 //1 18k2oh2t6llfsdc5x0wlcnby8
127 // extern Agiddisc_t AgIdDisc
128
129
130 //1 a4r7hi80gdxtsv4hdoqpyiivn
131 // extern Agiodisc_t AgIoDisc
132
133
134 //1 bnzt5syjb7mgeru19114vd6xx
135 // extern Agdisc_t AgDefaultDisc
136
137
138 //1 35y2gbegsdjilegaribes00mg
139 // extern Agdesc_t Agdirected, Agstrictdirected, Agundirected, Agstrictundirected
140
141
142 //1 c2rygslq6bcuka3awmvy2b3ow
143 // typedef Agsubnode_t Agnoderef_t
144
145
146 //1 xam6yv0dcsx57dtg44igpbzn
147 // typedef Dtlink_t Agedgeref_t
148
149
150 //1 7uu4dvqjnvvhc0gokmgcs954k
151 // extern int odb_flags
152
153
154 //1 4322iycvkv4hmlad3noqhgel4
155 // char* pre =
156
157
158 //1 9ozsa5zdtrgxx0s86gc0suyn5
159 // char* post =
160
161
162
163
164 //3 9g9xjc2r9n65rkl84jjslos81
165 // static void psdump (cell* gcells, int n_gcells, boxf BB, boxf* rects, int nrect)
166 public static Object psdump(Object... arg) {
167 UNSUPPORTED("e2z2o5ybnr5tgpkt8ty7hwan1"); // static void
168 UNSUPPORTED("1zp0gx8erzkytols6s6anek61"); // psdump (cell* gcells, int n_gcells, boxf BB, boxf* rects, int nrect)
169 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
170 UNSUPPORTED("b17di9c7wgtqm51bvsyxz6e2f"); // int i;
171 UNSUPPORTED("2lzsl1e035wt5epd1h8f4bn8m"); // boxf bb;
172 UNSUPPORTED("767492ltpvkpzowhpej4wil2b"); // box absbb;
173 UNSUPPORTED("60497m34eckxdjihuxvqkxsvu"); // absbb.LL.y = absbb.LL.x = 10;
174 UNSUPPORTED("axwbta36ottbp5ug72pnkfza8"); // absbb.UR.x = absbb.LL.x + BB.UR.x - BB.LL.x;
175 UNSUPPORTED("5jojnuuk1njt9p0dm3aklyf4c"); // absbb.UR.y = absbb.LL.y + BB.UR.y - BB.LL.y;
176 UNSUPPORTED("3n4k59tplss0b8rj6cz8wdq4q"); // fputs (pre, stderr);
177 UNSUPPORTED("2c7r664rf3q2nqvcwm076ljgp"); // fprintf (stderr, "%%%%Page: 1 1\n%%%%PageBoundingBox: %d %d %d %d\n",
178 UNSUPPORTED("gvo0wqx49546ze4wrba9h2ir"); // absbb.LL.x, absbb.LL.y, absbb.UR.x, absbb.UR.y);
179 UNSUPPORTED("9z5vt5st7kmlyqdktlquzkygw"); // fprintf (stderr, "%f %f translate\n", 10-BB.LL.x, 10-BB.LL.y);
180 UNSUPPORTED("7v0j1p03zgrz2n8e2sfmouivd"); // fputs ("0 0 1 setrgbcolor\n", stderr);
181 UNSUPPORTED("4elp64ghdngy60otlqydxcc95"); // for (i = 0; i < n_gcells; i++) {
182 UNSUPPORTED("da5sc56v5aj699nvth2tzez6e"); // bb = gcells[i].bb;
183 UNSUPPORTED("1eywmkz80bfnyb49ljgkxcp4x"); // fprintf (stderr, "%f %f %f %f node\n", bb.LL.x, bb.LL.y, bb.UR.x, bb.UR.y);
184 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
185 UNSUPPORTED("epywyt7h8b5f1fzegiuykr1r8"); // fputs ("0 0 0 setrgbcolor\n", stderr);
186 UNSUPPORTED("cymbkb9p93tw0m4uu2kkj35a0"); // for (i = 0; i < nrect; i++) {
187 UNSUPPORTED("6kbayg7dph0ok4aw3x13wjkdp"); // bb = rects[i];
188 UNSUPPORTED("6smdn9wdodygfk1sxfjl9q1rt"); // fprintf (stderr, "%f %f %f %f cell\n", bb.LL.x, bb.LL.y, bb.UR.x, bb.UR.y);
189 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
190 UNSUPPORTED("2to6ts1da6hiyr62cjf8n2rmj"); // fputs ("1 0 0 setrgbcolor\n", stderr);
191 UNSUPPORTED("35fqc70o5xuuv6qdrmnv7z6w5"); // fprintf (stderr, "%f %f %f %f cell\n", BB.LL.x, BB.LL.y, BB.UR.x, BB.UR.y);
192 UNSUPPORTED("e2cdlwdcpu3n7z9jwqa3s87mz"); // fputs (post, stderr);
193 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
194
195 throw new UnsupportedOperationException();
196 }
197
198
199
200
201 //3 5uuci5ymtq0q51j1getlj2uzd
202 // static int vcmpid(Dt_t* d, pointf* key1, pointf* key2, Dtdisc_t* disc)
203 public static Object vcmpid(Object... arg) {
204 UNSUPPORTED("eyp5xkiyummcoc88ul2b6tkeg"); // static int
205 UNSUPPORTED("3u88ycwd14efwsvwyy7780jbr"); // vcmpid(Dt_t* d, pointf* key1, pointf* key2, Dtdisc_t* disc)
206 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
207 UNSUPPORTED("bswiekdugo71hxqryprabuxdm"); // if (key1->x > key2->x) return 1;
208 UNSUPPORTED("3xqpzrzrofjfgy263mutuwbhr"); // else if (key1->x < key2->x) return -1;
209 UNSUPPORTED("285kfkajed5kbwzt1bg891c12"); // else if (key1->y > key2->y) return 1;
210 UNSUPPORTED("3inoestvznj3b5va767iadnzw"); // else if (key1->y < key2->y) return -1;
211 UNSUPPORTED("7lrkjjj5lce2uf86c1y9o9yoa"); // else return 0;
212 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
213
214 throw new UnsupportedOperationException();
215 }
216
217
218
219
220 //3 cl7ra88xdu22d00wqr6z5p1p3
221 // static int hcmpid(Dt_t* d, pointf* key1, pointf* key2, Dtdisc_t* disc)
222 public static Object hcmpid(Object... arg) {
223 UNSUPPORTED("eyp5xkiyummcoc88ul2b6tkeg"); // static int
224 UNSUPPORTED("3xjitmu9hfwuxfgr0qi1r04qg"); // hcmpid(Dt_t* d, pointf* key1, pointf* key2, Dtdisc_t* disc)
225 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
226 UNSUPPORTED("dlpx729kklw9nbmmywrkawtg1"); // if (key1->y > key2->y) return 1;
227 UNSUPPORTED("3inoestvznj3b5va767iadnzw"); // else if (key1->y < key2->y) return -1;
228 UNSUPPORTED("axczvcvlh063j4t14thbuiwmx"); // else if (key1->x > key2->x) return 1;
229 UNSUPPORTED("3xqpzrzrofjfgy263mutuwbhr"); // else if (key1->x < key2->x) return -1;
230 UNSUPPORTED("7lrkjjj5lce2uf86c1y9o9yoa"); // else return 0;
231 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
232
233 throw new UnsupportedOperationException();
234 }
235
236
237 //1 65ld602fx2uotf16tkazo4kf3
238 // static Dtdisc_t vdictDisc =
239
240
241 //1 bhb4uq3a9aat5tmrtebsgxsza
242 // static Dtdisc_t hdictDisc =
243
244
245
246
247 //3 p4176ft97w736bpghxhghz3d
248 // static void updateWt (cell* cp, sedge* ep, int sz)
249 public static Object updateWt(Object... arg) {
250 UNSUPPORTED("e2z2o5ybnr5tgpkt8ty7hwan1"); // static void
251 UNSUPPORTED("7q4w394vp6o5d2mqannru219n"); // updateWt (cell* cp, sedge* ep, int sz)
252 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
253 UNSUPPORTED("dfo4tnm2f8dlo52sahedzj5v9"); // ep->cnt++;
254 UNSUPPORTED("32vrx8u0i9lp4f9mfpmaun71f"); // if (ep->cnt > sz) {
255 UNSUPPORTED("e1mqs9lo2iip945vyvas2qe3z"); // ep->cnt = 0;
256 UNSUPPORTED("2a244flkhx1rjpipbgdokjx1k"); // ep->weight += 16384;
257 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
258 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
259
260 throw new UnsupportedOperationException();
261 }
262
263
264
265
266 //3 blhjst7f42nyvd6sy299gtm3d
267 // void updateWts (sgraph* g, cell* cp, sedge* ep)
268 public static Object updateWts(Object... arg) {
269 UNSUPPORTED("c01vxogao855zs8fe94tpim9g"); // void
270 UNSUPPORTED("bdbwgs1ph76plmvxczfpeo0fd"); // updateWts (sgraph* g, cell* cp, sedge* ep)
271 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
272 UNSUPPORTED("b17di9c7wgtqm51bvsyxz6e2f"); // int i;
273 UNSUPPORTED("5us6bymu4crkiqypwh57332hj"); // sedge* e;
274 UNSUPPORTED("dkoxg0eyedifjtrm4x8jlyjls"); // int isBend = ((g->nodes + ep->v1)->isVert != (g->nodes + ep->v2)->isVert);
275 UNSUPPORTED("d0b6n8bhbzbusomlpcp9nczv7"); // int hsz = (((cp->bb.UR.y - cp->bb.LL.y)-3)/2);
276 UNSUPPORTED("48m2yizmm8d4lfvszmls2szq1"); // int vsz = (((cp->bb.UR.x - cp->bb.LL.x)-3)/2);
277 UNSUPPORTED("5ecgup35njvagofmc9zaxes1c"); // int minsz = MIN(hsz, vsz);
278 UNSUPPORTED("dfamh7ue082plphhry3xdnm7o"); // /* Bend edges are added first */
279 UNSUPPORTED("g33yx85p8wg91aap4znjiva4"); // for (i = 0; i < cp->nedges; i++) {
280 UNSUPPORTED("3v1e6x1tokguyh1cyk9ny2j26"); // e = cp->edges[i];
281 UNSUPPORTED("boxo665ud04gpicwsnvf3dxep"); // if (!((g->nodes + e->v1)->isVert != (g->nodes + e->v2)->isVert)) break;
282 UNSUPPORTED("a89fyn41tp3jnm2osk1wr48ke"); // updateWt (cp, e, minsz);
283 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
284 UNSUPPORTED("dlcr5m1q7b4en52gyl8obhj15"); // for (; i < cp->nedges; i++) {
285 UNSUPPORTED("3v1e6x1tokguyh1cyk9ny2j26"); // e = cp->edges[i];
286 UNSUPPORTED("2l9n6hxqrnrvrs2lgg2kxpekp"); // if (isBend || (e == ep)) updateWt (cp, e, (((g->nodes + e->v1)->isVert)?hsz:vsz));
287 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
288 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
289
290 throw new UnsupportedOperationException();
291 }
292
293
294
295
296 //3 9kapnv38d6faiuxqp4bzksdz1
297 // static void markSmall (cell* cp, sgraph* g)
298 public static Object markSmall(Object... arg) {
299 UNSUPPORTED("e2z2o5ybnr5tgpkt8ty7hwan1"); // static void
300 UNSUPPORTED("3tdwg2zpiin5w6zoim60p04th"); // markSmall (cell* cp, sgraph* g)
301 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
302 UNSUPPORTED("b17di9c7wgtqm51bvsyxz6e2f"); // int i;
303 UNSUPPORTED("b2wz81fy8zanwrmoc1n7arr13"); // snode* onp;
304 UNSUPPORTED("50n2otdf7w8whs0szmjkxenig"); // cell* ocp;
305 UNSUPPORTED("c4eu95u0g7in27e9oxw15rph0"); // if (((((cp->bb.UR.y-cp->bb.LL.y)-3)/2) < 2)) {
306 UNSUPPORTED("8m46r4idk2cejwmyejh6jinky"); // for (i = 0; i < cp->nsides; i++) {
307 UNSUPPORTED("biwl8z6o1ijoz32js8fzwvocb"); // onp = cp->sides[i];
308 UNSUPPORTED("1aq3dyirdqeh65yempl0l0gnm"); // if (!onp->isVert) continue;
309 UNSUPPORTED("1dki697od540pxi3vq3sce42l"); // if (onp->cells[0] == cp) { /* onp on the right of cp */
310 UNSUPPORTED("64d5wc2sqfuiw23vs07o4l6s7"); // ocp = onp->cells[1];
311 UNSUPPORTED("eu4j3gbjan4f0ttcs7nf6djbr"); // ocp->flags |= 8;
312 UNSUPPORTED("9rf28jnwy28nfeeku68ed10xj"); // while ((onp = ocp->sides[M_RIGHT]) && !(onp->cells[1]->flags & 1)) {
313 UNSUPPORTED("1akhs24p47qfish65mtm0ukab"); // ocp = onp->cells[1];
314 UNSUPPORTED("4u6cjsu9q863vx1aqgb0yihbz"); // ocp->flags |= 8;
315 UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
316 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
317 UNSUPPORTED("2xswp7wv8mz6jgl7wgro8x4bh"); // else { /* onp on the left of cp */
318 UNSUPPORTED("788pevah9rf0z6mjd3asogvnj"); // ocp = onp->cells[0];
319 UNSUPPORTED("eu4j3gbjan4f0ttcs7nf6djbr"); // ocp->flags |= 8;
320 UNSUPPORTED("1y5bqnhg7i4c1fturqzrm83q4"); // while ((onp = ocp->sides[M_LEFT]) && !(onp->cells[0]->flags & 1)) {
321 UNSUPPORTED("du48mhkbj3xddektvxzoot6gk"); // ocp = onp->cells[0];
322 UNSUPPORTED("4u6cjsu9q863vx1aqgb0yihbz"); // ocp->flags |= 8;
323 UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
324 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
325 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
326 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
327 UNSUPPORTED("916l539e3joqg6fu1g6o6o6m1"); // if (((((cp->bb.UR.x-cp->bb.LL.x)-3)/2) < 2)) {
328 UNSUPPORTED("8m46r4idk2cejwmyejh6jinky"); // for (i = 0; i < cp->nsides; i++) {
329 UNSUPPORTED("biwl8z6o1ijoz32js8fzwvocb"); // onp = cp->sides[i];
330 UNSUPPORTED("eamm9cw0ocdt1wrb6xdeisy4c"); // if (onp->isVert) continue;
331 UNSUPPORTED("7w1e0iugb1y82w3gf5mvxqd6n"); // if (onp->cells[0] == cp) { /* onp on the top of cp */
332 UNSUPPORTED("64d5wc2sqfuiw23vs07o4l6s7"); // ocp = onp->cells[1];
333 UNSUPPORTED("auy2yjaypfi86526pdiw6nxyk"); // ocp->flags |= 16;
334 UNSUPPORTED("d88x50zssjd4zw4m00dzwnrig"); // while ((onp = ocp->sides[M_TOP]) && !(onp->cells[1]->flags & 1)) {
335 UNSUPPORTED("1akhs24p47qfish65mtm0ukab"); // ocp = onp->cells[1];
336 UNSUPPORTED("mf674e2ernvx88oxuj2jvr0z"); // ocp->flags |= 16;
337 UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
338 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
339 UNSUPPORTED("am0piqqao9stqcscpvwx2n1so"); // else { /* onp on the bottom of cp */
340 UNSUPPORTED("788pevah9rf0z6mjd3asogvnj"); // ocp = onp->cells[0];
341 UNSUPPORTED("auy2yjaypfi86526pdiw6nxyk"); // ocp->flags |= 16;
342 UNSUPPORTED("mi3y18vi9ndcg7qz68bvpahf"); // while ((onp = ocp->sides[M_BOTTOM]) && !(onp->cells[0]->flags & 1)) {
343 UNSUPPORTED("du48mhkbj3xddektvxzoot6gk"); // ocp = onp->cells[0];
344 UNSUPPORTED("mf674e2ernvx88oxuj2jvr0z"); // ocp->flags |= 16;
345 UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
346 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
347 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
348 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
349 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
350
351 throw new UnsupportedOperationException();
352 }
353
354
355
356
357 //3 3l3sbpuetdu8ntcpo8pz13k3e
358 // static void createSEdges (cell* cp, sgraph* g)
359 public static Object createSEdges(Object... arg) {
360 UNSUPPORTED("e2z2o5ybnr5tgpkt8ty7hwan1"); // static void
361 UNSUPPORTED("eiufnofet665j4i0xks3yggav"); // createSEdges (cell* cp, sgraph* g)
362 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
363 UNSUPPORTED("axfpgrsg8gskangc3qgtq71hz"); // boxf bb = cp->bb;
364 UNSUPPORTED("amp31z1m0vbq1q8zefv5rn3w5"); // double hwt = 1*(bb.UR.x-bb.LL.x);
365 UNSUPPORTED("117vv77kpq1u7vcvnavhc82o9"); // double vwt = 1*(bb.UR.y-bb.LL.y);
366 UNSUPPORTED("3yg7jb3f3z3wrxh6itkf0d5gf"); // double wt = (hwt + vwt)/2.0 + 500;
367 UNSUPPORTED("f3jme7t4b06y2xf3tgf76yger"); // /* We automatically make small channels have high cost to guide routes to
368 UNSUPPORTED("516jhn8ke0rkom44i48cqziuj"); // * more spacious channels.
369 UNSUPPORTED("795vpnc8yojryr8b46aidsu69"); // */
370 UNSUPPORTED("cvl5o3802l0vsczlmqn621y5g"); // if (((((bb.UR.y-bb.LL.y)-3)/2) < 2) && !(cp->flags & 8)) {
371 UNSUPPORTED("2ork5nyyvrggj5vavnox5dnik"); // hwt = 16384;
372 UNSUPPORTED("52900dmw3bmqbe886hkd7f0wt"); // wt = 16384;
373 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
374 UNSUPPORTED("3mb8guxy615hn4v2qy5ypehr3"); // if (((((bb.UR.x-bb.LL.x)-3)/2) < 2) && !(cp->flags & 16)) {
375 UNSUPPORTED("aik6n8xli7v6xvo8u3rvr7ii0"); // vwt = 16384;
376 UNSUPPORTED("52900dmw3bmqbe886hkd7f0wt"); // wt = 16384;
377 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
378 UNSUPPORTED("1r05jnpuv96fwsxl0u1qjjlps"); // if (cp->sides[M_LEFT] && cp->sides[M_TOP])
379 UNSUPPORTED("4kbjer1m4fqs6a3a264gga6n8"); // cp->edges[cp->nedges++] = createSEdge (g, cp->sides[M_LEFT], cp->sides[M_TOP], wt);
380 UNSUPPORTED("aedmthruftfexyf7cov7u4vvl"); // if (cp->sides[M_TOP] && cp->sides[M_RIGHT])
381 UNSUPPORTED("5hpsphuhuvv1brp42nrttvb31"); // cp->edges[cp->nedges++] = createSEdge (g, cp->sides[M_TOP], cp->sides[M_RIGHT], wt);
382 UNSUPPORTED("84yyv6mzbxtjgbfa28m4avh6r"); // if (cp->sides[M_LEFT] && cp->sides[M_BOTTOM])
383 UNSUPPORTED("tyvf713ih73547d7pf5snxf"); // cp->edges[cp->nedges++] = createSEdge (g, cp->sides[M_LEFT], cp->sides[M_BOTTOM], wt);
384 UNSUPPORTED("bnzsrfjru8dtlqidqs86hye5o"); // if (cp->sides[M_BOTTOM] && cp->sides[M_RIGHT])
385 UNSUPPORTED("69cj63j54kgemat46kq68yrsz"); // cp->edges[cp->nedges++] = createSEdge (g, cp->sides[M_BOTTOM], cp->sides[M_RIGHT], wt);
386 UNSUPPORTED("2sny7e4r4ms0rpg6bxgod0y6w"); // if (cp->sides[M_TOP] && cp->sides[M_BOTTOM])
387 UNSUPPORTED("eeawpv5dnk3bza402e1fao0sa"); // cp->edges[cp->nedges++] = createSEdge (g, cp->sides[M_TOP], cp->sides[M_BOTTOM], vwt);
388 UNSUPPORTED("2suc8k9vfuvh4m53sqo1etd6w"); // if (cp->sides[M_LEFT] && cp->sides[M_RIGHT])
389 UNSUPPORTED("9obc9lnx233uhbnedl4zx9ph0"); // cp->edges[cp->nedges++] = createSEdge (g, cp->sides[M_LEFT], cp->sides[M_RIGHT], hwt);
390 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
391
392 throw new UnsupportedOperationException();
393 }
394
395
396
397
398 //3 758etn7f0xldup69utj5juffr
399 // static snode* findSVert (sgraph* g, Dt_t* cdt, pointf p, snodeitem* ditems, boolean isVert)
400 public static Object findSVert(Object... arg) {
401 UNSUPPORTED("1mqfssg5cquehb5bdk2189gy2"); // static snode*
402 UNSUPPORTED("cga4obs9816altnwz6esmme8m"); // findSVert (sgraph* g, Dt_t* cdt, pointf p, snodeitem* ditems, boolean isVert)
403 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
404 UNSUPPORTED("10plv37z3rcnamkp6u1f3fbvy"); // snodeitem* n = (*(((Dt_t*)(cdt))->searchf))((cdt),(void*)(&p),0001000);
405 UNSUPPORTED("aaebo2bb05xyrm6bioykv7j55"); // if (!n) {
406 UNSUPPORTED("2mr1j8jv499c17v211yrq0zid"); // snode* np = createSNode (g);
407 UNSUPPORTED("49x5opmvb6qvpbdzvvwx81n7o"); // assert(ditems);
408 UNSUPPORTED("9imn5k9pmajz70owgy1yst564"); // n = ditems + np->index;
409 UNSUPPORTED("1whmelwelwpr8hmh739a4rx4e"); // n->p = p;
410 UNSUPPORTED("8weo3ve11u2juhqncx820pb23"); // n->np = np;
411 UNSUPPORTED("9js6alb3fxl3uww30tpdie1cc"); // np->isVert = isVert;
412 UNSUPPORTED("lfditfpqzerpfh82n4mjf4e9"); // (*(((Dt_t*)(cdt))->searchf))((cdt),(void*)(n),0000001);
413 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
414 UNSUPPORTED("8tkxsnqf69mnlas38600doi66"); // return n->np;
415 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
416
417 throw new UnsupportedOperationException();
418 }
419
420
421
422
423 //3 ju0zs4s4k058zbq8y43apnp2
424 // static void chkSgraph (sgraph* g)
425 public static Object chkSgraph(Object... arg) {
426 UNSUPPORTED("e2z2o5ybnr5tgpkt8ty7hwan1"); // static void
427 UNSUPPORTED("8ywrcod5zukths1uhqhrx6vxw"); // chkSgraph (sgraph* g)
428 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
429 UNSUPPORTED("327a0i7b6rqjqj8wdl0h29mnc"); // int i;
430 UNSUPPORTED("23fb0v6g2dlefe4px8tzi8zra"); // snode* np;
431 UNSUPPORTED("3l28r11fb44myi7htm1om4cnr"); // for (i = 0; i < g->nnodes; i++) {
432 UNSUPPORTED("8gpm8loz5nt1uxatp2fd3oe6s"); // np = g->nodes+i;
433 UNSUPPORTED("43gcbpnat2bgm3ejrf1vmy4u"); // if (!np->cells[0]) fprintf (stderr, "failed at node %d[0]\n", i);
434 UNSUPPORTED("4oasbub46ddvzyljkj816mvby"); // assert (np->cells[0]);
435 UNSUPPORTED("5cvdi2wx76ojk7uchdcrjcb6i"); // if (!np->cells[1]) fprintf (stderr, "failed at node %d[1]\n", i);
436 UNSUPPORTED("8qge8qp4tr5copb51yv5xxzr3"); // assert (np->cells[1]);
437 UNSUPPORTED("7ijd6pszsxnoopppf6xwo8wdl"); // }
438 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
439
440 throw new UnsupportedOperationException();
441 }
442
443
444
445
446 //3 85o629p94h5u46pgb4a0x1fto
447 // static sgraph* mkMazeGraph (maze* mp, boxf bb)
448 public static Object mkMazeGraph(Object... arg) {
449 UNSUPPORTED("4a0ckv6kz4gak54lxsr6w9ioy"); // static sgraph*
450 UNSUPPORTED("3409ksucyvqu8i3qex5l9ogv1"); // mkMazeGraph (maze* mp, boxf bb)
451 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
452 UNSUPPORTED("c0h9n3v7xo6m86qr2s9jd4nmz"); // int nsides, i, ncnt, maxdeg;
453 UNSUPPORTED("8nt6vrkyw6r9ib7riac3cwzd1"); // int bound = 4*mp->ncells;
454 UNSUPPORTED("8j75p52hdfny88ny2loms6p80"); // sgraph* g = createSGraph (bound + 2);
455 UNSUPPORTED("8p0cao2lz1e6ihnom1zrti2xq"); // Dt_t* vdict = dtopen(&vdictDisc,Dtoset);
456 UNSUPPORTED("bpe1gv2u25ttmjwienjfwsyzd"); // Dt_t* hdict = dtopen(&hdictDisc,Dtoset);
457 UNSUPPORTED("3lxbgi6k04dub0sshm1mawntn"); // snodeitem* ditems = (snodeitem*)zmalloc((bound)*sizeof(snodeitem));
458 UNSUPPORTED("83j9x6relm30wmuipbei491st"); // snode** sides;
459 UNSUPPORTED("9w8bspidla7axh1uz7uzys18h"); // /* For each cell, create if necessary and attach a node in search
460 UNSUPPORTED("e6kuh48kval5kcakfxzd1z69i"); // * corresponding to each internal face. The node also gets
461 UNSUPPORTED("cyfjarx488wrc88fgx2fnek70"); // * a pointer to the cell.
462 UNSUPPORTED("795vpnc8yojryr8b46aidsu69"); // */
463 UNSUPPORTED("8wxcwqqwmrfzljscdhy3971us"); // sides = (snode**)zmalloc((4*mp->ncells)*sizeof(snode*));
464 UNSUPPORTED("buvjn27k5tz2673nmlkf9ohz5"); // ncnt = 0;
465 UNSUPPORTED("cc6zk9wsty15bcay61nb68jos"); // for (i = 0; i < mp->ncells; i++) {
466 UNSUPPORTED("2noex6z427j2b0xavovcqkxja"); // cell* cp = mp->cells+i;
467 UNSUPPORTED("f3gck9cxfm9jzl1864uz2y79q"); // snode* np;
468 UNSUPPORTED("7nnzkzxddbza1ae9ba66yaath"); // pointf pt;
469 UNSUPPORTED("9l3tga3eg9n944lh5fs2rkb4h"); // cp->nsides = 4;
470 UNSUPPORTED("9dfgiofr0fzw0r6lz4qrt9zyw"); // cp->sides = sides + 4*i;
471 UNSUPPORTED("bfx5d25fi7joih74q1wr7rf4f"); // if (cp->bb.UR.x < bb.UR.x) {
472 UNSUPPORTED("5jm345o0dxsgpqu2h67gvkukd"); // pt.x = cp->bb.UR.x;
473 UNSUPPORTED("d899yxmcyrxgknu569q83j56y"); // pt.y = cp->bb.LL.y;
474 UNSUPPORTED("al78l565joceq8wykiomytl3v"); // np = findSVert (g, vdict, pt, ditems, NOT(0));
475 UNSUPPORTED("dyj0n8pksb6qap9nu5jmfpj9w"); // np->cells[0] = cp;
476 UNSUPPORTED("4129rynmdsxu71kxazy1hyycy"); // cp->sides[M_RIGHT] = np;
477 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
478 UNSUPPORTED("dequu7puz1aj8ss3oni3mx995"); // if (cp->bb.UR.y < bb.UR.y) {
479 UNSUPPORTED("dxvnot4cde33jxs0bsb7nz382"); // pt.x = cp->bb.LL.x;
480 UNSUPPORTED("3p9qsubmglgugaw1d40s99klt"); // pt.y = cp->bb.UR.y;
481 UNSUPPORTED("c3axnzt640u1xryxs43q8cuab"); // np = findSVert (g, hdict, pt, ditems, 0);
482 UNSUPPORTED("dyj0n8pksb6qap9nu5jmfpj9w"); // np->cells[0] = cp;
483 UNSUPPORTED("boewakbellfte64hummys1al4"); // cp->sides[M_TOP] = np;
484 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
485 UNSUPPORTED("40k7l6eiot79jgs4q9j5r2kjv"); // if (cp->bb.LL.x > bb.LL.x) {
486 UNSUPPORTED("8gfqay3lh5vyrik8rxo1yg2nl"); // np = findSVert (g, vdict, cp->bb.LL, ditems, NOT(0));
487 UNSUPPORTED("d2mluf5pmzh4dvlhfdwky76qv"); // np->cells[1] = cp;
488 UNSUPPORTED("do45kl0dk4amf3cqorzfqm0tf"); // cp->sides[M_LEFT] = np;
489 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
490 UNSUPPORTED("66y49caixd7f6uqyv2baolqae"); // if (cp->bb.LL.y > bb.LL.y) {
491 UNSUPPORTED("2cqyrkg1fyix8wowsnfdeuorq"); // np = findSVert (g, hdict, cp->bb.LL, ditems, 0);
492 UNSUPPORTED("d2mluf5pmzh4dvlhfdwky76qv"); // np->cells[1] = cp;
493 UNSUPPORTED("bhmdbk8okdxhymkp2zrb7u8xy"); // cp->sides[M_BOTTOM] = np;
494 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
495 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
496 UNSUPPORTED("ay0zemsj6o1e18wmjs05jsshs"); // /* For each gcell, corresponding to a node in the input graph,
497 UNSUPPORTED("e4frwuwjez68hkt6p71wpwlxp"); // * connect it to its corresponding search nodes.
498 UNSUPPORTED("795vpnc8yojryr8b46aidsu69"); // */
499 UNSUPPORTED("doc2vwrr7r2f4tx2zxpfpypw4"); // maxdeg = 0;
500 UNSUPPORTED("4rohfkczkjec9j8oi6c5x026a"); // sides = (snode**)zmalloc((g->nnodes)*sizeof(snode*));
501 UNSUPPORTED("3cxv3gaogbbrf3xu2gz1bxd2l"); // nsides = 0;
502 UNSUPPORTED("eabxb5i0ddkbddnag9j34xjbc"); // for (i = 0; i < mp->ngcells; i++) {
503 UNSUPPORTED("2xvmsgulyy6tipsy4akf2uzj"); // cell* cp = mp->gcells+i;
504 UNSUPPORTED("17m8hsxma8135wjiolo05duux"); // pointf pt;
505 UNSUPPORTED("4c1f2otw76p0krr6ugzi2malz"); // snodeitem* np;
506 UNSUPPORTED("179ywzb15i2sku8g8z7i1boz"); // cp->sides = sides+nsides;
507 UNSUPPORTED("6ct8i1irbix7j6hecssdk2o42"); // pt = cp->bb.LL;
508 UNSUPPORTED("4ns50pdyghalrjqr4o3qpevji"); // np = (*(((Dt_t*)(hdict))->searchf))((hdict),(void*)(&pt),0001000);
509 UNSUPPORTED("298kvmb0795bd6b9fx9zkdwuo"); // for (; np && np->p.x < cp->bb.UR.x; np = (*(((Dt_t*)(hdict))->searchf))((hdict),(void*)(np),0000010)) {
510 UNSUPPORTED("eq4x6lu28wtcm0m1ekd1r4pg5"); // cp->sides[cp->nsides++] = np->np;
511 UNSUPPORTED("iizzgq6n25zyzvx82krjhkem"); // np->np->cells[1] = cp;
512 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
513 UNSUPPORTED("evuyxziekv131tbe328a72tga"); // np = (*(((Dt_t*)(vdict))->searchf))((vdict),(void*)(&pt),0001000);
514 UNSUPPORTED("7pmcauszxeoqlecavr7kzrzcf"); // for (; np && np->p.y < cp->bb.UR.y; np = (*(((Dt_t*)(vdict))->searchf))((vdict),(void*)(np),0000010)) {
515 UNSUPPORTED("eq4x6lu28wtcm0m1ekd1r4pg5"); // cp->sides[cp->nsides++] = np->np;
516 UNSUPPORTED("iizzgq6n25zyzvx82krjhkem"); // np->np->cells[1] = cp;
517 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
518 UNSUPPORTED("5h3mvfcnt7jg2xqse67wo1obl"); // pt.y = cp->bb.UR.y;
519 UNSUPPORTED("4ns50pdyghalrjqr4o3qpevji"); // np = (*(((Dt_t*)(hdict))->searchf))((hdict),(void*)(&pt),0001000);
520 UNSUPPORTED("298kvmb0795bd6b9fx9zkdwuo"); // for (; np && np->p.x < cp->bb.UR.x; np = (*(((Dt_t*)(hdict))->searchf))((hdict),(void*)(np),0000010)) {
521 UNSUPPORTED("eq4x6lu28wtcm0m1ekd1r4pg5"); // cp->sides[cp->nsides++] = np->np;
522 UNSUPPORTED("accj0ibwtypfqux48mf08irfq"); // np->np->cells[0] = cp;
523 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
524 UNSUPPORTED("6e77uu605lqzyoy5chq2wtqfk"); // pt.x = cp->bb.UR.x;
525 UNSUPPORTED("4pblgwb16qkmxa4gmvm1k7jt8"); // pt.y = cp->bb.LL.y;
526 UNSUPPORTED("evuyxziekv131tbe328a72tga"); // np = (*(((Dt_t*)(vdict))->searchf))((vdict),(void*)(&pt),0001000);
527 UNSUPPORTED("7pmcauszxeoqlecavr7kzrzcf"); // for (; np && np->p.y < cp->bb.UR.y; np = (*(((Dt_t*)(vdict))->searchf))((vdict),(void*)(np),0000010)) {
528 UNSUPPORTED("eq4x6lu28wtcm0m1ekd1r4pg5"); // cp->sides[cp->nsides++] = np->np;
529 UNSUPPORTED("accj0ibwtypfqux48mf08irfq"); // np->np->cells[0] = cp;
530 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
531 UNSUPPORTED("20mszbn1fqt3r5famytys2b7k"); // nsides += cp->nsides;
532 UNSUPPORTED("6025gj96dwgvacuh99fqz7ojm"); // if (cp->nsides > maxdeg) maxdeg = cp->nsides;
533 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
534 UNSUPPORTED("z0dqo9s1gp2o5rf0c6034igz"); // /* sides = RALLOC (nsides, sides, snode*); */
535 UNSUPPORTED("2qr5jfiul6hnhj5d6z80qgpb1"); // /* Mark cells that are small because of a small node, not because of the close
536 UNSUPPORTED("2lob3t7thoheoyjm2lymh9i9f"); // * alignment of two rectangles.
537 UNSUPPORTED("795vpnc8yojryr8b46aidsu69"); // */
538 UNSUPPORTED("eabxb5i0ddkbddnag9j34xjbc"); // for (i = 0; i < mp->ngcells; i++) {
539 UNSUPPORTED("2xvmsgulyy6tipsy4akf2uzj"); // cell* cp = mp->gcells+i;
540 UNSUPPORTED("3d6qq4g3fw0mz4rcay5nx440a"); // markSmall (cp, g);
541 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
542 UNSUPPORTED("el9dwhqim3arfedly8lrp9vq2"); // /* Set index of two dummy nodes used for real nodes */
543 UNSUPPORTED("dyl9rr87m0sgliepkv3gf27cg"); // g->nodes[g->nnodes].index = g->nnodes;
544 UNSUPPORTED("3r7b7odsrw99ic8or2omu919p"); // g->nodes[g->nnodes+1].index = g->nnodes+1;
545 UNSUPPORTED("2w6qcucx2d9cglbvaflbxw4o6"); // /* create edges
546 UNSUPPORTED("1j0arl1zdd5kcgz4ma54mwxi"); // * For each ordinary cell, there can be at most 6 edges.
547 UNSUPPORTED("eqw7wagcnifpu2fjni6vek5f8"); // * At most 2 gcells will be used at a time, and each of these
548 UNSUPPORTED("xxno67cyczcsgky9n34pauce"); // * can have at most degree maxdeg.
549 UNSUPPORTED("795vpnc8yojryr8b46aidsu69"); // */
550 UNSUPPORTED("bsysrnk2t83p9hwmajmhxyhv0"); // initSEdges (g, maxdeg);
551 UNSUPPORTED("cc6zk9wsty15bcay61nb68jos"); // for (i = 0; i < mp->ncells; i++) {
552 UNSUPPORTED("2noex6z427j2b0xavovcqkxja"); // cell* cp = mp->cells+i;
553 UNSUPPORTED("7amfovltkaqx2bzlrepw8j5zm"); // createSEdges (cp, g);
554 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
555 UNSUPPORTED("bzohd8qeiebtj0um7pujifzvk"); // /* tidy up memory */
556 UNSUPPORTED("alfe6acszsh611blhpw2t224g"); // /* g->nodes = RALLOC (g->nnodes+2, g->nodes, snode); */
557 UNSUPPORTED("daoy3ejdfg7yqywgc1d6l42ls"); // /* g->edges = RALLOC (g->nedges+2*maxdeg, g->edges, sedge); */
558 UNSUPPORTED("6ay8mbpe7d44870v0xaw2poe1"); // dtclose (vdict);
559 UNSUPPORTED("3bw7qxrnqbqniuud4o0r4sfbs"); // dtclose (hdict);
560 UNSUPPORTED("dzdth58xx98ya8ggp2giwte05"); // free (ditems);
561 UNSUPPORTED("74gpu8xcot4zlnqtwmtwj1gxl"); // chkSgraph (g);
562 UNSUPPORTED("ba08yhdiocr2grhsh1n3a6k6z"); // /* save core graph state */
563 UNSUPPORTED("1ysafzgp6gjgoh4xzpiziysi4"); // gsave(g);
564 UNSUPPORTED("2syri7q5tc0jyvwq8ecyfo3vr"); // return g;
565 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
566
567 throw new UnsupportedOperationException();
568 }
569
570
571
572
573 //3 47ee79k49zgxrbvcwk6qo1a91
574 // maze* mkMaze (graph_t* g, int doLbls)
575 public static Object mkMaze(Object... arg) {
576 UNSUPPORTED("8ftsypi54d22742r6wjoy5v25"); // maze*
577 UNSUPPORTED("chjzymjdqshexf6h9lqtpflg6"); // mkMaze (graph_t* g, int doLbls)
578 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
579 UNSUPPORTED("7ma9kdgag30w5ofv1niitxbro"); // node_t* n;
580 UNSUPPORTED("aq8iuld39z3anhn3agas7wrpx"); // maze* mp = (maze*)zmalloc(sizeof(maze));
581 UNSUPPORTED("170trbmtoncj4hi7wpq7j1v1w"); // boxf* rects;
582 UNSUPPORTED("epxy4v5wrs6mm1nymdce9o2mo"); // int i, nrect;
583 UNSUPPORTED("dyevh82lgyyzdp6weja1ovxir"); // cell* cp;
584 UNSUPPORTED("aqeh4gm2tudxnfkw4nym58953"); // double w2, h2;
585 UNSUPPORTED("8ucfzgk767hqg7v3sq95gwtxz"); // boxf bb, BB;
586 UNSUPPORTED("bydgyuxeazagl60ymagro1h9t"); // mp->ngcells = agnnodes(g);
587 UNSUPPORTED("bvlzfj9xz0yyl1uqoyot7rtyg"); // cp = mp->gcells = (cell*)zmalloc((mp->ngcells)*sizeof(cell));
588 UNSUPPORTED("ffxll70yqx7zs7ajl2nbmdgi"); // BB.LL.x = BB.LL.y = MAXDOUBLE;
589 UNSUPPORTED("cz4gqh4qsnqvih07liqyudf1o"); // BB.UR.x = BB.UR.y = -MAXDOUBLE;
590 UNSUPPORTED("2ci0azpwlbk63rcshlsj1ve8u"); // for (n = agfstnode (g); n; n = agnxtnode(g,n)) {
591 UNSUPPORTED("9eyzmqvpe8fyomq6d83u60ad8"); // w2 = ND_xsize(n)/2.0;
592 UNSUPPORTED("a5huvn2de51imlq70uxu06ix1"); // if (w2 < 1) w2 = 1;
593 UNSUPPORTED("4165mxclove3sa7vcb5pab3lo"); // h2 = ND_ysize(n)/2.0;
594 UNSUPPORTED("5udqpftmbh4p3ikl8bcptzbyf"); // if (h2 < 1) h2 = 1;
595 UNSUPPORTED("9s6b5rf5dh58h3k6k8u0d9wpz"); // bb.LL.x = ND_coord(n).x - w2;
596 UNSUPPORTED("7makiveicd97c7ttfkw3az03m"); // bb.UR.x = ND_coord(n).x + w2;
597 UNSUPPORTED("4iy87lfal1aq0qmyvlj8e6rmy"); // bb.LL.y = ND_coord(n).y - h2;
598 UNSUPPORTED("3e4m3beafo37vj6bje1w9qhnx"); // bb.UR.y = ND_coord(n).y + h2;
599 UNSUPPORTED("ehjvhmi74i8b9imane6e9gs38"); // BB.LL.x = MIN(BB.LL.x, bb.LL.x);
600 UNSUPPORTED("22q0hpto8htuccf0e98b8noee"); // BB.LL.y = MIN(BB.LL.y, bb.LL.y);
601 UNSUPPORTED("ah47wdkrpv5cflac5mmhhjdn5"); // BB.UR.x = MAX(BB.UR.x, bb.UR.x);
602 UNSUPPORTED("5jcljn7v3ijnrk5mw7tznxrai"); // BB.UR.y = MAX(BB.UR.y, bb.UR.y);
603 UNSUPPORTED("cruvxryr09s05g4gxamylge5p"); // cp->bb = bb;
604 UNSUPPORTED("1t8h7vwcednduaar7crw1obrk"); // cp->flags |= 1;
605 UNSUPPORTED("61mx5zuc5l32rfja607gutu3k"); // ND_alg(n) = cp;
606 UNSUPPORTED("4s1pb2i2w7q7dsgd38jko4ff2"); // cp++;
607 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
608 UNSUPPORTED("71u00vuawtzqg4gz0lsai1m4a"); // if (doLbls) {
609 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
610 UNSUPPORTED("7sfcm5iivxihxyopxhnmyyv9w"); // BB.LL.x -= 36;;
611 UNSUPPORTED("5illqz3dav1thosefdf7zf012"); // BB.LL.y -= 36;;
612 UNSUPPORTED("5muslgfqvix4h5kxrntmnt2rh"); // BB.UR.x += 36;;
613 UNSUPPORTED("5gw6fudbmpkabywynsetntifs"); // BB.UR.y += 36;;
614 UNSUPPORTED("12xoan2rb09zbemcgjh189oso"); // rects = partition (mp->gcells, mp->ngcells, &nrect, BB);
615 UNSUPPORTED("8qqibd1rblf4kt3wblfja4pch"); // if (odb_flags & 1) psdump (mp->gcells, mp->ngcells, BB, rects, nrect);
616 UNSUPPORTED("f0ajael9mvkz908ohbsqp8u46"); // mp->cells = (cell*)zmalloc((nrect)*sizeof(cell));
617 UNSUPPORTED("dzo2h9k9ofrv8aifrwhvdxlk"); // mp->ncells = nrect;
618 UNSUPPORTED("cymbkb9p93tw0m4uu2kkj35a0"); // for (i = 0; i < nrect; i++) {
619 UNSUPPORTED("qb6erte9h6etocgwnpipxn18"); // mp->cells[i].bb = rects[i];
620 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
621 UNSUPPORTED("2uqylplzsbm0qd6yfhl4t4vqi"); // free (rects);
622 UNSUPPORTED("ewcr081zwl8ssdtp4n9ofylo0"); // mp->sg = mkMazeGraph (mp, BB);
623 UNSUPPORTED("965jxkqp2n8rpzvodac6mz9mg"); // return mp;
624 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
625
626 throw new UnsupportedOperationException();
627 }
628
629
630
631
632 //3 babqclyzdgzlc9rs6vagsa3a9
633 // void freeMaze (maze* mp)
634 public static Object freeMaze(Object... arg) {
635 UNSUPPORTED("ixanx2vs8hc7piq3w1asfrq5"); // void freeMaze (maze* mp)
636 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
637 UNSUPPORTED("65ltdjbqueg56kn1hn5igwiec"); // free (mp->cells[0].sides);
638 UNSUPPORTED("8dgjx2dy276w12zps4vkayrht"); // free (mp->gcells[0].sides);
639 UNSUPPORTED("4u4be1832al75o9ui7p8j20dy"); // free (mp->cells);
640 UNSUPPORTED("4xldapnzfl3mjsal1a38po778"); // free (mp->gcells);
641 UNSUPPORTED("19t5nwndr3zdn7ivgdejb45fh"); // freeSGraph (mp->sg);
642 UNSUPPORTED("8v1nc3xpgspux65bxybvk2gxd"); // dtclose (mp->hchans);
643 UNSUPPORTED("19jphht7cd5e7ovrg923dx1yo"); // dtclose (mp->vchans);
644 UNSUPPORTED("29o1zsbwttldwz75iylxxkrm"); // free (mp);
645 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
646
647 throw new UnsupportedOperationException();
648 }
649
650
651 }