pub struct RowPoolStatistics {
pub total_generated: u64,
pub total_active: u64,
pub peak_active: u64,
pub cuts_active: u64,
pub rows_in_lp_total: u64,
pub rows_in_lp_solve_count: u64,
pub rows_in_lp_max: u64,
pub total_loaded: u64,
}Expand description
Summary statistics for the row pool at the end of a training run.
Carried inside TrainingOutput and written to training/timing/cut_stats.parquet.
Fields§
§total_generated: u64Total number of rows generated over the entire training run.
total_active: u64Number of rows still active in the pool at the end of training.
peak_active: u64Highest number of active rows observed at any point during training.
cuts_active: u64Total rows currently active in the LP.
rows_in_lp_total: u64Sum, over every lazy-selection LP solve in the run, of the resident row
count loaded into that solve (reduced across ranks). With
Self::rows_in_lp_solve_count this gives the mean rows-in-LP per solve.
Zero when no lazy selection ran (the resident-subset solve path was never
taken), letting consumers distinguish “not applicable” from “zero rows”.
rows_in_lp_solve_count: u64Number of lazy-selection LP solves in the run (reduced across ranks); the denominator for the mean rows-in-LP. Zero when no lazy selection ran.
rows_in_lp_max: u64Largest resident row count loaded into any single lazy-selection LP solve over the run (reduced across ranks). Zero when no lazy selection ran.
total_loaded: u64Rows loaded from a boundary policy rather than generated by this run;
a subset of Self::total_generated. Zero when no boundary policy loaded.
Trait Implementations§
Source§impl Clone for RowPoolStatistics
impl Clone for RowPoolStatistics
Source§fn clone(&self) -> RowPoolStatistics
fn clone(&self) -> RowPoolStatistics
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RowPoolStatistics
impl Debug for RowPoolStatistics
Source§impl<'de> Deserialize<'de> for RowPoolStatistics
impl<'de> Deserialize<'de> for RowPoolStatistics
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>,
Source§impl PartialEq for RowPoolStatistics
impl PartialEq for RowPoolStatistics
Source§impl Serialize for RowPoolStatistics
impl Serialize for RowPoolStatistics
impl StructuralPartialEq for RowPoolStatistics
Auto Trait Implementations§
impl Freeze for RowPoolStatistics
impl RefUnwindSafe for RowPoolStatistics
impl Send for RowPoolStatistics
impl Sync for RowPoolStatistics
impl Unpin for RowPoolStatistics
impl UnsafeUnpin for RowPoolStatistics
impl UnwindSafe for RowPoolStatistics
Blanket Implementations§
impl<T> Allocation for T
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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> ⓘ
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> ⓘ
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