pub struct HeuristicByTier {
pub ext: usize,
pub guess: usize,
}Expand description
heuristic_edge_count split by the tier that emitted each edge, in the
fixed key order every tier-keyed output uses (ext, then guess).
Both keys are always written, and ext + guess equals heuristic_edge_count –
including after the heuristic-side dedup, which decrements the dropped
edge’s own tier.
Fields§
§ext: usizeEdges tier (f) emitted.
guess: usizeEdges the scored tier emitted.
Trait Implementations§
Source§impl Clone for HeuristicByTier
impl Clone for HeuristicByTier
impl Copy for HeuristicByTier
Source§impl Debug for HeuristicByTier
impl Debug for HeuristicByTier
Source§impl Default for HeuristicByTier
impl Default for HeuristicByTier
Source§impl<'de> Deserialize<'de> for HeuristicByTier
impl<'de> Deserialize<'de> for HeuristicByTier
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 HeuristicByTier
impl PartialEq for HeuristicByTier
Source§impl Serialize for HeuristicByTier
impl Serialize for HeuristicByTier
impl StructuralPartialEq for HeuristicByTier
Auto Trait Implementations§
impl Freeze for HeuristicByTier
impl RefUnwindSafe for HeuristicByTier
impl Send for HeuristicByTier
impl Sync for HeuristicByTier
impl Unpin for HeuristicByTier
impl UnsafeUnpin for HeuristicByTier
impl UnwindSafe for HeuristicByTier
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