pub struct BacktrackConfig {
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 backtracking 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 BacktrackConfig
impl RefUnwindSafe for BacktrackConfig
impl Send for BacktrackConfig
impl Sync for BacktrackConfig
impl Unpin for BacktrackConfig
impl UnsafeUnpin for BacktrackConfig
impl UnwindSafe for BacktrackConfig
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