pub struct PathPrediction {
pub region_id: Option<usize>,
pub entry_ids: Vec<String>,
pub region_score: f32,
pub candidate_ids: Vec<String>,
pub is_learned: bool,
pub eml_path_quality: Option<f64>,
}Expand description
Predicted search entry nodes (WEFT-385 / HNSW-EML #4).
Fields§
§region_id: Option<usize>Nearest region id when the path table is ready.
entry_ids: Vec<String>Predicted entry-node ids (highway on-ramps), best first.
region_score: f32Cosine of query to chosen region centroid.
candidate_ids: Vec<String>Candidate pool (members of probed regions).
is_learned: boolWhether a region table is available (built / learned).
eml_path_quality: Option<f64>Whether the EML path model agrees the guided path is high quality.
Trait Implementations§
Source§impl Clone for PathPrediction
impl Clone for PathPrediction
Source§impl Debug for PathPrediction
impl Debug for PathPrediction
Source§impl From<PathPrediction> for PathPrediction
impl From<PathPrediction> for PathPrediction
Source§fn from(p: RegionPathPrediction) -> Self
fn from(p: RegionPathPrediction) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PathPrediction
impl RefUnwindSafe for PathPrediction
impl Send for PathPrediction
impl Sync for PathPrediction
impl Unpin for PathPrediction
impl UnsafeUnpin for PathPrediction
impl UnwindSafe for PathPrediction
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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