| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
|
| 43 |
|
| 44 |
|
| 45 |
|
| 46 |
package gen.lib.cgraph; |
| 47 |
import static gen.lib.cdt.dtsize__c.dtsize_; |
| 48 |
import static gen.lib.cgraph.attr__c.AgDataRecName; |
| 49 |
import static gen.lib.cgraph.attr__c.agnodeattr_init; |
| 50 |
import static gen.lib.cgraph.edge__c.agsubrep; |
| 51 |
import static gen.lib.cgraph.graph__c.agnextseq; |
| 52 |
import static gen.lib.cgraph.id__c.agmapnametoid; |
| 53 |
import static gen.lib.cgraph.id__c.agregister; |
| 54 |
import static gen.lib.cgraph.mem__c.agalloc; |
| 55 |
import static gen.lib.cgraph.obj__c.agmethod_init; |
| 56 |
import static gen.lib.cgraph.obj__c.agroot; |
| 57 |
import static gen.lib.cgraph.rec__c.agbindrec; |
| 58 |
import static gen.lib.cgraph.subg__c.agparent; |
| 59 |
import static smetana.core.JUtils.EQ; |
| 60 |
import static smetana.core.JUtils.LOG2; |
| 61 |
import static smetana.core.JUtils.NEQ; |
| 62 |
import static smetana.core.JUtils.sizeof; |
| 63 |
import static smetana.core.JUtilsDebug.ENTERING; |
| 64 |
import static smetana.core.JUtilsDebug.LEAVING; |
| 65 |
import static smetana.core.Macro.AGID; |
| 66 |
import static smetana.core.Macro.AGNODE; |
| 67 |
import static smetana.core.Macro.AGSEQ; |
| 68 |
import static smetana.core.Macro.AGTYPE; |
| 69 |
import static smetana.core.Macro.N; |
| 70 |
import static smetana.core.Macro.UNSUPPORTED; |
| 71 |
import h.ST_Agattr_s; |
| 72 |
import h.ST_Agdesc_s; |
| 73 |
import h.ST_Agnode_s; |
| 74 |
import h.ST_Agraph_s; |
| 75 |
import h.ST_Agsubnode_s; |
| 76 |
import h.ST_Agtag_s; |
| 77 |
import h.ST_dt_s; |
| 78 |
import h.ST_dtdisc_s; |
| 79 |
import smetana.core.CString; |
| 80 |
import smetana.core.Z; |
| 81 |
import smetana.core.__ptr__; |
| 82 |
|
| 83 |
public class node__c { |
| 84 |
|
| 85 |
|
| 86 |
|
| 87 |
|
| 88 |
|
| 89 |
|
| 90 |
|
| 91 |
|
| 92 |
|
| 93 |
|
| 94 |
|
| 95 |
|
| 96 |
|
| 97 |
|
| 98 |
|
| 99 |
|
| 100 |
|
| 101 |
|
| 102 |
|
| 103 |
|
| 104 |
|
| 105 |
|
| 106 |
|
| 107 |
|
| 108 |
|
| 109 |
|
| 110 |
|
| 111 |
|
| 112 |
|
| 113 |
|
| 114 |
|
| 115 |
|
| 116 |
|
| 117 |
|
| 118 |
|
| 119 |
|
| 120 |
|
| 121 |
|
| 122 |
|
| 123 |
|
| 124 |
|
| 125 |
|
| 126 |
|
| 127 |
|
| 128 |
|
| 129 |
|
| 130 |
|
| 131 |
|
| 132 |
|
| 133 |
|
| 134 |
|
| 135 |
|
| 136 |
|
| 137 |
|
| 138 |
|
| 139 |
|
| 140 |
|
| 141 |
|
| 142 |
|
| 143 |
|
| 144 |
|
| 145 |
|
| 146 |
|
| 147 |
|
| 148 |
|
| 149 |
|
| 150 |
|
| 151 |
|
| 152 |
|
| 153 |
|
| 154 |
|
| 155 |
|
| 156 |
|
| 157 |
|
| 158 |
|
| 159 |
|
| 160 |
|
| 161 |
|
| 162 |
|
| 163 |
|
| 164 |
|
| 165 |
|
| 166 |
|
| 167 |
|
| 168 |
|
| 169 |
|
| 170 |
|
| 171 |
|
| 172 |
|
| 173 |
|
| 174 |
|
| 175 |
|
| 176 |
|
| 177 |
|
| 178 |
|
| 179 |
|
| 180 |
|
| 181 |
|
| 182 |
|
| 183 |
|
| 184 |
|
| 185 |
|
| 186 |
|
| 187 |
|
| 188 |
|
| 189 |
|
| 190 |
|
| 191 |
|
| 192 |
|
| 193 |
|
| 194 |
|
| 195 |
|
| 196 |
|
| 197 |
|
| 198 |
|
| 199 |
|
| 200 |
|
| 201 |
|
| 202 |
|
| 203 |
|
| 204 |
|
| 205 |
|
| 206 |
|
| 207 |
|
| 208 |
|
| 209 |
|
| 210 |
|
| 211 |
|
| 212 |
|
| 213 |
|
| 214 |
|
| 215 |
|
| 216 |
|
| 217 |
|
| 218 |
|
| 219 |
|
| 220 |
|
| 221 |
|
| 222 |
public static ST_Agnode_s agfindnode_by_id(ST_Agraph_s g, int id) { |
| 223 |
ENTERING("4w89du6uel405pm3vxsr3ayxt","agfindnode_by_id"); |
| 224 |
try { |
| 225 |
ST_Agsubnode_s sn; |
| 226 |
((ST_Agtag_s)Z.z().dummy.base.tag).id = id; |
| 227 |
Z.z().template.node = Z.z().dummy; |
| 228 |
sn = (ST_Agsubnode_s) (g.n_id.searchf.exe(g.n_id, Z.z().template,0000004)); |
| 229 |
return (ST_Agnode_s) (sn!=null ? sn.node : null); |
| 230 |
} finally { |
| 231 |
LEAVING("4w89du6uel405pm3vxsr3ayxt","agfindnode_by_id"); |
| 232 |
} |
| 233 |
} |
| 234 |
|
| 235 |
|
| 236 |
|
| 237 |
|
| 238 |
|
| 239 |
|
| 240 |
public static Object agfindnode_by_name(Object... arg) { |
| 241 |
UNSUPPORTED("jjckyz5rvj2kpvd0vw02o8yj"); |
| 242 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 243 |
UNSUPPORTED("5v0qr6wzw47z083l6jupv94gw"); |
| 244 |
UNSUPPORTED("7xzjyxv5eprg0vhj8q61h9d84"); |
| 245 |
UNSUPPORTED("5rhbsviec1b9h1qedfo3hrgt0"); |
| 246 |
UNSUPPORTED("div10atae09n36x269sl208r1"); |
| 247 |
UNSUPPORTED("afujljwagn2n2w7aqkq94dyud"); |
| 248 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 249 |
|
| 250 |
throw new UnsupportedOperationException(); |
| 251 |
} |
| 252 |
|
| 253 |
|
| 254 |
|
| 255 |
|
| 256 |
|
| 257 |
|
| 258 |
public static ST_Agnode_s agfstnode(ST_Agraph_s g) { |
| 259 |
ENTERING("55wopi2gd93zpmycxoywlxm0y","agfstnode"); |
| 260 |
try { |
| 261 |
ST_Agsubnode_s sn; |
| 262 |
sn = (ST_Agsubnode_s) g.n_seq.searchf.exe(g.n_seq,null,0000200); |
| 263 |
return sn!=null ? (ST_Agnode_s) sn.node : null; |
| 264 |
} finally { |
| 265 |
LEAVING("55wopi2gd93zpmycxoywlxm0y","agfstnode"); |
| 266 |
} |
| 267 |
} |
| 268 |
|
| 269 |
|
| 270 |
|
| 271 |
|
| 272 |
|
| 273 |
|
| 274 |
public static int NB = 0; |
| 275 |
public static ST_Agnode_s agnxtnode(ST_Agraph_s g, ST_Agnode_s n) { |
| 276 |
ENTERING("bek79ccvjys1j9q404i3y6oh8","agnxtnode"); |
| 277 |
try { |
| 278 |
|
| 279 |
if (NB==0) { |
| 280 |
|
| 281 |
} |
| 282 |
NB++; |
| 283 |
LOG2("NB="+NB); |
| 284 |
ST_Agsubnode_s sn; |
| 285 |
sn = agsubrep(g, n); |
| 286 |
LOG2("sn1="+sn); |
| 287 |
if (sn!=null) sn = (ST_Agsubnode_s) g.n_seq.searchf.exe(g.n_seq,sn,0000010); |
| 288 |
LOG2("sn2="+sn); |
| 289 |
final __ptr__ result = sn!=null ? sn.node : null; |
| 290 |
LOG2("result="+result); |
| 291 |
return (ST_Agnode_s) result; |
| 292 |
} finally { |
| 293 |
LEAVING("bek79ccvjys1j9q404i3y6oh8","agnxtnode"); |
| 294 |
} |
| 295 |
} |
| 296 |
|
| 297 |
|
| 298 |
|
| 299 |
|
| 300 |
|
| 301 |
|
| 302 |
public static Object aglstnode(Object... arg) { |
| 303 |
UNSUPPORTED("4lnse8d2e11zapjwbkulyywtz"); |
| 304 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 305 |
UNSUPPORTED("2llbfi4jrmre7cyhu90pgcm72"); |
| 306 |
UNSUPPORTED("37449tqynatc8j0u8sohjqujf"); |
| 307 |
UNSUPPORTED("b550764xq8bvu8hoqv0fe2noi"); |
| 308 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 309 |
|
| 310 |
throw new UnsupportedOperationException(); |
| 311 |
} |
| 312 |
|
| 313 |
|
| 314 |
|
| 315 |
|
| 316 |
|
| 317 |
|
| 318 |
public static Object agprvnode(Object... arg) { |
| 319 |
UNSUPPORTED("8ichcmu1fmaap5w9hqfiohi13"); |
| 320 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 321 |
UNSUPPORTED("2llbfi4jrmre7cyhu90pgcm72"); |
| 322 |
UNSUPPORTED("b0wzl2qtz6anq1dhlxtmvwvgn"); |
| 323 |
UNSUPPORTED("8efe1mjxltxjuin6v0msyzwfb"); |
| 324 |
UNSUPPORTED("b550764xq8bvu8hoqv0fe2noi"); |
| 325 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 326 |
|
| 327 |
throw new UnsupportedOperationException(); |
| 328 |
} |
| 329 |
|
| 330 |
|
| 331 |
|
| 332 |
|
| 333 |
|
| 334 |
|
| 335 |
public static ST_Agnode_s newnode(ST_Agraph_s g, int id, int seq) { |
| 336 |
ENTERING("dzb7m0p5xsngvtyr8zs912og4","newnode"); |
| 337 |
try { |
| 338 |
ST_Agnode_s n; |
| 339 |
n = (ST_Agnode_s) ((__ptr__)agalloc(g, sizeof(ST_Agnode_s.class))).castTo(ST_Agnode_s.class); |
| 340 |
AGTYPE(n, AGNODE); |
| 341 |
AGID(n, id); |
| 342 |
AGSEQ(n, seq); |
| 343 |
n.setPtr("root", agroot(g)); |
| 344 |
if (((ST_Agdesc_s)agroot(g).desc).has_attrs!=0) |
| 345 |
agbindrec(n, AgDataRecName, sizeof(ST_Agattr_s.class), false); |
| 346 |
|
| 347 |
|
| 348 |
|
| 349 |
return n; |
| 350 |
} finally { |
| 351 |
LEAVING("dzb7m0p5xsngvtyr8zs912og4","newnode"); |
| 352 |
} |
| 353 |
} |
| 354 |
|
| 355 |
|
| 356 |
|
| 357 |
|
| 358 |
|
| 359 |
|
| 360 |
public static void installnode(ST_Agraph_s g, ST_Agnode_s n) { |
| 361 |
ENTERING("4m26dpgaiw44hcleugjy71eus","installnode"); |
| 362 |
try { |
| 363 |
ST_Agsubnode_s sn; |
| 364 |
int osize; |
| 365 |
osize = dtsize_((ST_dt_s)g.n_id); |
| 366 |
if (EQ(g, agroot(g))) sn = (ST_Agsubnode_s) n.mainsub; |
| 367 |
else sn = (ST_Agsubnode_s) ((__ptr__)agalloc(g, sizeof(ST_Agsubnode_s.class))).castTo(ST_Agsubnode_s.class); |
| 368 |
sn.setPtr("node", n); |
| 369 |
g.n_id.searchf.exe(g.n_id,sn,0000001); |
| 370 |
g.n_seq.searchf.exe(g.n_seq,sn,0000001); |
| 371 |
} finally { |
| 372 |
LEAVING("4m26dpgaiw44hcleugjy71eus","installnode"); |
| 373 |
} |
| 374 |
} |
| 375 |
|
| 376 |
|
| 377 |
|
| 378 |
|
| 379 |
|
| 380 |
|
| 381 |
public static void installnodetoroot(ST_Agraph_s g, ST_Agnode_s n) { |
| 382 |
ENTERING("3mfxjcaeepn8nitirs3yoqaed","installnodetoroot"); |
| 383 |
try { |
| 384 |
ST_Agraph_s par; |
| 385 |
installnode(g, n); |
| 386 |
if ((par = agparent(g))!=null) |
| 387 |
installnodetoroot(par, n); |
| 388 |
} finally { |
| 389 |
LEAVING("3mfxjcaeepn8nitirs3yoqaed","installnodetoroot"); |
| 390 |
} |
| 391 |
} |
| 392 |
|
| 393 |
|
| 394 |
|
| 395 |
|
| 396 |
|
| 397 |
|
| 398 |
public static void initnode(ST_Agraph_s g, ST_Agnode_s n) { |
| 399 |
ENTERING("85bb9mezhsgtzar3kqz95mq1","initnode"); |
| 400 |
try { |
| 401 |
if (((ST_Agdesc_s)agroot(g).desc).has_attrs!=0) |
| 402 |
agnodeattr_init(g,n); |
| 403 |
agmethod_init(g, n); |
| 404 |
} finally { |
| 405 |
LEAVING("85bb9mezhsgtzar3kqz95mq1","initnode"); |
| 406 |
} |
| 407 |
} |
| 408 |
|
| 409 |
|
| 410 |
|
| 411 |
|
| 412 |
|
| 413 |
|
| 414 |
public static ST_Agnode_s agidnode(ST_Agraph_s g, int id, int cflag) { |
| 415 |
ENTERING("1m6sl9df2yaolmufyq5i577a3","agidnode"); |
| 416 |
try { |
| 417 |
ST_Agraph_s root; |
| 418 |
ST_Agnode_s n; |
| 419 |
n = agfindnode_by_id(g, id); |
| 420 |
if ((n == null) && cflag!=0) { |
| 421 |
UNSUPPORTED("7zol2448bccu90sqoxkvnbuif"); |
| 422 |
UNSUPPORTED("1zcb29h7sxm7axw8qeuz9f38w"); |
| 423 |
UNSUPPORTED("9fusma9293koujpr79eyfhxn6"); |
| 424 |
UNSUPPORTED("8k75h069sv2k9b6tgz77dscwd"); |
| 425 |
UNSUPPORTED("5pefvv55zys4ya7lgh0v8595s"); |
| 426 |
UNSUPPORTED("dfn6cx0kwd44mv0ntbzf3p463"); |
| 427 |
UNSUPPORTED("6qcjp92a88ggl3ea7mxel9cn"); |
| 428 |
UNSUPPORTED("45uf6o7ubd9hy5s65g0f0bbgj"); |
| 429 |
UNSUPPORTED("afk9bpom7x393euamnvwwkx6b"); |
| 430 |
UNSUPPORTED("5l8briolxhuic5avv0112aj90"); |
| 431 |
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); |
| 432 |
} |
| 433 |
|
| 434 |
return n; |
| 435 |
} finally { |
| 436 |
LEAVING("1m6sl9df2yaolmufyq5i577a3","agidnode"); |
| 437 |
} |
| 438 |
} |
| 439 |
|
| 440 |
|
| 441 |
|
| 442 |
|
| 443 |
|
| 444 |
|
| 445 |
public static ST_Agnode_s agnode(ST_Agraph_s g, CString name, boolean cflag) { |
| 446 |
ENTERING("4yh1h1cwoitzb1t8869b79e3g","agnode"); |
| 447 |
try { |
| 448 |
ST_Agraph_s root; |
| 449 |
ST_Agnode_s n; |
| 450 |
int id[] = new int[1]; |
| 451 |
root = agroot(g); |
| 452 |
|
| 453 |
if (agmapnametoid(g, AGNODE, name, id, false)!=0) { |
| 454 |
if ((n = agfindnode_by_id(g, id[0]))!=null) |
| 455 |
return n; |
| 456 |
|
| 457 |
if (cflag && NEQ(g, root) && ((n = agfindnode_by_id(root, id[0])))!=null) { |
| 458 |
return agsubnode(g, n, (N(0))); |
| 459 |
} |
| 460 |
} |
| 461 |
if (cflag && agmapnametoid(g, AGNODE, name, id, (N(0)))!=0) { |
| 462 |
n = newnode(g, id[0], agnextseq(g, AGNODE)); |
| 463 |
installnodetoroot(g, n); |
| 464 |
initnode(g, n); |
| 465 |
|
| 466 |
agregister(g, AGNODE, n); |
| 467 |
return n; |
| 468 |
} |
| 469 |
return null; |
| 470 |
} finally { |
| 471 |
LEAVING("4yh1h1cwoitzb1t8869b79e3g","agnode"); |
| 472 |
} |
| 473 |
} |
| 474 |
|
| 475 |
|
| 476 |
|
| 477 |
|
| 478 |
|
| 479 |
|
| 480 |
public static Object agdelnodeimage(Object... arg) { |
| 481 |
UNSUPPORTED("elm2o1y1nn2deregqtwfd0fm"); |
| 482 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 483 |
UNSUPPORTED("109gqpvjmuv5lwcih97x4uwqa"); |
| 484 |
UNSUPPORTED("2v9cpnwjfya0wz9qq2q8rqx02"); |
| 485 |
UNSUPPORTED("8cy87pxkco1cies0ck9zpn66"); |
| 486 |
UNSUPPORTED("4pgl4pn1cad2whf242bntmjre"); |
| 487 |
UNSUPPORTED("8dskgcobu9u3m4ejmwjq00r5m"); |
| 488 |
UNSUPPORTED("8tmx79zo3pcrz4238v132mjqg"); |
| 489 |
UNSUPPORTED("ezikicsrlgi4g2anmg80iyxy5"); |
| 490 |
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); |
| 491 |
UNSUPPORTED("5x2emh00yohuaush1f65cqnx3"); |
| 492 |
UNSUPPORTED("35l6nf11aakz6sn2g7wfh60xr"); |
| 493 |
UNSUPPORTED("5xkmfp82pyue09k1egerh5ezz"); |
| 494 |
UNSUPPORTED("a3umom4df7zkjo9g37dn0xnnl"); |
| 495 |
UNSUPPORTED("enu2k7akluqzw4eos6263usdr"); |
| 496 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 497 |
|
| 498 |
throw new UnsupportedOperationException(); |
| 499 |
} |
| 500 |
|
| 501 |
|
| 502 |
|
| 503 |
|
| 504 |
|
| 505 |
|
| 506 |
public static Object agdelnode(Object... arg) { |
| 507 |
UNSUPPORTED("5vrhjcls5tltlk3dn4ssxzusq"); |
| 508 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 509 |
UNSUPPORTED("109gqpvjmuv5lwcih97x4uwqa"); |
| 510 |
UNSUPPORTED("3ly27irmwairjdexym3up87uk"); |
| 511 |
UNSUPPORTED("a1gf07w8a7uwaryezfqx6en21"); |
| 512 |
UNSUPPORTED("ackx3cor82a94trjk4owh3083"); |
| 513 |
UNSUPPORTED("7n4rwpvryjg5anpy2d43bthxh"); |
| 514 |
UNSUPPORTED("98oagw83x0w96uuzccetdi9ws"); |
| 515 |
UNSUPPORTED("7m6mvhicrmgkuyrwkvblruld0"); |
| 516 |
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); |
| 517 |
UNSUPPORTED("5247bml3o0pwzg9fc9q1xhhnc"); |
| 518 |
UNSUPPORTED("d4mqrcccn3toqvhii6rjrrwwu"); |
| 519 |
UNSUPPORTED("7zcf3kp28b1wgy3i2on67h98u"); |
| 520 |
UNSUPPORTED("eqkdptzmrk2vxj9fe3y4eb24l"); |
| 521 |
UNSUPPORTED("d6jhz9spbq2ywt2efhyikkcdi"); |
| 522 |
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); |
| 523 |
UNSUPPORTED("86yxjnabv1fuv7zhtuhgex4gx"); |
| 524 |
UNSUPPORTED("6tlwlx478gb1clm2fykihi2zk"); |
| 525 |
UNSUPPORTED("d4sehv0200tcylmbpt9pqc7h1"); |
| 526 |
UNSUPPORTED("c9ckhc8veujmwcw0ar3u3zld4"); |
| 527 |
UNSUPPORTED("2lkbqgh2h6urnppaik3zo7ywi"); |
| 528 |
UNSUPPORTED("8d9xfgejx5vgd6shva5wk5k06"); |
| 529 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 530 |
|
| 531 |
throw new UnsupportedOperationException(); |
| 532 |
} |
| 533 |
|
| 534 |
|
| 535 |
|
| 536 |
|
| 537 |
|
| 538 |
|
| 539 |
public static Object dict_relabel(Object... arg) { |
| 540 |
UNSUPPORTED("44mem1e9kck28s208xgn5g04k"); |
| 541 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 542 |
UNSUPPORTED("1dbyk58q3r4fyfxxo7ovemkpu"); |
| 543 |
UNSUPPORTED("8hr8p3jy96bfcwujkauwdvd92"); |
| 544 |
UNSUPPORTED("38tgkes5dhr4oloxpg73baq10"); |
| 545 |
UNSUPPORTED("5jv37sfftjuyu9m95lz2avmjk"); |
| 546 |
UNSUPPORTED("90u0hwihh4q8uosu25ewbzhox"); |
| 547 |
UNSUPPORTED("9d38am0gg0kj6jhq5tri5ac34"); |
| 548 |
UNSUPPORTED("3qkq6d6yv4tvsurangttsbn0z"); |
| 549 |
UNSUPPORTED("dwcdffxfxvt11kvrq2e8l9dg9"); |
| 550 |
UNSUPPORTED("8sf7kiafqj2eexpzvr30nmsle"); |
| 551 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 552 |
|
| 553 |
throw new UnsupportedOperationException(); |
| 554 |
} |
| 555 |
|
| 556 |
|
| 557 |
|
| 558 |
|
| 559 |
|
| 560 |
|
| 561 |
public static Object agrelabel_node(Object... arg) { |
| 562 |
UNSUPPORTED("838qr3zz1vpfb75cfio36192j"); |
| 563 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 564 |
UNSUPPORTED("1dbyk58q3r4fyfxxo7ovemkpu"); |
| 565 |
UNSUPPORTED("8hr8p3jy96bfcwujkauwdvd92"); |
| 566 |
UNSUPPORTED("5c0nzsud433f31yaxkbl4z4gs"); |
| 567 |
UNSUPPORTED("1vy801jhp4mbvo2tujvg565wz"); |
| 568 |
UNSUPPORTED("8d9xfgejx5vgd6shva5wk5k06"); |
| 569 |
UNSUPPORTED("3swbd27n6ds70cn294m0ef8f5"); |
| 570 |
UNSUPPORTED("5xgainykf6klfsmk4014aw0e2"); |
| 571 |
UNSUPPORTED("5rjwy8imxqiwj9ia955vyoh9l"); |
| 572 |
UNSUPPORTED("asbts6liah2fjm74ps7do0e1m"); |
| 573 |
UNSUPPORTED("9trirys0q5ojk3sb1jgw8tmdf"); |
| 574 |
UNSUPPORTED("6f1138i13x0xz1bf1thxgjgka"); |
| 575 |
UNSUPPORTED("7yhr8hn3r6wohafwxrt85b2j2"); |
| 576 |
UNSUPPORTED("7w7v3j2z1voanzyg3oghk1o2t"); |
| 577 |
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); |
| 578 |
UNSUPPORTED("eaoz5g3p9152utcqjz5d2fgdf"); |
| 579 |
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); |
| 580 |
UNSUPPORTED("8azkpi8o0wzdufa90lw8hpt6q"); |
| 581 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 582 |
|
| 583 |
throw new UnsupportedOperationException(); |
| 584 |
} |
| 585 |
|
| 586 |
|
| 587 |
|
| 588 |
|
| 589 |
|
| 590 |
|
| 591 |
public static ST_Agnode_s agsubnode(ST_Agraph_s g, ST_Agnode_s n0, boolean cflag) { |
| 592 |
ENTERING("d5farp22buvesyi4pydjam4g2","agsubnode"); |
| 593 |
try { |
| 594 |
ST_Agraph_s par; |
| 595 |
ST_Agnode_s n; |
| 596 |
if (NEQ(agroot(g), n0.root)) |
| 597 |
return null; |
| 598 |
n = agfindnode_by_id(g, AGID(n0)); |
| 599 |
if ((n == null) && cflag) { |
| 600 |
if ((par = agparent(g))!=null) { |
| 601 |
n = agsubnode(par, n0, cflag); |
| 602 |
installnode(g, n); |
| 603 |
|
| 604 |
} |
| 605 |
|
| 606 |
} |
| 607 |
|
| 608 |
return n; |
| 609 |
} finally { |
| 610 |
LEAVING("d5farp22buvesyi4pydjam4g2","agsubnode"); |
| 611 |
} |
| 612 |
} |
| 613 |
|
| 614 |
|
| 615 |
|
| 616 |
|
| 617 |
|
| 618 |
|
| 619 |
public static int agsubnodeidcmpf(ST_dt_s d, __ptr__ arg0, __ptr__ arg1, ST_dtdisc_s disc) { |
| 620 |
ENTERING("awwiazixy9c76hvyxlkvvb3vo","agsubnodeidcmpf"); |
| 621 |
try { |
| 622 |
int v; |
| 623 |
ST_Agsubnode_s sn0, sn1; |
| 624 |
sn0 = (ST_Agsubnode_s) arg0.castTo(ST_Agsubnode_s.class); |
| 625 |
sn1 = (ST_Agsubnode_s) arg1.castTo(ST_Agsubnode_s.class); |
| 626 |
v = (AGID(sn0.node) - AGID(sn1.node)); |
| 627 |
return ((v==0)?0:(v<0?-1:1)); |
| 628 |
} finally { |
| 629 |
LEAVING("awwiazixy9c76hvyxlkvvb3vo","agsubnodeidcmpf"); |
| 630 |
} |
| 631 |
} |
| 632 |
|
| 633 |
|
| 634 |
|
| 635 |
|
| 636 |
|
| 637 |
|
| 638 |
public static int agsubnodeseqcmpf(ST_dt_s d, __ptr__ arg0, __ptr__ arg1, ST_dtdisc_s disc) { |
| 639 |
ENTERING("41fjseux0nxzpr0aq7igym9ux","agsubnodeseqcmpf"); |
| 640 |
try { |
| 641 |
ST_Agsubnode_s sn0, sn1; |
| 642 |
int v; |
| 643 |
sn0 = (ST_Agsubnode_s) arg0.castTo(ST_Agsubnode_s.class); |
| 644 |
sn1 = (ST_Agsubnode_s) arg1.castTo(ST_Agsubnode_s.class); |
| 645 |
v = (AGSEQ(sn0.node) - AGSEQ(sn1.node)); |
| 646 |
return ((v==0)?0:(v<0?-1:1)); |
| 647 |
} finally { |
| 648 |
LEAVING("41fjseux0nxzpr0aq7igym9ux","agsubnodeseqcmpf"); |
| 649 |
} |
| 650 |
} |
| 651 |
|
| 652 |
|
| 653 |
|
| 654 |
|
| 655 |
|
| 656 |
|
| 657 |
public static Object free_subnode(Object... arg) { |
| 658 |
UNSUPPORTED("e2z2o5ybnr5tgpkt8ty7hwan1"); |
| 659 |
UNSUPPORTED("9e4h6d4hxsvsnaiuubzlmccsm"); |
| 660 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 661 |
UNSUPPORTED("eiac02o593gy0a55vv1w8mkmi"); |
| 662 |
UNSUPPORTED("263bmzd9ilyyeb9w34squ7iw8"); |
| 663 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 664 |
|
| 665 |
throw new UnsupportedOperationException(); |
| 666 |
} |
| 667 |
|
| 668 |
|
| 669 |
|
| 670 |
|
| 671 |
|
| 672 |
|
| 673 |
|
| 674 |
|
| 675 |
|
| 676 |
|
| 677 |
|
| 678 |
|
| 679 |
|
| 680 |
|
| 681 |
|
| 682 |
|
| 683 |
|
| 684 |
|
| 685 |
|
| 686 |
|
| 687 |
|
| 688 |
|
| 689 |
|
| 690 |
|
| 691 |
|
| 692 |
|
| 693 |
|
| 694 |
|
| 695 |
|
| 696 |
|
| 697 |
|
| 698 |
|
| 699 |
} |