pub struct RoutabilityGuardConfig {
pub landmark_count: usize,
pub landmark_pool_multiplier: usize,
pub candidate_sample_size: usize,
pub beam_width: usize,
}Expand description
Configuration for routability-aware deletion admission control.
The guard keeps a small, dispersed landmark pool in memory. Before a batch
is changed, it virtually masks the proposed deleted vertices and confirms
that the same residual entry point can still reach the selected landmarks
with beam search. It is intentionally a lightweight preflight rather than
a graph-wide connectivity oracle. Default is enabled automatically by
DiskANN::begin_updates.
Fields§
§landmark_count: usizeNumber of landmark probes required for each delete batch.
landmark_pool_multiplier: usizeNumber of stored landmarks per required probe. Extra landmarks make an occasional landmark deletion inexpensive to handle.
candidate_sample_size: usizeMaximum number of evenly sampled live vertices considered when forming the farthest-first landmark pool.
beam_width: usizeBeam width used for the virtual baseline and residual probes.
Trait Implementations§
Source§impl Clone for RoutabilityGuardConfig
impl Clone for RoutabilityGuardConfig
impl Copy for RoutabilityGuardConfig
Source§impl Debug for RoutabilityGuardConfig
impl Debug for RoutabilityGuardConfig
Auto Trait Implementations§
impl Forget for RoutabilityGuardConfig
impl Freeze for RoutabilityGuardConfig
impl Move for RoutabilityGuardConfig
impl RefUnwindSafe for RoutabilityGuardConfig
impl Send for RoutabilityGuardConfig
impl Sync for RoutabilityGuardConfig
impl Unpin for RoutabilityGuardConfig
impl UnsafeUnpin for RoutabilityGuardConfig
impl UnwindSafe for RoutabilityGuardConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more