pub struct GraphFrontierStats {
pub seeds_considered: u32,
pub seeds_resolved: u32,
pub frontier_nonempty: bool,
pub graph_candidates_emitted: u32,
}Expand description
G0 Phase-2 (E0a / BLOCK-1) — graph-arm frontier instrumentation. A
side-channel meter (deliberately NOT a SearchResult/SearchHit field —
byte stability) that proves whether the graph arm seeds a non-empty frontier.
Under the current doc-seeded path the frontier is empty (doc nodes carry
logical_id = NULL), so seeds_resolved == 0 and resolved_seed_rate == 0.0
— this meter is the measurement that proves it (and, post-C1, the 0→>0 flip).
resolved_seed_rate = seeds_resolved / seeds_considered, with 0/0 → 0.0.
Fields§
§seeds_considered: u32Hits inspected as seed candidates (the take(SEED_N) window, skipping TextEdge).
seeds_resolved: u32Seed candidates that resolved to an active logical_id (pushed onto the frontier).
frontier_nonempty: boolWhether the BFS frontier was non-empty after seeding.
graph_candidates_emitted: u32Number of graph-arm SearchHits emitted (reachable, not already in the two-arm result).
Implementations§
Source§impl GraphFrontierStats
impl GraphFrontierStats
Sourcepub fn resolved_seed_rate(&self) -> f64
pub fn resolved_seed_rate(&self) -> f64
seeds_resolved / seeds_considered, defined as 0.0 when nothing was considered.
Trait Implementations§
Source§impl Clone for GraphFrontierStats
impl Clone for GraphFrontierStats
Source§fn clone(&self) -> GraphFrontierStats
fn clone(&self) -> GraphFrontierStats
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for GraphFrontierStats
Source§impl Debug for GraphFrontierStats
impl Debug for GraphFrontierStats
Source§impl Default for GraphFrontierStats
impl Default for GraphFrontierStats
Source§fn default() -> GraphFrontierStats
fn default() -> GraphFrontierStats
impl Eq for GraphFrontierStats
Source§impl PartialEq for GraphFrontierStats
impl PartialEq for GraphFrontierStats
Source§fn eq(&self, other: &GraphFrontierStats) -> bool
fn eq(&self, other: &GraphFrontierStats) -> bool
self and other values to be equal, and is used by ==.