pub struct CageSum<V> { /* private fields */ }Expand description
N-ary cage-sum: the scope’s values sum to target.
Serves Killer cages and the + KenKen cages. revise_impl is bounds
consistency for the linear equality Σ xᵢ == target: each cell is pinned to
[target − Σ(others' max), target − Σ(others' min)], iterated to an internal
fixpoint because pruning one cell tightens the residual for the rest.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<V> Freeze for CageSum<V>
impl<V> RefUnwindSafe for CageSum<V>
impl<V> Send for CageSum<V>
impl<V> Sync for CageSum<V>
impl<V> Unpin for CageSum<V>
impl<V> UnsafeUnpin for CageSum<V>
impl<V> UnwindSafe for CageSum<V>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more