pub struct DL85Config { /* private fields */ }Expand description
Settings of a DL85 search. Set them through
DL85Builder.
Implementations§
Source§impl DL85Config
impl DL85Config
Sourcepub fn use_depth2_optimization(&self) -> bool
pub fn use_depth2_optimization(&self) -> bool
Whether nodes two levels from the bottom use the depth-2 solver.
The solver works from class counts, so it is skipped when the error
function takes row indices (NodeDataType::Tids).
Sourcepub fn use_dynamic_branching(&self) -> bool
pub fn use_dynamic_branching(&self) -> bool
Whether the branch with the higher lower bound is searched first.
Sourcepub fn use_similarity_lb(&self) -> bool
pub fn use_similarity_lb(&self) -> bool
Whether the similarity lower bound is used.
Trait Implementations§
Source§impl Clone for DL85Config
impl Clone for DL85Config
Source§fn clone(&self) -> DL85Config
fn clone(&self) -> DL85Config
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DL85Config
Source§impl Debug for DL85Config
impl Debug for DL85Config
Source§impl Default for DL85Config
impl Default for DL85Config
Source§impl<'de> Deserialize<'de> for DL85Config
impl<'de> Deserialize<'de> for DL85Config
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
Auto Trait Implementations§
impl Freeze for DL85Config
impl RefUnwindSafe for DL85Config
impl Send for DL85Config
impl Sync for DL85Config
impl Unpin for DL85Config
impl UnsafeUnpin for DL85Config
impl UnwindSafe for DL85Config
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