pub struct FrontierCounters {
pub edge_visits: u64,
pub levels: u64,
pub endpoints: u64,
pub cells: u64,
pub rearrival_work: u64,
pub memo_hits: u64,
pub memo_misses: u64,
pub representative_proofs: u64,
pub search_proven: u64,
pub search_disproven: u64,
pub declined_exhausted: u64,
}Expand description
The frontier family’s run counters (ADR-0478), one clause’s sum over
its per-seed BFS runs: the edge visits (the work the walk budget
caps), the completed levels, the accepted endpoints, and the NFA
rung’s own PROFILE facts — the (node, state) cells the runs created,
the re-arrival work spent, the rule memo’s hits and misses, and the
admission asks by verdict. Zero on every clause the frontier
declined — levels > 0 is the engagement marker (a run always
completes its level 0).
Fields§
§edge_visits: u64Incident-edge visits across the clause’s frontier runs — the budget’s own work counter.
levels: u64BFS levels completed (level 0 included).
endpoints: u64Endpoints the runs accepted, in arrival order.
cells: u64(node, state) cells the runs created — the pairs that occupied the span×states tables, the BFS’s own memory shape.
rearrival_work: u64Re-arrival rule work spent, summed over the runs — the numerator
of Self::budget_fraction.
memo_hits: u64Rule-memo hits: asks the run’s verdict table answered without a search.
memo_misses: u64Rule-memo misses: asks that ran the bounded search.
representative_proofs: u64Admission asks the representative-chain proof settled — no search.
search_proven: u64Admission asks the bounded search proved (an in-bounds path found).
search_disproven: u64Admission asks the bounded search disproved within its bounds.
declined_exhausted: u64Admission asks the shared work budget cut — the run-time decline’s verdict class (ADR-0516).
Implementations§
Source§impl FrontierCounters
impl FrontierCounters
Sourcepub fn since(self, earlier: FrontierCounters) -> FrontierCounters
pub fn since(self, earlier: FrontierCounters) -> FrontierCounters
The field-wise delta from earlier — the one spelling every
reader uses. The counters only ever increase, so a decrease
is a broken invariant: the subtraction is checked, never a
wrapped or clamped value.
Source§impl FrontierCounters
impl FrontierCounters
Sourcepub fn budget_fraction(&self) -> f64
pub fn budget_fraction(&self) -> f64
The fraction of one run’s re-arrival work budget the clause’s
runs spent: summed Self::rearrival_work over
[REARRIVAL_WORK_BUDGET] — 1.0 on a run the budget cut
mid-search (the work guard drains the budget to exactly zero
before declaring the cut), 0.0 on runs that never asked the
rule. A multi-seed clause sums every run’s spend over the
one-run budget, so the fraction reads as run-equivalents.
Trait Implementations§
Source§impl AddAssign for FrontierCounters
impl AddAssign for FrontierCounters
Source§fn add_assign(&mut self, run: FrontierCounters)
fn add_assign(&mut self, run: FrontierCounters)
+= operation. Read moreSource§impl Clone for FrontierCounters
impl Clone for FrontierCounters
impl Copy for FrontierCounters
Source§impl Debug for FrontierCounters
impl Debug for FrontierCounters
Source§impl Default for FrontierCounters
impl Default for FrontierCounters
impl Eq for FrontierCounters
Source§impl PartialEq for FrontierCounters
impl PartialEq for FrontierCounters
impl StructuralPartialEq for FrontierCounters
Auto Trait Implementations§
impl Forget for FrontierCounters
impl Freeze for FrontierCounters
impl Move for FrontierCounters
impl RefUnwindSafe for FrontierCounters
impl Send for FrontierCounters
impl Sync for FrontierCounters
impl Unpin for FrontierCounters
impl UnsafeUnpin for FrontierCounters
impl UnwindSafe for FrontierCounters
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.