pub struct BaseSearchConfig {
pub min_support: usize,
pub max_depth: usize,
pub max_error: f64,
pub max_time: f64,
}Expand description
Settings shared by every search.
Fields§
§min_support: usizeMinimum number of instances in each leaf.
max_depth: usizeMaximum depth of the tree.
max_error: f64Only trees with a lower error are accepted.
max_time: f64Time limit in seconds.
Trait Implementations§
Source§impl Clone for BaseSearchConfig
impl Clone for BaseSearchConfig
Source§fn clone(&self) -> BaseSearchConfig
fn clone(&self) -> BaseSearchConfig
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 BaseSearchConfig
Source§impl Debug for BaseSearchConfig
impl Debug for BaseSearchConfig
Source§impl Default for BaseSearchConfig
impl Default for BaseSearchConfig
Source§impl<'de> Deserialize<'de> for BaseSearchConfig
impl<'de> Deserialize<'de> for BaseSearchConfig
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 BaseSearchConfig
impl RefUnwindSafe for BaseSearchConfig
impl Send for BaseSearchConfig
impl Sync for BaseSearchConfig
impl Unpin for BaseSearchConfig
impl UnsafeUnpin for BaseSearchConfig
impl UnwindSafe for BaseSearchConfig
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