Skip to main content

merge_pair

Function merge_pair 

Source
fn merge_pair(
    adjacency: &mut [BTreeMap<u32, Interface>],
    uf: &mut UnionFind,
    a: u32,
    b: u32,
    iface: Interface,
    heap: &mut BinaryHeap<Candidate>,
)
Expand description

Merge regions a and b at the offset their interface implies, fold their adjacency together, and queue the interfaces that changed.