pub fn kahip_order_interruptible(
pattern: &CscPattern<'_>,
opts: &KahipOptions,
interrupt: &Interrupt,
) -> Result<(Vec<i32>, OrderingStats, KahipStats), OrderingError>Expand description
kahip_order_full that stops with OrderingError::Interrupted once
interrupt triggers (its deadline passes or its cancel flag is set)
(feral issue #246). The check runs at safe points inside the ordering,
so the overshoot past a deadline is bounded by one of them rather than
by the whole ordering. With Interrupt::none the result is identical
to kahip_order_full.