Skip to main content

find_problems

Function find_problems 

Source
pub fn find_problems(
    topology: &Topology,
    arc_coords: &[Vec<(f64, f64)>],
    qbits: u32,
) -> Vec<Problem>
Expand description

Runs the encoder’s quantize, clean, and drop-degenerate pipeline on already-simplified arcs at qbits, then locates every surviving crossing/overlap. A spot on a shared border is reported once per owning ring (dedupe by coordinates for display).