pub struct ThreeDOptions {
pub algorithm: ThreeDAlgorithm,
pub multistart_runs: usize,
pub improvement_rounds: usize,
pub beam_width: usize,
pub auto_exact_max_types: usize,
pub auto_exact_max_quantity: usize,
pub branch_and_bound_node_limit: usize,
pub guillotine_required: bool,
pub seed: Option<u64>,
}Expand description
Options controlling how solve_3d runs.
Fields§
§algorithm: ThreeDAlgorithmAlgorithm to dispatch to.
multistart_runs: usizeNumber of multistart restarts used by randomized strategies.
improvement_rounds: usizeNumber of improvement rounds per local search start.
beam_width: usizeBeam width for the guillotine beam search backend.
auto_exact_max_types: usizeMaximum number of demand types for the Auto mode to attempt the exact backend.
auto_exact_max_quantity: usizeMaximum total quantity for the Auto mode to attempt the exact backend.
branch_and_bound_node_limit: usizeMaximum number of branch-and-bound nodes the exact backend may expand.
guillotine_required: boolWhether layouts must be guillotine-compatible.
seed: Option<u64>Optional seed for reproducible randomized algorithms.
Trait Implementations§
Source§impl Clone for ThreeDOptions
impl Clone for ThreeDOptions
Source§fn clone(&self) -> ThreeDOptions
fn clone(&self) -> ThreeDOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ThreeDOptions
impl Debug for ThreeDOptions
Source§impl Default for ThreeDOptions
impl Default for ThreeDOptions
Source§impl<'de> Deserialize<'de> for ThreeDOptions
impl<'de> Deserialize<'de> for ThreeDOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ThreeDOptions
impl PartialEq for ThreeDOptions
Source§impl Serialize for ThreeDOptions
impl Serialize for ThreeDOptions
impl Eq for ThreeDOptions
impl StructuralPartialEq for ThreeDOptions
Auto Trait Implementations§
impl Freeze for ThreeDOptions
impl RefUnwindSafe for ThreeDOptions
impl Send for ThreeDOptions
impl Sync for ThreeDOptions
impl Unpin for ThreeDOptions
impl UnsafeUnpin for ThreeDOptions
impl UnwindSafe for ThreeDOptions
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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more