pub struct BackjumpConfig {
pub pruning: Pruning,
pub ordering: Ordering,
pub max_solutions: usize,
pub constraint_weights: Vec<f64>,
pub var_constraint_ids: Vec<Vec<usize>>,
pub node_budget: Option<u64>,
}Expand description
Configuration for backjumping search.
Fields§
§pruning: Pruning§ordering: Ordering§max_solutions: usize§constraint_weights: Vec<f64>§var_constraint_ids: Vec<Vec<usize>>§node_budget: Option<u64>Maximum number of search nodes before aborting early.
See crate::SolveConfig::node_budget.
Auto Trait Implementations§
impl Freeze for BackjumpConfig
impl RefUnwindSafe for BackjumpConfig
impl Send for BackjumpConfig
impl Sync for BackjumpConfig
impl Unpin for BackjumpConfig
impl UnsafeUnpin for BackjumpConfig
impl UnwindSafe for BackjumpConfig
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