pub struct DEGConfig {
pub base_edges: usize,
pub max_edges: usize,
pub min_edges: usize,
pub density_k: usize,
pub alpha: f32,
pub ef_search: usize,
}Expand description
DEG configuration.
Fields§
§base_edges: usizeBase number of edges per node
max_edges: usizeMaximum edges per node
min_edges: usizeMinimum edges per node
density_k: usizeDensity estimation radius (k neighbors)
alpha: f32Alpha for diversity pruning
ef_search: usizeExpansion factor during search
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DEGConfig
impl RefUnwindSafe for DEGConfig
impl Send for DEGConfig
impl Sync for DEGConfig
impl Unpin for DEGConfig
impl UnsafeUnpin for DEGConfig
impl UnwindSafe for DEGConfig
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