[−][src]Trait mop_blocks::Solution
Solution is a set/tuple of flattened and indexed variables.
Solution is a set/tuple of flattened and indexed variables.
fn has_var(&self, idx: usize) -> bool
fn inter_swap(&mut self, other: &mut Self, idx: usize)
fn intra_swap(&mut self, a: usize, b: usize)
fn len(&self) -> usize
fn is_empty(&self) -> bool
impl<T> Solution for [T; 1]
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 2]
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 3]
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 4]
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 5]
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 6]
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 7]
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 8]
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 9]
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 10]
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 11]
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 12]
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 13]
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 14]
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 15]
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 16]
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 17]
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 18]
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 19]
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 20]
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 21]
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 22]
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 23]
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 24]
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 25]
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 26]
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 27]
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 28]
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 29]
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 30]
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 31]
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 32]
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]