pub struct CandidateConfig {
pub posting_cap: usize,
pub pair_budget: usize,
}Expand description
Tuning for candidate generation.
Fields§
§posting_cap: usizeLongest posting list that still enters pairing; longer ones are dropped as high-frequency noise and counted.
pair_budget: usizeUpper bound on candidate pairs emitted. Pairing is rarest-first and stops between posting lists, so exhaustion sacrifices the lowest-signal lists whole rather than leaving one of them half-compared.
Trait Implementations§
Source§impl Clone for CandidateConfig
impl Clone for CandidateConfig
Source§fn clone(&self) -> CandidateConfig
fn clone(&self) -> CandidateConfig
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 moreSource§impl Debug for CandidateConfig
impl Debug for CandidateConfig
Source§impl Default for CandidateConfig
impl Default for CandidateConfig
impl Eq for CandidateConfig
Source§impl PartialEq for CandidateConfig
impl PartialEq for CandidateConfig
impl StructuralPartialEq for CandidateConfig
Auto Trait Implementations§
impl Freeze for CandidateConfig
impl RefUnwindSafe for CandidateConfig
impl Send for CandidateConfig
impl Sync for CandidateConfig
impl Unpin for CandidateConfig
impl UnsafeUnpin for CandidateConfig
impl UnwindSafe for CandidateConfig
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.