pub struct VamanaIndexParam {
pub metric: MetricType,
pub max_degree: u32,
pub search_list_size: u32,
pub alpha: f64,
pub max_occlusion: u32,
pub saturate: bool,
}Expand description
Vamana graph parameters. DiskANN uses the same graph with a disk layout.
Fields§
§metric: MetricType§max_degree: u32§search_list_size: u32§alpha: f64§max_occlusion: u32§saturate: boolTrait Implementations§
Source§impl Clone for VamanaIndexParam
impl Clone for VamanaIndexParam
Source§impl Debug for VamanaIndexParam
impl Debug for VamanaIndexParam
Source§impl<'de> Deserialize<'de> for VamanaIndexParam
impl<'de> Deserialize<'de> for VamanaIndexParam
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
Source§impl PartialEq for VamanaIndexParam
impl PartialEq for VamanaIndexParam
Source§impl Serialize for VamanaIndexParam
impl Serialize for VamanaIndexParam
impl StructuralPartialEq for VamanaIndexParam
Auto Trait Implementations§
impl Freeze for VamanaIndexParam
impl RefUnwindSafe for VamanaIndexParam
impl Send for VamanaIndexParam
impl Sync for VamanaIndexParam
impl Unpin for VamanaIndexParam
impl UnsafeUnpin for VamanaIndexParam
impl UnwindSafe for VamanaIndexParam
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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> ⓘ
Converts
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> ⓘ
Converts
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