(h: &Hypergraph, cap: u64)
| 444 | /// balance weights: each block's heartbeats capped at `cap` (or all 1 if every |
| 445 | /// capped weight is zero in this sub) |
| 446 | bw: Vec<u64>, |
| 447 | /// restricted nets: (weight, local pins) |
| 448 | nets: Vec<(u64, Vec<u32>)>, |
| 449 | /// local vertex -> incident net indices |
| 450 | vnets: Vec<Vec<u32>>, |
| 451 | /// global per-shard heartbeat target used to cap `bw` (propagated unchanged |
| 452 | /// through recursion) |
| 453 | cap: u64, |
| 454 | } |
| 455 | |
| 456 | impl SubHyper { |
| 457 | fn full(h: &Hypergraph, cap: u64) -> SubHyper { |
| 458 | let n = h.num_vertices(); |
| 459 | let global: Vec<u32> = (0..n as u32).collect(); |
| 460 | let vw = h.vweight.clone(); |
nothing calls this directly
no test coverage detected