pub struct AdaptiveConfig {
pub min_candidates: usize,
pub confidence_threshold: f32,
}Expand description
Configuration for adaptive search.
Fields§
§min_candidates: usizeMinimum candidates to evaluate before considering early termination.
confidence_threshold: f32Confidence threshold for early termination (0.0-1.0). Higher = more conservative = better recall but slower.
Implementations§
Source§impl AdaptiveConfig
impl AdaptiveConfig
Sourcepub fn conservative() -> Self
pub fn conservative() -> Self
Conservative config - maximize recall at cost of speed.
Sourcepub fn aggressive() -> Self
pub fn aggressive() -> Self
Aggressive config - maximize speed at cost of recall.
Trait Implementations§
Source§impl Clone for AdaptiveConfig
impl Clone for AdaptiveConfig
Source§fn clone(&self) -> AdaptiveConfig
fn clone(&self) -> AdaptiveConfig
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 AdaptiveConfig
impl Debug for AdaptiveConfig
Auto Trait Implementations§
impl Freeze for AdaptiveConfig
impl RefUnwindSafe for AdaptiveConfig
impl Send for AdaptiveConfig
impl Sync for AdaptiveConfig
impl Unpin for AdaptiveConfig
impl UnsafeUnpin for AdaptiveConfig
impl UnwindSafe for AdaptiveConfig
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