| 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.attr__c.agxget; |
| 48 |
import static gen.lib.cgraph.edge__c.agfstout; |
| 49 |
import static gen.lib.cgraph.edge__c.aghead; |
| 50 |
import static gen.lib.cgraph.edge__c.agnxtout; |
| 51 |
import static gen.lib.cgraph.edge__c.agtail; |
| 52 |
import static gen.lib.cgraph.node__c.agfstnode; |
| 53 |
import static gen.lib.cgraph.node__c.agnxtnode; |
| 54 |
import static gen.lib.common.utils__c.UF_find; |
| 55 |
import static gen.lib.common.utils__c.mapbool; |
| 56 |
import static gen.lib.dotgen.cluster__c.mark_clusters; |
| 57 |
import static gen.lib.dotgen.fastgr__c.find_fast_edge; |
| 58 |
import static gen.lib.dotgen.fastgr__c.merge_oneway; |
| 59 |
import static gen.lib.dotgen.fastgr__c.virtual_edge; |
| 60 |
import static gen.lib.dotgen.fastgr__c.virtual_node; |
| 61 |
import static gen.lib.dotgen.position__c.make_aux_edge; |
| 62 |
import static smetana.core.JUtils.EQ; |
| 63 |
import static smetana.core.JUtilsDebug.ENTERING; |
| 64 |
import static smetana.core.JUtilsDebug.LEAVING; |
| 65 |
import static smetana.core.Macro.ED_minlen; |
| 66 |
import static smetana.core.Macro.ED_to_orig; |
| 67 |
import static smetana.core.Macro.ED_to_virt; |
| 68 |
import static smetana.core.Macro.ED_weight; |
| 69 |
import static smetana.core.Macro.GD_leader; |
| 70 |
import static smetana.core.Macro.ND_clust; |
| 71 |
import static smetana.core.Macro.ND_node_type; |
| 72 |
import static smetana.core.Macro.ND_rank; |
| 73 |
import static smetana.core.Macro.UNSUPPORTED; |
| 74 |
import h.ST_Agedge_s; |
| 75 |
import h.ST_Agnode_s; |
| 76 |
import h.ST_Agraph_s; |
| 77 |
import h.ST_pointf; |
| 78 |
import smetana.core.CString; |
| 79 |
import smetana.core.Z; |
| 80 |
|
| 81 |
public class class1__c { |
| 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 |
|
| 318 |
|
| 319 |
|
| 320 |
|
| 321 |
|
| 322 |
public static Object pointof(Object... arg) { |
| 323 |
UNSUPPORTED("8e4tj258yvfq5uhsdpk37n5eq"); |
| 324 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 325 |
UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); |
| 326 |
UNSUPPORTED("12jimkrzqxavaie0cpapbx18c"); |
| 327 |
UNSUPPORTED("7ivmviysahgsc5nn9gtp7q2if"); |
| 328 |
UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); |
| 329 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 330 |
|
| 331 |
throw new UnsupportedOperationException(); |
| 332 |
} |
| 333 |
|
| 334 |
|
| 335 |
|
| 336 |
|
| 337 |
|
| 338 |
|
| 339 |
public static ST_pointf pointfof(double x, double y) { |
| 340 |
|
| 341 |
return pointfof_w_(x, y).copy(); |
| 342 |
} |
| 343 |
private static ST_pointf pointfof_w_(double x, double y) { |
| 344 |
ENTERING("c1s4k85p1cdfn176o3uryeros","pointfof"); |
| 345 |
try { |
| 346 |
final ST_pointf r = new ST_pointf(); |
| 347 |
r.setDouble("x", x); |
| 348 |
r.setDouble("y", y); |
| 349 |
return r; |
| 350 |
} finally { |
| 351 |
LEAVING("c1s4k85p1cdfn176o3uryeros","pointfof"); |
| 352 |
} |
| 353 |
} |
| 354 |
|
| 355 |
|
| 356 |
|
| 357 |
|
| 358 |
|
| 359 |
|
| 360 |
public static Object boxof(Object... arg) { |
| 361 |
UNSUPPORTED("3lzesfdd337h31jrlib1czocm"); |
| 362 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 363 |
UNSUPPORTED("52u27kayecy1i1e8bbo8f7s9r"); |
| 364 |
UNSUPPORTED("cylhjlutoc0sc0uy7g98m9fb8"); |
| 365 |
UNSUPPORTED("242of6revxzx8hpe7yerrchz6"); |
| 366 |
UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); |
| 367 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 368 |
|
| 369 |
throw new UnsupportedOperationException(); |
| 370 |
} |
| 371 |
|
| 372 |
|
| 373 |
|
| 374 |
|
| 375 |
|
| 376 |
|
| 377 |
|
| 378 |
|
| 379 |
|
| 380 |
|
| 381 |
public static Object add_point(Object... arg) { |
| 382 |
UNSUPPORTED("6iamka1fx8fk1rohzzse8phte"); |
| 383 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 384 |
UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); |
| 385 |
UNSUPPORTED("3n2sizjd0civbzm6iq7su1s2p"); |
| 386 |
UNSUPPORTED("65ygdo31w09i5i6bd2f7azcd3"); |
| 387 |
UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); |
| 388 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 389 |
|
| 390 |
throw new UnsupportedOperationException(); |
| 391 |
} |
| 392 |
|
| 393 |
|
| 394 |
|
| 395 |
|
| 396 |
|
| 397 |
|
| 398 |
public static ST_pointf add_pointf(final ST_pointf p, final ST_pointf q) { |
| 399 |
|
| 400 |
return add_pointf_w_(p.copy(), q.copy()).copy(); |
| 401 |
} |
| 402 |
private static ST_pointf add_pointf_w_(final ST_pointf p, final ST_pointf q) { |
| 403 |
ENTERING("arrsbik9b5tnfcbzsm8gr2chx","add_pointf"); |
| 404 |
try { |
| 405 |
final ST_pointf r = new ST_pointf(); |
| 406 |
r.setDouble("x", p.x + q.x); |
| 407 |
r.setDouble("y", p.y + q.y); |
| 408 |
return r; |
| 409 |
} finally { |
| 410 |
LEAVING("arrsbik9b5tnfcbzsm8gr2chx","add_pointf"); |
| 411 |
} |
| 412 |
} |
| 413 |
|
| 414 |
|
| 415 |
|
| 416 |
|
| 417 |
|
| 418 |
|
| 419 |
public static Object sub_point(Object... arg) { |
| 420 |
UNSUPPORTED("cd602849h0bce8lu9xegka0ia"); |
| 421 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 422 |
UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); |
| 423 |
UNSUPPORTED("4q4q9dveah93si8ajfv59gz27"); |
| 424 |
UNSUPPORTED("9f90ik0o2yqhanzntpy3d2ydy"); |
| 425 |
UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); |
| 426 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 427 |
|
| 428 |
throw new UnsupportedOperationException(); |
| 429 |
} |
| 430 |
|
| 431 |
|
| 432 |
|
| 433 |
|
| 434 |
|
| 435 |
|
| 436 |
public static Object sub_pointf(Object... arg) { |
| 437 |
UNSUPPORTED("dmufj44lddsnj0wjyxsg2fcso"); |
| 438 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 439 |
UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); |
| 440 |
UNSUPPORTED("4q4q9dveah93si8ajfv59gz27"); |
| 441 |
UNSUPPORTED("9f90ik0o2yqhanzntpy3d2ydy"); |
| 442 |
UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); |
| 443 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 444 |
|
| 445 |
throw new UnsupportedOperationException(); |
| 446 |
} |
| 447 |
|
| 448 |
|
| 449 |
|
| 450 |
|
| 451 |
|
| 452 |
|
| 453 |
public static Object mid_point(Object... arg) { |
| 454 |
UNSUPPORTED("evy44tdsmu3erff9dp2x835u2"); |
| 455 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 456 |
UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); |
| 457 |
UNSUPPORTED("1a6p6fm57o0wt5ze2btsx06c7"); |
| 458 |
UNSUPPORTED("1kbj5tgdmfi6kf4jgg6skhr6e"); |
| 459 |
UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); |
| 460 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 461 |
|
| 462 |
throw new UnsupportedOperationException(); |
| 463 |
} |
| 464 |
|
| 465 |
|
| 466 |
|
| 467 |
|
| 468 |
|
| 469 |
|
| 470 |
public static Object mid_pointf(Object... arg) { |
| 471 |
UNSUPPORTED("381o63o9kb04d7gzg65v0r3q"); |
| 472 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 473 |
UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); |
| 474 |
UNSUPPORTED("c5vboetlr3mf43wns7iik6m1w"); |
| 475 |
UNSUPPORTED("bcdf562ldr3bjn78hcay5xd63"); |
| 476 |
UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); |
| 477 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 478 |
|
| 479 |
throw new UnsupportedOperationException(); |
| 480 |
} |
| 481 |
|
| 482 |
|
| 483 |
|
| 484 |
|
| 485 |
|
| 486 |
|
| 487 |
public static Object interpolate_pointf(Object... arg) { |
| 488 |
UNSUPPORTED("894yimn33kmtm454llwdaotu8"); |
| 489 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 490 |
UNSUPPORTED("ef2acl8wa2ooqcb5vz3098maz"); |
| 491 |
UNSUPPORTED("5tpwuyf5iidesy80v8o4nwkmk"); |
| 492 |
UNSUPPORTED("ewnrc5uloj3w5jbmsjcn3wja0"); |
| 493 |
UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); |
| 494 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 495 |
|
| 496 |
throw new UnsupportedOperationException(); |
| 497 |
} |
| 498 |
|
| 499 |
|
| 500 |
|
| 501 |
|
| 502 |
|
| 503 |
|
| 504 |
public static Object exch_xy(Object... arg) { |
| 505 |
UNSUPPORTED("2vxya0v2fzlv5e0vjaa8d414"); |
| 506 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 507 |
UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); |
| 508 |
UNSUPPORTED("60cojdwc2h7f0m51s9jdwvup7"); |
| 509 |
UNSUPPORTED("evp2x66oa4s1tlnc0ytxq2qbq"); |
| 510 |
UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); |
| 511 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 512 |
|
| 513 |
throw new UnsupportedOperationException(); |
| 514 |
} |
| 515 |
|
| 516 |
|
| 517 |
|
| 518 |
|
| 519 |
|
| 520 |
|
| 521 |
public static Object exch_xyf(Object... arg) { |
| 522 |
UNSUPPORTED("8qamrobrqi8jsvvfrxkimrsnw"); |
| 523 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 524 |
UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); |
| 525 |
UNSUPPORTED("60cojdwc2h7f0m51s9jdwvup7"); |
| 526 |
UNSUPPORTED("evp2x66oa4s1tlnc0ytxq2qbq"); |
| 527 |
UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); |
| 528 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 529 |
|
| 530 |
throw new UnsupportedOperationException(); |
| 531 |
} |
| 532 |
|
| 533 |
|
| 534 |
|
| 535 |
|
| 536 |
|
| 537 |
|
| 538 |
public static Object box_bb(Object... arg) { |
| 539 |
UNSUPPORTED("36et5gmnjrby6o7bq9sgh1hx6"); |
| 540 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 541 |
UNSUPPORTED("52u27kayecy1i1e8bbo8f7s9r"); |
| 542 |
UNSUPPORTED("8mr2c9xitsqi8z1plbp7ox1hu"); |
| 543 |
UNSUPPORTED("2egu55ef4u1i03nwz01k7kcrl"); |
| 544 |
UNSUPPORTED("9n6ei3odbgefwfxvql9whcpe"); |
| 545 |
UNSUPPORTED("19ocysbuh4pxyft2bqhyhigr1"); |
| 546 |
UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); |
| 547 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 548 |
|
| 549 |
throw new UnsupportedOperationException(); |
| 550 |
} |
| 551 |
|
| 552 |
|
| 553 |
|
| 554 |
|
| 555 |
|
| 556 |
|
| 557 |
public static Object boxf_bb(Object... arg) { |
| 558 |
UNSUPPORTED("dyrqu4ww9osr9c86gqgmifcp6"); |
| 559 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 560 |
UNSUPPORTED("c57pq0f87j6dnbcvygu7v6k84"); |
| 561 |
UNSUPPORTED("8mr2c9xitsqi8z1plbp7ox1hu"); |
| 562 |
UNSUPPORTED("2egu55ef4u1i03nwz01k7kcrl"); |
| 563 |
UNSUPPORTED("9n6ei3odbgefwfxvql9whcpe"); |
| 564 |
UNSUPPORTED("19ocysbuh4pxyft2bqhyhigr1"); |
| 565 |
UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); |
| 566 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 567 |
|
| 568 |
throw new UnsupportedOperationException(); |
| 569 |
} |
| 570 |
|
| 571 |
|
| 572 |
|
| 573 |
|
| 574 |
|
| 575 |
|
| 576 |
public static Object box_intersect(Object... arg) { |
| 577 |
UNSUPPORTED("34gv28cldst09bl71itjgviue"); |
| 578 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 579 |
UNSUPPORTED("52u27kayecy1i1e8bbo8f7s9r"); |
| 580 |
UNSUPPORTED("9slu7bixuymxttjic76ha2nl2"); |
| 581 |
UNSUPPORTED("3uv943c2f82yuif249pf5azob"); |
| 582 |
UNSUPPORTED("74tf5h16bc9zabq3s3dyny543"); |
| 583 |
UNSUPPORTED("d99gcv3i7xes7y7rqf8ii20ux"); |
| 584 |
UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); |
| 585 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 586 |
|
| 587 |
throw new UnsupportedOperationException(); |
| 588 |
} |
| 589 |
|
| 590 |
|
| 591 |
|
| 592 |
|
| 593 |
|
| 594 |
|
| 595 |
public static Object boxf_intersect(Object... arg) { |
| 596 |
UNSUPPORTED("ape22b8z6jfg17gvo42hok9eb"); |
| 597 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 598 |
UNSUPPORTED("c57pq0f87j6dnbcvygu7v6k84"); |
| 599 |
UNSUPPORTED("9slu7bixuymxttjic76ha2nl2"); |
| 600 |
UNSUPPORTED("3uv943c2f82yuif249pf5azob"); |
| 601 |
UNSUPPORTED("74tf5h16bc9zabq3s3dyny543"); |
| 602 |
UNSUPPORTED("d99gcv3i7xes7y7rqf8ii20ux"); |
| 603 |
UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); |
| 604 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 605 |
|
| 606 |
throw new UnsupportedOperationException(); |
| 607 |
} |
| 608 |
|
| 609 |
|
| 610 |
|
| 611 |
|
| 612 |
|
| 613 |
|
| 614 |
public static Object box_overlap(Object... arg) { |
| 615 |
UNSUPPORTED("1e9k599x7ygct7r4cfdxlk9u9"); |
| 616 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 617 |
UNSUPPORTED("7a9wwpu7dhdphd08y1ecw54w5"); |
| 618 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 619 |
|
| 620 |
throw new UnsupportedOperationException(); |
| 621 |
} |
| 622 |
|
| 623 |
|
| 624 |
|
| 625 |
|
| 626 |
|
| 627 |
|
| 628 |
public static Object boxf_overlap(Object... arg) { |
| 629 |
UNSUPPORTED("905nejsewihwhhc3bhnrz9nwo"); |
| 630 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 631 |
UNSUPPORTED("7a9wwpu7dhdphd08y1ecw54w5"); |
| 632 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 633 |
|
| 634 |
throw new UnsupportedOperationException(); |
| 635 |
} |
| 636 |
|
| 637 |
|
| 638 |
|
| 639 |
|
| 640 |
|
| 641 |
|
| 642 |
public static Object box_contains(Object... arg) { |
| 643 |
UNSUPPORTED("aputfc30fjkvy6jx4otljaczq"); |
| 644 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 645 |
UNSUPPORTED("87ap80vrh2a4gpprbxr33lrg3"); |
| 646 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 647 |
|
| 648 |
throw new UnsupportedOperationException(); |
| 649 |
} |
| 650 |
|
| 651 |
|
| 652 |
|
| 653 |
|
| 654 |
|
| 655 |
|
| 656 |
public static Object boxf_contains(Object... arg) { |
| 657 |
UNSUPPORTED("7ccnttkiwt834yfyw0evcm18v"); |
| 658 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 659 |
UNSUPPORTED("87ap80vrh2a4gpprbxr33lrg3"); |
| 660 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 661 |
|
| 662 |
throw new UnsupportedOperationException(); |
| 663 |
} |
| 664 |
|
| 665 |
|
| 666 |
|
| 667 |
|
| 668 |
|
| 669 |
|
| 670 |
public static Object perp(Object... arg) { |
| 671 |
UNSUPPORTED("567wpqlg9rv63ynyvxd9sgkww"); |
| 672 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 673 |
UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); |
| 674 |
UNSUPPORTED("2fyydy6t6yifjsczccsb9szeg"); |
| 675 |
UNSUPPORTED("evp2x66oa4s1tlnc0ytxq2qbq"); |
| 676 |
UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); |
| 677 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 678 |
|
| 679 |
throw new UnsupportedOperationException(); |
| 680 |
} |
| 681 |
|
| 682 |
|
| 683 |
|
| 684 |
|
| 685 |
|
| 686 |
|
| 687 |
public static Object scale(Object... arg) { |
| 688 |
UNSUPPORTED("c1ngytew34bmkdb7vps5h3dh8"); |
| 689 |
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); |
| 690 |
UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); |
| 691 |
UNSUPPORTED("dznf7nac14snww4usquyd6r3r"); |
| 692 |
UNSUPPORTED("33kk73m8vjcux5tnjl8co2pe6"); |
| 693 |
UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); |
| 694 |
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); |
| 695 |
|
| 696 |
throw new UnsupportedOperationException(); |
| 697 |
} |
| 698 |
|
| 699 |
|
| 700 |
|
| 701 |
|
| 702 |
|
| 703 |
|
| 704 |
public static boolean nonconstraint_edge(ST_Agedge_s e) { |
| 705 |
ENTERING("2luyof8ca7ewf9r08z3os3lk7","nonconstraint_edge"); |
| 706 |
try { |
| 707 |
CString constr; |
| 708 |
if (Z.z().E_constr!=null && (constr = agxget(e, Z.z().E_constr))!=null) { |
| 709 |
if (constr.charAt(0)!='\0' && mapbool(constr) == false) |
| 710 |
return (!(false)); |
| 711 |
} |
| 712 |
return false; |
| 713 |
} finally { |
| 714 |
LEAVING("2luyof8ca7ewf9r08z3os3lk7","nonconstraint_edge"); |
| 715 |
} |
| 716 |
} |
| 717 |
|
| 718 |
|
| 719 |
|
| 720 |
|
| 721 |
|
| 722 |
|
| 723 |
public static void interclust1(ST_Agraph_s g, ST_Agnode_s t, ST_Agnode_s h, ST_Agedge_s e) { |
| 724 |
ENTERING("dpimuv55sylui7jx8fh3ic1qc","interclust1"); |
| 725 |
try { |
| 726 |
ST_Agnode_s v, t0, h0; |
| 727 |
int offset, t_len, h_len, t_rank, h_rank; |
| 728 |
ST_Agedge_s rt, rh; |
| 729 |
if (ND_clust(agtail(e))!=null) |
| 730 |
t_rank = ND_rank(agtail(e)) - ND_rank(GD_leader(ND_clust(agtail(e)))); |
| 731 |
else |
| 732 |
t_rank = 0; |
| 733 |
if (ND_clust(aghead(e))!=null) |
| 734 |
h_rank = ND_rank(aghead(e)) - ND_rank(GD_leader(ND_clust(aghead(e)))); |
| 735 |
else |
| 736 |
h_rank = 0; |
| 737 |
offset = ED_minlen(e) + t_rank - h_rank; |
| 738 |
if (offset > 0) { |
| 739 |
t_len = 0; |
| 740 |
h_len = offset; |
| 741 |
} else { |
| 742 |
t_len = -offset; |
| 743 |
h_len = 0; |
| 744 |
} |
| 745 |
v = virtual_node(g); |
| 746 |
ND_node_type(v, 2); |
| 747 |
t0 = UF_find(t); |
| 748 |
h0 = UF_find(h); |
| 749 |
rt = make_aux_edge(v, t0, t_len, 10 * ED_weight(e)); |
| 750 |
rh = make_aux_edge(v, h0, h_len, ED_weight(e)); |
| 751 |
ED_to_orig(rt, e); |
| 752 |
ED_to_orig(rh, e); |
| 753 |
} finally { |
| 754 |
LEAVING("dpimuv55sylui7jx8fh3ic1qc","interclust1"); |
| 755 |
} |
| 756 |
} |
| 757 |
|
| 758 |
|
| 759 |
|
| 760 |
|
| 761 |
|
| 762 |
|
| 763 |
public static void class1_(ST_Agraph_s g) { |
| 764 |
ENTERING("acy5ct6402jgf0ga5oeeskx5m","class1"); |
| 765 |
try { |
| 766 |
ST_Agnode_s n, t, h; |
| 767 |
ST_Agedge_s e, rep; |
| 768 |
mark_clusters(g); |
| 769 |
for (n = agfstnode(g); n!=null; n = agnxtnode(g, n)) { |
| 770 |
for (e = agfstout(g, n); e!=null; e = agnxtout(g, e)) { |
| 771 |
|
| 772 |
if (ED_to_virt(e)!=null) |
| 773 |
continue; |
| 774 |
|
| 775 |
if (nonconstraint_edge(e)) |
| 776 |
continue; |
| 777 |
t = UF_find(agtail(e)); |
| 778 |
h = UF_find(aghead(e)); |
| 779 |
|
| 780 |
if (EQ(t, h)) |
| 781 |
continue; |
| 782 |
|
| 783 |
if (ND_clust(t)!=null || ND_clust(h)!=null) { |
| 784 |
interclust1(g, agtail(e), aghead(e), e); |
| 785 |
continue; |
| 786 |
} |
| 787 |
if ((rep = find_fast_edge(t, h))!=null) |
| 788 |
merge_oneway(e, rep); |
| 789 |
else |
| 790 |
virtual_edge(t, h, e); |
| 791 |
} |
| 792 |
} |
| 793 |
} finally { |
| 794 |
LEAVING("acy5ct6402jgf0ga5oeeskx5m","class1"); |
| 795 |
} |
| 796 |
} |
| 797 |
|
| 798 |
|
| 799 |
} |