pub enum VarOrder {
Static,
Sdf,
Srf,
Ldf,
Original,
Wdeg,
DomOverWdeg,
Conflict,
}Expand description
Variable-ordering heuristic (maps to Minion’s VarOrderEnum).
Static follows the variable declaration order and is state-free;
the rest (Sdf, Srf, Ldf, Wdeg, DomOverWdeg, Conflict) depend on the
current domain sizes / weight counters at each decision, so their
solution order is sensitive to mid-search mutations. Original
is a (non-state-dependent) alias minion uses internally.
Variants§
Trait Implementations§
impl Copy for VarOrder
impl Eq for VarOrder
impl StructuralPartialEq for VarOrder
Auto Trait Implementations§
impl Freeze for VarOrder
impl RefUnwindSafe for VarOrder
impl Send for VarOrder
impl Sync for VarOrder
impl Unpin for VarOrder
impl UnsafeUnpin for VarOrder
impl UnwindSafe for VarOrder
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
Static: 0 bytesSdf: 0 bytesSrf: 0 bytesLdf: 0 bytesOriginal: 0 bytesWdeg: 0 bytesDomOverWdeg: 0 bytesConflict: 0 bytes