| 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.dotgen; |
| 47 |
import static gen.lib.cgraph.edge__c.aghead; |
| 48 |
import static gen.lib.cgraph.edge__c.agtail; |
| 49 |
import static gen.lib.cgraph.node__c.agfstnode; |
| 50 |
import static gen.lib.cgraph.node__c.agnxtnode; |
| 51 |
import static gen.lib.common.utils__c.UF_find; |
| 52 |
import static smetana.core.JUtils.EQ; |
| 53 |
import static smetana.core.JUtilsDebug.ENTERING; |
| 54 |
import static smetana.core.JUtilsDebug.LEAVING; |
| 55 |
import static smetana.core.Macro.GD_comp; |
| 56 |
import static smetana.core.Macro.GD_n_nodes; |
| 57 |
import static smetana.core.Macro.GD_nlist; |
| 58 |
import static smetana.core.Macro.GD_rankleader; |
| 59 |
import static smetana.core.Macro.ND_clust; |
| 60 |
import static smetana.core.Macro.ND_flat_in; |
| 61 |
import static smetana.core.Macro.ND_flat_out; |
| 62 |
import static smetana.core.Macro.ND_in; |
| 63 |
import static smetana.core.Macro.ND_mark; |
| 64 |
import static smetana.core.Macro.ND_next; |
| 65 |
import static smetana.core.Macro.ND_out; |
| 66 |
import static smetana.core.Macro.ND_prev; |
| 67 |
import static smetana.core.Macro.ND_rank; |
| 68 |
import static smetana.core.Macro.UNSUPPORTED; |
| 69 |
import h.ST_Agedge_s; |
| 70 |
import h.ST_Agnode_s; |
| 71 |
import h.ST_Agraph_s; |
| 72 |
import h.ST_elist; |
| 73 |
import h.ST_pointf; |
| 74 |
import smetana.core.Z; |
| 75 |
|
| 76 |
public class decomp__c { |
| 77 |
|
| 78 |
|
| 79 |
|
| 80 |
|
| 81 |
|
| 82 |
|
| 83 |
|
| 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 |
|
| 223 |
|
| 224 |
|
| 225 |
|
| 226 |
|
| 227 |
|
| 228 |
|
| 229 |
|
| 230 |
|
| 231 |
|
| 232 |
|
| 233 |
|
| 234 |
|
| 235 |
|
| 236 |
|
| 237 |
|
| 238 |
|
| 239 |
|
| 240 |
|
| 241 |
|
| 242 |
|
| 243 |
|
| 244 |
|
| 245 |
|
| 246 |
|
| 247 |
|
| 248 |
|
| 249 |
|
| 250 |
|
| 251 |
|
| 252 |
|
| 253 |
|
| 254 |
|
| 255 |
|
| 256 |
|
| 257 |
|
| 258 |
|
| 259 |
|
| 260 |
|
| 261 |
|
| 262 |
|
| 263 |
|
| 264 |
|
| 265 |
|
| 266 |
|
| 267 |
|
| 268 |
|
| 269 |
|
| 270 |
|
| 271 |
|
| 272 |
|
| 273 |
|
| 274 |
|
| 275 |
|
| 276 |
|
| 277 |
|
| 278 |
|
| 279 |
|
| 280 |
|
| 281 |
|
| 282 |
|
| 283 |
|
| 284 |
|
| 285 |
|
| 286 |
|
| 287 |
|
| 288 |
|
| 289 |
|
| 290 |
|
| 291 |
|
| 292 |
|
| 293 |
|
| 294 |
|
| 295 |
|
| 296 |
|
| 297 |
|
| 298 |
|
| 299 |
|
| 300 |
|
| 301 |
|
| 302 |
|
| 303 |
|
| 304 |
|
| 305 |
|
| 306 |
|
| 307 |
|
| 308 |
|
| 309 |
|
| 310 |
|
| 311 |
|
| 312 |
|
| 313 |
|
| 314 |
|
| 315 |
|
| 316 |
|
| 317 |
public static Object pointof(Object... arg) { |
| 318 |
UNSUPPORTED("8e4tj258yvfq5uhsdpk37n5eq"); |
| 319 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 320 |
UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); |
| 321 |
UNSUPPORTED("12jimkrzqxavaie0cpapbx18c"); |
| 322 |
UNSUPPORTED("7ivmviysahgsc5nn9gtp7q2if"); |
| 323 |
UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); |
| 324 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 325 |
|
| 326 |
throw new UnsupportedOperationException(); |
| 327 |
} |
| 328 |
|
| 329 |
|
| 330 |
|
| 331 |
|
| 332 |
|
| 333 |
|
| 334 |
public static ST_pointf pointfof(double x, double y) { |
| 335 |
|
| 336 |
return pointfof_w_(x, y).copy(); |
| 337 |
} |
| 338 |
private static ST_pointf pointfof_w_(double x, double y) { |
| 339 |
ENTERING("c1s4k85p1cdfn176o3uryeros","pointfof"); |
| 340 |
try { |
| 341 |
final ST_pointf r = new ST_pointf(); |
| 342 |
r.setDouble("x", x); |
| 343 |
r.setDouble("y", y); |
| 344 |
return r; |
| 345 |
} finally { |
| 346 |
LEAVING("c1s4k85p1cdfn176o3uryeros","pointfof"); |
| 347 |
} |
| 348 |
} |
| 349 |
|
| 350 |
|
| 351 |
|
| 352 |
|
| 353 |
|
| 354 |
|
| 355 |
public static Object boxof(Object... arg) { |
| 356 |
UNSUPPORTED("3lzesfdd337h31jrlib1czocm"); |
| 357 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 358 |
UNSUPPORTED("52u27kayecy1i1e8bbo8f7s9r"); |
| 359 |
UNSUPPORTED("cylhjlutoc0sc0uy7g98m9fb8"); |
| 360 |
UNSUPPORTED("242of6revxzx8hpe7yerrchz6"); |
| 361 |
UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); |
| 362 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 363 |
|
| 364 |
throw new UnsupportedOperationException(); |
| 365 |
} |
| 366 |
|
| 367 |
|
| 368 |
|
| 369 |
|
| 370 |
|
| 371 |
|
| 372 |
|
| 373 |
|
| 374 |
|
| 375 |
|
| 376 |
public static Object add_point(Object... arg) { |
| 377 |
UNSUPPORTED("6iamka1fx8fk1rohzzse8phte"); |
| 378 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 379 |
UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); |
| 380 |
UNSUPPORTED("3n2sizjd0civbzm6iq7su1s2p"); |
| 381 |
UNSUPPORTED("65ygdo31w09i5i6bd2f7azcd3"); |
| 382 |
UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); |
| 383 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 384 |
|
| 385 |
throw new UnsupportedOperationException(); |
| 386 |
} |
| 387 |
|
| 388 |
|
| 389 |
|
| 390 |
|
| 391 |
|
| 392 |
|
| 393 |
public static ST_pointf add_pointf(final ST_pointf p, final ST_pointf q) { |
| 394 |
|
| 395 |
return add_pointf_w_(p.copy(), q.copy()).copy(); |
| 396 |
} |
| 397 |
private static ST_pointf add_pointf_w_(final ST_pointf p, final ST_pointf q) { |
| 398 |
ENTERING("arrsbik9b5tnfcbzsm8gr2chx","add_pointf"); |
| 399 |
try { |
| 400 |
final ST_pointf r = new ST_pointf(); |
| 401 |
r.setDouble("x", p.x + q.x); |
| 402 |
r.setDouble("y", p.y + q.y); |
| 403 |
return r; |
| 404 |
} finally { |
| 405 |
LEAVING("arrsbik9b5tnfcbzsm8gr2chx","add_pointf"); |
| 406 |
} |
| 407 |
} |
| 408 |
|
| 409 |
|
| 410 |
|
| 411 |
|
| 412 |
|
| 413 |
|
| 414 |
public static Object sub_point(Object... arg) { |
| 415 |
UNSUPPORTED("cd602849h0bce8lu9xegka0ia"); |
| 416 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 417 |
UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); |
| 418 |
UNSUPPORTED("4q4q9dveah93si8ajfv59gz27"); |
| 419 |
UNSUPPORTED("9f90ik0o2yqhanzntpy3d2ydy"); |
| 420 |
UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); |
| 421 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 422 |
|
| 423 |
throw new UnsupportedOperationException(); |
| 424 |
} |
| 425 |
|
| 426 |
|
| 427 |
|
| 428 |
|
| 429 |
|
| 430 |
|
| 431 |
public static Object sub_pointf(Object... arg) { |
| 432 |
UNSUPPORTED("dmufj44lddsnj0wjyxsg2fcso"); |
| 433 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 434 |
UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); |
| 435 |
UNSUPPORTED("4q4q9dveah93si8ajfv59gz27"); |
| 436 |
UNSUPPORTED("9f90ik0o2yqhanzntpy3d2ydy"); |
| 437 |
UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); |
| 438 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 439 |
|
| 440 |
throw new UnsupportedOperationException(); |
| 441 |
} |
| 442 |
|
| 443 |
|
| 444 |
|
| 445 |
|
| 446 |
|
| 447 |
|
| 448 |
public static Object mid_point(Object... arg) { |
| 449 |
UNSUPPORTED("evy44tdsmu3erff9dp2x835u2"); |
| 450 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 451 |
UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); |
| 452 |
UNSUPPORTED("1a6p6fm57o0wt5ze2btsx06c7"); |
| 453 |
UNSUPPORTED("1kbj5tgdmfi6kf4jgg6skhr6e"); |
| 454 |
UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); |
| 455 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 456 |
|
| 457 |
throw new UnsupportedOperationException(); |
| 458 |
} |
| 459 |
|
| 460 |
|
| 461 |
|
| 462 |
|
| 463 |
|
| 464 |
|
| 465 |
public static Object mid_pointf(Object... arg) { |
| 466 |
UNSUPPORTED("381o63o9kb04d7gzg65v0r3q"); |
| 467 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 468 |
UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); |
| 469 |
UNSUPPORTED("c5vboetlr3mf43wns7iik6m1w"); |
| 470 |
UNSUPPORTED("bcdf562ldr3bjn78hcay5xd63"); |
| 471 |
UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); |
| 472 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 473 |
|
| 474 |
throw new UnsupportedOperationException(); |
| 475 |
} |
| 476 |
|
| 477 |
|
| 478 |
|
| 479 |
|
| 480 |
|
| 481 |
|
| 482 |
public static Object interpolate_pointf(Object... arg) { |
| 483 |
UNSUPPORTED("894yimn33kmtm454llwdaotu8"); |
| 484 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 485 |
UNSUPPORTED("ef2acl8wa2ooqcb5vz3098maz"); |
| 486 |
UNSUPPORTED("5tpwuyf5iidesy80v8o4nwkmk"); |
| 487 |
UNSUPPORTED("ewnrc5uloj3w5jbmsjcn3wja0"); |
| 488 |
UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); |
| 489 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 490 |
|
| 491 |
throw new UnsupportedOperationException(); |
| 492 |
} |
| 493 |
|
| 494 |
|
| 495 |
|
| 496 |
|
| 497 |
|
| 498 |
|
| 499 |
public static Object exch_xy(Object... arg) { |
| 500 |
UNSUPPORTED("2vxya0v2fzlv5e0vjaa8d414"); |
| 501 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 502 |
UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); |
| 503 |
UNSUPPORTED("60cojdwc2h7f0m51s9jdwvup7"); |
| 504 |
UNSUPPORTED("evp2x66oa4s1tlnc0ytxq2qbq"); |
| 505 |
UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); |
| 506 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 507 |
|
| 508 |
throw new UnsupportedOperationException(); |
| 509 |
} |
| 510 |
|
| 511 |
|
| 512 |
|
| 513 |
|
| 514 |
|
| 515 |
|
| 516 |
public static Object exch_xyf(Object... arg) { |
| 517 |
UNSUPPORTED("8qamrobrqi8jsvvfrxkimrsnw"); |
| 518 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 519 |
UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); |
| 520 |
UNSUPPORTED("60cojdwc2h7f0m51s9jdwvup7"); |
| 521 |
UNSUPPORTED("evp2x66oa4s1tlnc0ytxq2qbq"); |
| 522 |
UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); |
| 523 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 524 |
|
| 525 |
throw new UnsupportedOperationException(); |
| 526 |
} |
| 527 |
|
| 528 |
|
| 529 |
|
| 530 |
|
| 531 |
|
| 532 |
|
| 533 |
public static Object box_bb(Object... arg) { |
| 534 |
UNSUPPORTED("36et5gmnjrby6o7bq9sgh1hx6"); |
| 535 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 536 |
UNSUPPORTED("52u27kayecy1i1e8bbo8f7s9r"); |
| 537 |
UNSUPPORTED("8mr2c9xitsqi8z1plbp7ox1hu"); |
| 538 |
UNSUPPORTED("2egu55ef4u1i03nwz01k7kcrl"); |
| 539 |
UNSUPPORTED("9n6ei3odbgefwfxvql9whcpe"); |
| 540 |
UNSUPPORTED("19ocysbuh4pxyft2bqhyhigr1"); |
| 541 |
UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); |
| 542 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 543 |
|
| 544 |
throw new UnsupportedOperationException(); |
| 545 |
} |
| 546 |
|
| 547 |
|
| 548 |
|
| 549 |
|
| 550 |
|
| 551 |
|
| 552 |
public static Object boxf_bb(Object... arg) { |
| 553 |
UNSUPPORTED("dyrqu4ww9osr9c86gqgmifcp6"); |
| 554 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 555 |
UNSUPPORTED("c57pq0f87j6dnbcvygu7v6k84"); |
| 556 |
UNSUPPORTED("8mr2c9xitsqi8z1plbp7ox1hu"); |
| 557 |
UNSUPPORTED("2egu55ef4u1i03nwz01k7kcrl"); |
| 558 |
UNSUPPORTED("9n6ei3odbgefwfxvql9whcpe"); |
| 559 |
UNSUPPORTED("19ocysbuh4pxyft2bqhyhigr1"); |
| 560 |
UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); |
| 561 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 562 |
|
| 563 |
throw new UnsupportedOperationException(); |
| 564 |
} |
| 565 |
|
| 566 |
|
| 567 |
|
| 568 |
|
| 569 |
|
| 570 |
|
| 571 |
public static Object box_intersect(Object... arg) { |
| 572 |
UNSUPPORTED("34gv28cldst09bl71itjgviue"); |
| 573 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 574 |
UNSUPPORTED("52u27kayecy1i1e8bbo8f7s9r"); |
| 575 |
UNSUPPORTED("9slu7bixuymxttjic76ha2nl2"); |
| 576 |
UNSUPPORTED("3uv943c2f82yuif249pf5azob"); |
| 577 |
UNSUPPORTED("74tf5h16bc9zabq3s3dyny543"); |
| 578 |
UNSUPPORTED("d99gcv3i7xes7y7rqf8ii20ux"); |
| 579 |
UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); |
| 580 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 581 |
|
| 582 |
throw new UnsupportedOperationException(); |
| 583 |
} |
| 584 |
|
| 585 |
|
| 586 |
|
| 587 |
|
| 588 |
|
| 589 |
|
| 590 |
public static Object boxf_intersect(Object... arg) { |
| 591 |
UNSUPPORTED("ape22b8z6jfg17gvo42hok9eb"); |
| 592 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 593 |
UNSUPPORTED("c57pq0f87j6dnbcvygu7v6k84"); |
| 594 |
UNSUPPORTED("9slu7bixuymxttjic76ha2nl2"); |
| 595 |
UNSUPPORTED("3uv943c2f82yuif249pf5azob"); |
| 596 |
UNSUPPORTED("74tf5h16bc9zabq3s3dyny543"); |
| 597 |
UNSUPPORTED("d99gcv3i7xes7y7rqf8ii20ux"); |
| 598 |
UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); |
| 599 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 600 |
|
| 601 |
throw new UnsupportedOperationException(); |
| 602 |
} |
| 603 |
|
| 604 |
|
| 605 |
|
| 606 |
|
| 607 |
|
| 608 |
|
| 609 |
public static Object box_overlap(Object... arg) { |
| 610 |
UNSUPPORTED("1e9k599x7ygct7r4cfdxlk9u9"); |
| 611 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 612 |
UNSUPPORTED("7a9wwpu7dhdphd08y1ecw54w5"); |
| 613 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 614 |
|
| 615 |
throw new UnsupportedOperationException(); |
| 616 |
} |
| 617 |
|
| 618 |
|
| 619 |
|
| 620 |
|
| 621 |
|
| 622 |
|
| 623 |
public static Object boxf_overlap(Object... arg) { |
| 624 |
UNSUPPORTED("905nejsewihwhhc3bhnrz9nwo"); |
| 625 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 626 |
UNSUPPORTED("7a9wwpu7dhdphd08y1ecw54w5"); |
| 627 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 628 |
|
| 629 |
throw new UnsupportedOperationException(); |
| 630 |
} |
| 631 |
|
| 632 |
|
| 633 |
|
| 634 |
|
| 635 |
|
| 636 |
|
| 637 |
public static Object box_contains(Object... arg) { |
| 638 |
UNSUPPORTED("aputfc30fjkvy6jx4otljaczq"); |
| 639 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 640 |
UNSUPPORTED("87ap80vrh2a4gpprbxr33lrg3"); |
| 641 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 642 |
|
| 643 |
throw new UnsupportedOperationException(); |
| 644 |
} |
| 645 |
|
| 646 |
|
| 647 |
|
| 648 |
|
| 649 |
|
| 650 |
|
| 651 |
public static Object boxf_contains(Object... arg) { |
| 652 |
UNSUPPORTED("7ccnttkiwt834yfyw0evcm18v"); |
| 653 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 654 |
UNSUPPORTED("87ap80vrh2a4gpprbxr33lrg3"); |
| 655 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 656 |
|
| 657 |
throw new UnsupportedOperationException(); |
| 658 |
} |
| 659 |
|
| 660 |
|
| 661 |
|
| 662 |
|
| 663 |
|
| 664 |
|
| 665 |
public static Object perp(Object... arg) { |
| 666 |
UNSUPPORTED("567wpqlg9rv63ynyvxd9sgkww"); |
| 667 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 668 |
UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); |
| 669 |
UNSUPPORTED("2fyydy6t6yifjsczccsb9szeg"); |
| 670 |
UNSUPPORTED("evp2x66oa4s1tlnc0ytxq2qbq"); |
| 671 |
UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); |
| 672 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 673 |
|
| 674 |
throw new UnsupportedOperationException(); |
| 675 |
} |
| 676 |
|
| 677 |
|
| 678 |
|
| 679 |
|
| 680 |
|
| 681 |
|
| 682 |
public static Object scale(Object... arg) { |
| 683 |
UNSUPPORTED("c1ngytew34bmkdb7vps5h3dh8"); |
| 684 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 685 |
UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); |
| 686 |
UNSUPPORTED("dznf7nac14snww4usquyd6r3r"); |
| 687 |
UNSUPPORTED("33kk73m8vjcux5tnjl8co2pe6"); |
| 688 |
UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); |
| 689 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 690 |
|
| 691 |
throw new UnsupportedOperationException(); |
| 692 |
} |
| 693 |
|
| 694 |
|
| 695 |
|
| 696 |
|
| 697 |
|
| 698 |
|
| 699 |
|
| 700 |
|
| 701 |
|
| 702 |
|
| 703 |
|
| 704 |
|
| 705 |
|
| 706 |
|
| 707 |
|
| 708 |
public static void begin_component() { |
| 709 |
ENTERING("7ggrwt0f912kp1marrxdjq155","begin_component"); |
| 710 |
try { |
| 711 |
Z.z().Last_node_decomp = null; |
| 712 |
GD_nlist(Z.z().G_decomp, null); |
| 713 |
} finally { |
| 714 |
LEAVING("7ggrwt0f912kp1marrxdjq155","begin_component"); |
| 715 |
} |
| 716 |
} |
| 717 |
|
| 718 |
|
| 719 |
|
| 720 |
|
| 721 |
|
| 722 |
|
| 723 |
public static void add_to_component(ST_Agnode_s n) { |
| 724 |
ENTERING("7icc6b2pvnj6te1yndbel47gg","add_to_component"); |
| 725 |
try { |
| 726 |
GD_n_nodes(Z.z().G_decomp, 1+GD_n_nodes(Z.z().G_decomp)); |
| 727 |
ND_mark(n, Z.z().Cmark); |
| 728 |
if (Z.z().Last_node_decomp!=null) { |
| 729 |
ND_prev(n, Z.z().Last_node_decomp); |
| 730 |
ND_next(Z.z().Last_node_decomp, n); |
| 731 |
} else { |
| 732 |
ND_prev(n, null); |
| 733 |
GD_nlist(Z.z().G_decomp, n); |
| 734 |
} |
| 735 |
Z.z().Last_node_decomp = n; |
| 736 |
ND_next(n, null); |
| 737 |
} finally { |
| 738 |
LEAVING("7icc6b2pvnj6te1yndbel47gg","add_to_component"); |
| 739 |
} |
| 740 |
} |
| 741 |
|
| 742 |
|
| 743 |
|
| 744 |
|
| 745 |
|
| 746 |
|
| 747 |
public static void end_component() { |
| 748 |
ENTERING("5o8hxpr6ppi15pinuy79m7u04","end_component"); |
| 749 |
try { |
| 750 |
int i; |
| 751 |
i = GD_comp(Z.z().G_decomp).size; |
| 752 |
GD_comp(Z.z().G_decomp).size = 1+GD_comp(Z.z().G_decomp).size; |
| 753 |
GD_comp(Z.z().G_decomp).reallocEmpty(GD_comp(Z.z().G_decomp).size); |
| 754 |
GD_comp(Z.z().G_decomp).setInList(i ,GD_nlist(Z.z().G_decomp)); |
| 755 |
} finally { |
| 756 |
LEAVING("5o8hxpr6ppi15pinuy79m7u04","end_component"); |
| 757 |
} |
| 758 |
} |
| 759 |
|
| 760 |
|
| 761 |
|
| 762 |
|
| 763 |
|
| 764 |
|
| 765 |
public static void search_component(ST_Agraph_s g, ST_Agnode_s n) { |
| 766 |
ENTERING("c5u5lnfbu0pmlk6vsvyrdj8ep","search_component"); |
| 767 |
try { |
| 768 |
int c, i; |
| 769 |
final ST_elist vec[] = new ST_elist[] {new ST_elist(),new ST_elist(),new ST_elist(),new ST_elist()}; |
| 770 |
ST_Agnode_s other; |
| 771 |
ST_Agedge_s e; |
| 772 |
add_to_component(n); |
| 773 |
vec[0].setStruct(ND_out(n)); |
| 774 |
vec[1].setStruct(ND_in(n)); |
| 775 |
vec[2].setStruct(ND_flat_out(n)); |
| 776 |
vec[3].setStruct(ND_flat_in(n)); |
| 777 |
for (c = 0; c <= 3; c++) { |
| 778 |
if (vec[c].listNotNull()) |
| 779 |
for (i = 0; (e = (ST_Agedge_s) vec[c].getFromList(i))!=null; i++) { |
| 780 |
if (EQ(other = aghead(e), n)) |
| 781 |
other = agtail(e); |
| 782 |
if ((ND_mark(other) != Z.z().Cmark) && (EQ(other, UF_find(other)))) |
| 783 |
search_component(g, other); |
| 784 |
} |
| 785 |
} |
| 786 |
} finally { |
| 787 |
LEAVING("c5u5lnfbu0pmlk6vsvyrdj8ep","search_component"); |
| 788 |
} |
| 789 |
} |
| 790 |
|
| 791 |
|
| 792 |
|
| 793 |
|
| 794 |
|
| 795 |
|
| 796 |
public static void decompose(ST_Agraph_s g, int pass) { |
| 797 |
ENTERING("2t7r964kqtl5qrl7i57i22tqy","decompose"); |
| 798 |
try { |
| 799 |
ST_Agraph_s subg; |
| 800 |
ST_Agnode_s n, v; |
| 801 |
Z.z().G_decomp = g; |
| 802 |
if (++Z.z().Cmark == 0) |
| 803 |
Z.z().Cmark = 1; |
| 804 |
GD_n_nodes(g, 0); |
| 805 |
GD_comp(g).size = 0; |
| 806 |
for (n = agfstnode(g); n!=null; n = agnxtnode(g, n)) { |
| 807 |
v = n; |
| 808 |
if ((pass > 0) && (subg = ND_clust(v))!=null) |
| 809 |
v = (ST_Agnode_s) GD_rankleader(subg).plus(ND_rank(v)).getPtr(); |
| 810 |
else if (v != UF_find(v)) |
| 811 |
continue; |
| 812 |
if (ND_mark(v) != Z.z().Cmark) { |
| 813 |
begin_component(); |
| 814 |
search_component(g, v); |
| 815 |
end_component(); |
| 816 |
} |
| 817 |
} |
| 818 |
} finally { |
| 819 |
LEAVING("2t7r964kqtl5qrl7i57i22tqy","decompose"); |
| 820 |
} |
| 821 |
} |
| 822 |
|
| 823 |
|
| 824 |
} |